The A2A Registry provides a Model Context Protocol (MCP) server that enables AI assistants like Claude to directly discover and query agents from the registry.
The Model Context Protocol is an open standard that allows AI assistants to securely connect to external data sources and tools. By integrating the A2A Registry MCP server, AI assistants can:
- Discover agents by searching across names, descriptions, and skills
- Filter agents by capabilities, skills, authors, or input/output modes
- Query metadata to understand agent capabilities and requirements
- Access real-time data directly from the live registry
The fastest way to use the MCP server is with uvx (no installation required):
uvx a2a-registry-clientuvx allows you to run the MCP server without installing it globally:
# Run directly with uvx
uvx a2a-registry-clientFor persistent installation:
pip install a2a-registry-client
a2a-registry-clientChoose your tool below for specific setup instructions:
Claude Desktop
The most popular way to use the A2A Registry MCP server.
Configuration File Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Configuration:
{
"mcpServers": {
"a2a-registry": {
"command": "uvx",
"args": ["a2a-registry-client"]
}
}
}After configuration:
- Save the file
- Restart Claude Desktop completely
- Look for the 🔌 icon in Claude to verify MCP servers are loaded
Alternative (if you have it installed):
{
"mcpServers": {
"a2a-registry": {
"command": "a2a-registry-client"
}
}
}Cline (VS Code Extension)
Cline is a popular AI coding assistant for VS Code with MCP support.
Setup:
- Install the Cline extension from VS Code marketplace
- Open VS Code Settings (
Cmd/Ctrl + ,) - Search for "Cline: MCP Settings"
- Click "Edit in settings.json"
- Add the configuration:
{
"cline.mcpServers": {
"a2a-registry": {
"command": "uvx",
"args": ["a2a-registry-client"]
}
}
}- Restart VS Code or reload the Cline extension
Verify: Cline should now be able to query the A2A Registry when you ask about agents.
Zed Editor
Zed is a high-performance code editor with built-in MCP support.
Configuration File Location:
~/.config/zed/settings.json
Configuration:
{
"context_servers": {
"a2a-registry": {
"command": {
"path": "uvx",
"args": ["a2a-registry-client"]
}
}
}
}After configuration:
- Save the settings file
- Restart Zed
- The MCP server should appear in Zed's context menu
Documentation: Zed MCP Documentation
Continue (VS Code Extension)
Continue is an open-source AI code assistant with MCP integration.
Setup:
- Install the Continue extension from VS Code marketplace
- Open Continue settings (click the gear icon in Continue panel)
- Navigate to the MCP section
- Add the server configuration:
{
"mcpServers": {
"a2a-registry": {
"command": "uvx",
"args": ["a2a-registry-client"]
}
}
}- Restart VS Code
Verify: Use Continue's chat to ask about agents in the registry.
Documentation: Continue MCP Setup
Cursor
Cursor is an AI-first code editor with MCP support.
Setup:
- Open Cursor Settings (
Cmd/Ctrl + ,) - Search for "MCP" or navigate to AI/MCP settings
- Add the server configuration:
{
"mcpServers": {
"a2a-registry": {
"command": "uvx",
"args": ["a2a-registry-client"]
}
}
}- Restart Cursor
Note: MCP support in Cursor may be in beta. Check Cursor's documentation for the latest setup instructions.
Smithery (One-Click Install)
Smithery provides one-click installation for MCP servers.
Install:
Click the badge above or visit: https://smithery.ai/server/a2a-registry-client
What Smithery does:
- Automatically configures the MCP server in your chosen tool
- Manages updates and dependencies
- Simplifies installation across multiple IDEs
Note: Package may need to be published to Smithery first
Generic MCP Client / Custom Integration
For custom MCP client implementations or other tools not listed above.
Command:
uvx a2a-registry-clientOr if installed via pip:
a2a-registry-clientConfiguration Pattern (JSON):
{
"mcpServers": {
"a2a-registry": {
"command": "uvx",
"args": ["a2a-registry-client"]
}
}
}Technical Details:
- Protocol: MCP Specification
- Transport: stdio (standard input/output)
- Server name:
A2A Registry - Language: Python 3.10+
Testing: Use the MCP Inspector to test the server:
npx @modelcontextprotocol/inspector uvx a2a-registry-clientOnce configured, AI assistants can use the following tools:
-
search_agents(query: str)- Full-text search across agent names, descriptions, and skills
- Example:
search_agents("weather forecast")
-
list_all_agents()- Retrieve all agents in the registry
- Returns complete agent metadata
-
get_agent(agent_id: str)- Get detailed information about a specific agent
- Example:
get_agent("weather-bot")
-
find_by_capability(capability: str)- Find agents with specific A2A capabilities
- Examples:
streaming,pushNotifications,stateTransitionHistory
-
find_by_skill(skill_id: str)- Find agents offering a particular skill
- Example:
find_by_skill("weather-forecast")
-
find_by_author(author: str)- Find all agents created by a specific author
- Example:
find_by_author("Weather Services Inc")
-
find_by_input_mode(input_mode: str)- Find agents supporting a specific input MIME type
- Examples:
text/plain,image/jpeg,audio/mpeg
-
find_by_output_mode(output_mode: str)- Find agents supporting a specific output MIME type
- Examples:
application/json,text/plain,image/png
-
filter_agents(skills, capabilities, input_modes, output_modes, authors, tags, protocol_version)- Advanced multi-criteria filtering (AND logic)
- All parameters are optional lists/strings
get_code_snippets(agent_id: str, snippet_type: str = "all")- Get ready-to-use Python code snippets for connecting to and using an agent
- Snippet types:
integrated(recommended),registry,a2a_official,search,advanced,all - Includes installation instructions and documentation links
- Example:
get_code_snippets("chess-agent", "integrated")
-
get_registry_stats()- Get registry statistics (total agents, capabilities, skills, etc.)
-
list_capabilities()- List all A2A protocol capabilities available in the registry
-
refresh_registry()- Force refresh the registry cache to get latest data
Once configured in Claude Desktop or other MCP clients, you can ask:
Discovery & Search:
"Find agents that support streaming"
"Search for chess-playing agents"
"Show me all agents by Weather Services Inc"
"Which agents support JSON output?"
"What are the registry statistics?"
"Find agents with weather-forecast skill"
Code Generation (NEW!):
"Show me how to connect to the chess-agent"
"Give me code to use the weather agent"
"How do I invoke the planning agent?"
"I want to use the data-agent in my Python project"
The AI assistant will automatically call the appropriate MCP tools and present the results.
The MCP server caches registry data for 5 minutes to optimize performance. You can:
- Wait for automatic cache refresh (every 5 minutes)
- Use the
refresh_registry()tool to force an immediate refresh - Restart the MCP server for a clean cache
# Clone the repository
git clone https://github.com/prassanna-ravishankar/a2a-registry.git
cd a2a-registry/client-python
# Run with uv
uv run a2a-registry-client
# Or install in editable mode
pip install -e .
a2a-registry-clientTo test the MCP server manually:
# Start the server
uvx a2a-registry-client
# The server will wait for MCP protocol messages on stdin
# You can test using the MCP Inspector or custom MCP client- Python 3.10 or higher
uvx(part of theuvpackage) orpipfor installation
- Ensure Python 3.10+ is installed:
python --version - Try installing directly:
pip install a2a-registry-client - Check for conflicting Python environments
- Verify the config file location and syntax
- Restart Claude Desktop completely
- Check Claude Desktop logs for errors
- Use
refresh_registry()to update the cache - Verify internet connectivity (server needs to fetch from a2aregistry.org)
- Check the registry status
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Website: a2aregistry.org