MCP A2a Gateway MCP Server

A gateway server that bridges the Model Context Protocol (MCP) with the Agent-to-Agent (A2A) protocol, enabling MCP-compatible AI assistants (like

Local serverstdioPython

What is the MCP A2a Gateway MCP server?

If you want an AI assistant working directly with MCP A2a Gateway, the mcp a2a gateway mcp server is the bridge. A gateway server that bridges the Model Context Protocol (MCP) with the Agent-to-Agent (A2A) protocol, enabling MCP-compatible AI assistants (like Claude) to seamlessly interact with A2A agents.

What MCP A2a Gateway does

A gateway server that bridges the Model Context Protocol (MCP) with the Agent-to-Agent (A2A) protocol, enabling MCP-compatible AI assistants (like Claude) to seamlessly interact with A2A agents.

This project serves as an integration layer between two cutting-edge AI agent protocols:

Key capabilities

  • Agent Management —
  • Register A2A agents with the bridge server
  • List all registered agents
  • Unregister agents when no longer needed
  • Communication —
  • Send messages to A2A agents and receive responses
  • Asynchronous message sending for immediate server response
  • Stream responses from A2A agents in real-time

Tools it exposes

Once connected, the assistant can call this tool directly:

  • Demo — The Demo tool exposed by this server

Installing the mcp a2a gateway mcp server

The server is distributed via PyPI as mcp-a2a-gateway, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 3 environment variables: MCP_TRANSPORT, MCP_DATA_DIR, PYPI_API_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

Before you begin, ensure you have the following installed: - Python 3.11+ - uv (for local development)

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP A2a Gateway sits in that group, and the shape of its toolset — Demo — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by yw0nam, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp a2a gateway mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
DemoThe Demo tool exposed by this server.

How to install the MCP A2a Gateway MCP server

{
  "mcpServers": {
    "a2a-gateway": {
      "command": "uvx",
      "args": ["mcp-a2a-gateway"],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "MCP_DATA_DIR": "your-value",
        "PYPI_API_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Before you begin, ensure you have the following installed: - Python 3.11+ - uv (for local development)

VariableDescriptionRequired
MCP_TRANSPORTConfiguration value read at startup.Optional
MCP_DATA_DIRFilesystem location the server is allowed to use.Optional
PYPI_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP A2a Gateway to Demo.

Frequently asked questions

It connects MCP A2a Gateway to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (Demo) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP A2a Gateway directly.