Install
$ agentstack add mcp-zy445566-mcp-server-proxy ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
mcp-server-proxy
A Node.js library for proxying and merging Model Context Protocol (MCP) servers.
Installation
npm install mcp-server-proxy
Features
- Proxy MCP server requests to another MCP server
- Merge multiple MCP servers into a single endpoint
- Automatically register tools, resources, and prompts from source servers
Usage
Basic Example
import { proxyMcp } from 'mcp-server-proxy';
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
async function main() {
// Create a new MCP server
const server = new McpServer({
name: "mcp-proxy-server",
version: "1.0.0",
})
// Add mcp sse url to proxy
const sseClientTransport = new SSEClientTransport(new URL("http://your-mcp-sse-url/sse"))
await proxyMcp(server, sseClientTransport)
// Add stdio mcp server to proxy
const stdioClientTransport = new StdioClientTransport({
command:"node",
args: ["dist/example.js"],
})
await proxyMcp(server, stdioClientTransport)
// Add streamable http mcp server to proxy
const streamableHTTPClientTransport = new StreamableHTTPClientTransport(new URL("http://your-mcp-http-url"))
await proxyMcp(server, streamableHTTPClientTransport)
// Start the proxy server example as a stdio transport
const stdioServerTransport = new StdioServerTransport()
server.connect(stdioServerTransport)
console.error("MCP Proxy Server running on stdio");
}
main().catch(console.error);
API Reference
proxyMcp(mcpServer, proxyTransport, proxyOptions?)
Registers all tools, resources, and prompts from a source MCP server to your target MCP server.
- mcpServer: The target MCP server instance
- proxyTransport: ClientTransport to connect to the source MCP server
- proxyOptions: Optional request options for the connection
Returns: Promise resolving to the updated MCP server
License
MIT
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: zy445566
- Source: zy445566/mcp-server-proxy
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.