#proxy #mcp #agp #agp-mcp-proxy

app agp-mcp-proxy

Proxy for exposing a native MCP server over AGP

3 releases

Uses new Rust 2024

new 0.1.2 May 6, 2025
0.1.1 May 6, 2025
0.1.0 May 5, 2025

#1540 in Network programming

43 downloads per month

Apache-2.0

37KB
306 lines

AGP-MCP proxy

This proxy enables connecting existing MCP servers that use the SSE transport to the AGP network. The proxy is capable of receiving messages from an application running on top of AGP and forwarding them to the SSE server (and vice versa).

How to run the code

You can use the commands provided in the Taskfile to run the client and server located in the example folder.

Run the AGP node

To run the AGP node, use the following command:

task mcp-proxy:run-agp

Run the AGP-MCP proxy

To run the AGP-MCP proxy, use the following command:

task mcp-proxy:run-mcp-proxy

Run the MCP Server

To run the MCP server example, use the following command:

task mcp-proxy:run-mcp-server

The MPC server will start listening on port 8000

Run the MCP Client

To run the MCP client example, use the following command:

task mcp-proxy:run-mcp-client

The client uses the AGP transport, so it will connect to the AGP node and communicate with the MCP server through the proxy.

Dependencies

~100MB
~2.5M SLoC