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.1.0.tar.gz (8.6 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.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anp_bridge_mcp_server-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e28c45165ad944878d6beccae06acfd1ceabae5ab6a0f13334ec300252bca259
MD5 62e5bed370aeacfc0c104a5a0b8a2f58
BLAKE2b-256 a4a5ef571760778e7e8307809ac02117c9e4c5d390087db9c00e8ef0181ba741

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anp_bridge_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd6778ccc15df11bf33fb7232b229c02af7ff989422485a57d0ee0a49298a2a4
MD5 6e5ba09efad4ee8468f5b3cfd06f4b19
BLAKE2b-256 00480f8d11a6a94e7d68c641bc2749eaf423f1e7c890e8c8bf87ccb357b32a8c

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