xMCP
xMCP is a streamable HTTP MCP server that proxies requests to stdio MCP servers.
Documentation
xMCP Server
xMCP is a streamable HTTP MCP server that proxies requests to stdio MCP servers.
There are already multiple proxy MCP servers out there, but none of them solve the following problem:
> *What if the stdio MCP server I'd like to use uses a command that is not available in my system?*
The answer is to use `xMCP`!
How it works
Consider the following example:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
}This command will only work if you have `npx` installed.
To use this MCP server, transform it to the following:
http://localhost:3001/mcp?name=context7&command=npx&args=-y,@upstash/context7-mcpBy sending this request over the network, you'll be able to use the stdio `context7` MCP server over the network.
Why does it work?
`xMCP` is running inside a container with the most common commands preinstalled. Add whatever you need to the container and you're good to go! (And consider creating a PR if you think others would also benefit from it.)
Available commands
- `npx`
- `bunx`
- `uv`
- `docker`
How to use
Local Development
docker compose up -d
# or
make startServer is running on `http://localhost:3001/mcp`.
Inspector is running on `http://localhost:6274`, however, it requires a token to be set in the URL.
Execute `make logs`, get the URL with the auth token and open it.
Frequently asked questions
What is xMCP?
xMCP is xMCP is a streamable HTTP MCP server that proxies requests to stdio MCP servers.
How do I install xMCP?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is xMCP open source?
Yes — it is hosted on GitHub at https://github.com/kovrichard/xMCP and has 2 stars.
Related MCP tools
Model Context Protocol Servers
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
MCP server to provide Figma layout information to AI coding agents like Cursor
The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Instant is the best backend for AI-coded apps. You get auth, permissions, storage, presence, and streams — everything you need to ship apps your users will love.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP