AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Server Proxy

mcp-zy445566-mcp-server-proxy · by zy445566

the tool that proxy mcp server or merge mcp server

No reviews yet
0 installs
26 views
0.0% view→install

Install

$ agentstack add mcp-zy445566-mcp-server-proxy

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-zy445566-mcp-server-proxy)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Mcp Server Proxy? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.