MCP server proxy
@12beam
关于 MCP server proxy
Extend MCP server functionality to work as a worker
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP server proxy?
MCP server proxy is a lightweight utility that provides the proxyMessage function to forward messages to an existing MCP server. It is designed for developers using MCP in serverless environments, such as Cloudflare Workers, and works with standard MCP Server instances from the Model Context Protocol SDK.
How to use MCP server proxy?
Install the @contextdepot/mcp-proxy package, import the proxyMessage function, create an MCP Server instance, then call proxyMessage(server, requestMessage) inside a message handler. Configuration follows the usual MCP server setup; the example shows a Cloudflare Worker entrypoint that delegates incoming requests to the proxy.
Key features of MCP server proxy
- Provides the
proxyMessagefunction for forwarding MCP messages. - Integrates seamlessly with standard MCP Server instances.
- Shown in a Cloudflare Worker (WorkerEntrypoint) example.
- Lightweight and focused solely on message proxying.
Use cases of MCP server proxy
- Forwarding MCP messages from a serverless endpoint to an existing MCP server.
- Adding a proxy layer to inspect, log, or route MCP requests.
- Running MCP servers behind Cloudflare Workers for edge-based logic.
FAQ from MCP server proxy
What dependencies does MCP server proxy require?
It expects an MCP Server instance (from the @modelcontextprotocol/sdk) and is used with the @contextdepot/mcp-proxy package.
What runtime environment does it target?
The example uses WorkerEntrypoint from Cloudflare Workers, but the proxyMessage function itself may work in any JavaScript runtime that supports the SDK.
Does it modify or validate the forwarded message?
No—the README only describes passing the message unchanged via proxyMessage. Any custom logic must be added before or after the call.
开发工具 分类下的更多 MCP 服务器
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
test
prysmaticlabsGo implementation of Ethereum proof of stake
MCP Framework
QuantGeekDevThe Typescript MCP Framework
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
评论