MCP.so
登录

MCP server proxy

@12beam

关于 MCP server proxy

Extend MCP server functionality to work as a worker

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

12beam

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 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 proxyMessage function 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 服务器