Skip to main content

MCP Server bridging the Agent Network Protocol (ANP) with MCP agents — identity, discovery, messaging

Project description

ANP Bridge MCP Server

PyPI version License: MIT Python 3.10+

The first MCP bridge for the Agent Network Protocol (ANP) — connect MCP-powered AI agents to the decentralized "Agent Web".

What is ANP?

Agent Network Protocol (ANP) is an emerging open standard for decentralized agent-to-agent communication. It uses DIDs (Decentralized Identifiers) for identity and .well-known/agent.json for discovery — enabling a permissionless, cryptographically secure web of AI agents.

Features

Tool Description
resolve_agent_did Resolve any DID (did:web, did:key, did:ethr) via Universal Resolver
fetch_agent_wellknown Fetch an agent's capabilities from .well-known/agent.json
discover_anp_agents Search for ANP-compatible agents in the network
create_anp_agent_profile Generate a compliant ANP Agent Card / Profile
format_anp_message Create ANP-formatted messages for agent-to-agent communication
validate_anp_message Validate ANP messages for spec compliance
compare_agent_protocols Compare agent protocols: ANP, A2A, MCP, ACP, AGNTCY, AGP, UTCP

Installation

pip install anp-bridge-mcp-server

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "anp-bridge": {
      "command": "anp-bridge-mcp-server"
    }
  }
}

Example Usage

# Discover ANP-compatible agents
discover_anp_agents(capability="text-generation")

# Resolve a DID
resolve_agent_did("did:web:example.com")

# Create an agent profile
create_anp_agent_profile(
    name="My AI Agent",
    description="A helpful AI assistant",
    capabilities=["text-generation", "tool-use"],
    endpoint="https://my-agent.example.com"
)

# Format a message
format_anp_message(
    sender_did="did:web:my-agent.com",
    receiver_did="did:web:other-agent.com",
    content="Hello, I need help with a task",
    message_type="task"
)

# Compare protocols
compare_agent_protocols("ANP", "A2A")

Agent Protocol Landscape (2026)

This server covers 7 competing agent protocols:

  • ANP — Decentralized, DID-based (Agent Network Protocol)
  • A2A — Google's Agent-to-Agent Protocol
  • MCP — Anthropic's Model Context Protocol (now AAIF/Linux Foundation)
  • ACP — IBM's Agent Communication Protocol
  • AGNTCY — Cisco's enterprise protocol (75+ companies)
  • AGP — Cisco's Agent Gateway Protocol (gRPC)
  • UTCP — Universal Tool Calling Protocol

Related Servers

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anp_bridge_mcp_server-0.2.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anp_bridge_mcp_server-0.2.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file anp_bridge_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: anp_bridge_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for anp_bridge_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 54e3cd201d9ea77a23b42dfaf454ffb80592036a4c7152320e65c887ef420e1f
MD5 99db95cbcccb876535bc5a0bb41c66f4
BLAKE2b-256 dec1defac42ac49a342d7e3c2170132be1dcc7c657f591e4642637257f508998

See more details on using hashes here.

File details

Details for the file anp_bridge_mcp_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anp_bridge_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3925a784f214f9cb2101fbe1e49b0470d7a9488bb4aa1369168e79ee61983c9b
MD5 629bd2e72c70d57f3f90b1a2155b2262
BLAKE2b-256 84832a6dae0f12d7e004960efe3117bd81b23cccc24397853c463e9c958f0ff3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page