Report Abuse

Basic Information

MCP Agent Proxy is a lightweight MCP server and runtime that lets any MCP client connect to and use agents hosted on heterogeneous agent servers. It exposes agent interactions as simple MCP tools so clients do not need bespoke protocols for each agent framework. The project explicitly supports Mastra and LangGraph servers and provides a plugin architecture to add other server types. The proxy can be launched via npx or run from source and is configured with environment variables or MCP client configuration. It automatically detects server types and transport capabilities, supports multiple transports including stdio, streamable HTTP and legacy SSE, and implements the MCP 2025-03-26 specification to ensure protocol compliance. It is intended to enable dynamic discovery, routing and orchestration across distributed agent networks with minimal configuration.

Links

Categorization

App Details

Features
Provides five composable MCP tools for cross-server orchestration: listAgents to discover agents, describeAgent to inspect capabilities, callAgent to execute agents with conflict resolution, connectServer to add servers at runtime and disconnectServer to remove them. Supports Mastra and LangGraph servers out of the box and offers a plugin system for extensibility. Multi-transport support includes stdio, streamable HTTP and legacy SSE with automatic transport detection. Configuration via AGENT_SERVERS, MCP_SERVER_PORT and MCP_TRANSPORT environment variables. Includes ready-to-use examples and configuration files in an examples directory, comprehensive validation workflows, unit and integration tests, and developer scripts for build, test, lint and format.
Use Cases
The proxy simplifies integrating diverse agent ecosystems into a single MCP client experience by abstracting connection, discovery and invocation of remote agents. Teams can connect cloud and local servers with one configuration line, dynamically expand networks by adding servers at runtime, and route requests intelligently using agent capability descriptions and conflict resolution. It reduces the protocol and integration burden when combining Mastra and LangGraph instances or other agent platforms, enables recursive network topologies where servers can act as clients, and helps maintain reliability through extensive test coverage and validation workflows. Built-in troubleshooting tips, debug modes and CI checks improve developer productivity and production readiness.

Please fill the required fields*