SuperAPIAI Directory

Remote-MCP

github.com · AI developer platforms

Remote-MCP is a type-safe solution for remote MCP (Model Context Protocol) communication, developed by ssut and open-sourced on GitHub. It provides bidirectional, concise remote communication capabilities, allowing local MCP clients to connect to remote MCP servers, thereby enabling remote access to and centralized management of model context. The project includes two core packages, @remote-mcp/client and @remote-mcp/server: the client library can run as a local MCP server and connect to a remote implementation, while the server library is used to create remotely accessible MCP services. It supports basic MCP commands, tools, and Prompt capabilities, and provides mechanisms such as custom HTTP headers, authentication middleware, basic middleware, and basic error handling, while also planning to support a full event subscription system (resource change, tool/prompt list change notifications), crash-safe handling, and more. The project also provides implementation examples such as Cloudflare Workers and standalone Node.js, and includes a Nest.js integration package. This library is a supplementary extension to the official MCP specification and is not part of the official specification. It is licensed under the MIT License. The project is currently in active development and is experimental, and breaking changes may occur.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Remote-MCP is a type-safe solution for remote MCP (Model Context Protocol) communication, with the goal of enabling local MCP clients to remotely access and centrally manage model context.

Purpose The official MCP roadmap plans to support remote MCP in the first quarter of 2025, but the author believed that the need for remote access already exists today, so he created this library to fill this gap: before the official implementation arrives, allow users to connect from local MCP clients to remote MCP servers right now. The author emphasizes that the project does not aim for complexity or over-engineering, but instead targets being usable now.

Main capabilities

  • Type-safe client/server communication.
  • Basic MCP command support, basic MCP tool support, basic MCP Prompt support.
  • HTTP header support: custom headers, authentication middleware.
  • Basic error handling improvements, basic middleware support.
  • Framework support: Nest.js integration (@remote-mcp/nestjs).
  • Planned capabilities: crash-safe handling (WIP, highest priority), full event subscription system (resource change notifications, tool/prompt list change notifications), advanced features (server-to-client bidirectional communication requests, resource sharing between server and client), basic monitoring and logging.

Usage The project provides two core packages:

  • @remote-mcp/client: the client library, which runs as a local MCP server and connects to a remote implementation.
  • @remote-mcp/server: the server library, used to create remotely accessible MCP services (used as a remote implementation). When using the published packages, the corresponding code can be placed into the MCP client settings (the official example uses Claude). Users can also write their own local MCP server, or write their own remote MCP server after running npm install @remote-mcp/server. Examples are provided in the examples directory, including two implementations: Cloudflare Workers and standalone Node.js.

Use cases Suitable for developers who need to implement local MCP clients connecting to remote MCP servers and centrally manage model context before official remote MCP support lands; also suitable for those who want to build remote MCP communication in a type-safe way and integrate MCP capabilities into Nest.js applications.project.

Limitations

  • The project is currently in active development and is an experimental project, and may have breaking changes and potential issues.
  • Capabilities such as crash-safe handling and a complete event subscription system are still planned or in progress (WIP).
  • This library is a supplementary extension built on top of existing MCP concepts and is not part of the official MCP specification.
  • The project uses the MIT License, contributions are welcome, see CONTRIBUTING.md for details.

Other facts (such as specific version numbers, pricing, platform support scope, detailed steps beyond installation, etc.) are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools