xMCP Server
A streamable HTTP MCP server that proxies requests to stdio MCP servers within a container, providing a consistent command environment.
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-mcp
By 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 start
Server 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.
Related Servers
Devvit
A companion server for building applications on Reddit's developer platform.
Bash MCP Server
Execute bash commands on the host machine.
shadow-cljs
Monitors shadow-cljs builds and provides real-time build status updates.
MCP LSP Go
An MCP server that connects AI assistants to Go's Language Server Protocol (LSP) for advanced code analysis.
OpenFGA
An MCP server for managing authorization models with OpenFGA, an open-source authorization system.
Atla
Enable AI agents to interact with the Atla API for state-of-the-art LLMJ evaluation.
OriginUI MCP Server
Search and install OriginUI components, with details fetched dynamically from the OriginUI JSON registry.
MCP Servers Collection
A collection of MCP servers for Claude Desktop, providing access to network tools, code linters, and Proxmox virtualization management.
Aptos NPM MCP
A MCP server for interacting with Aptos NPM packages.
Bucket
Flag features, manage company data, and control feature access using Bucket.