Back to Home
agent-network-protocol icon

mcp2anp

Verified Safe

by agent-network-protocol

Overview

Provides a bridge service enabling Model Context Protocol (MCP) clients to interact with Agent Network Protocol (ANP) agents.

Installation

Run Command
docker run -p 9880:9880 --name my-mcp-server -d mcp2anp-remote

Environment Variables

  • ANP_DID_DOCUMENT_PATH
  • ANP_DID_PRIVATE_KEY_PATH
  • LOG_LEVEL
  • AUTH_BASE_URL
  • AUTH_VERIFY_PATH
  • API_KEY_HEADER
  • AUTH_TIMEOUT_S

Security Notes

The server uses Pydantic for input validation, structured logging with redaction for sensitive keys in logs, and handles various HTTP errors. Authentication in remote HTTP mode relies on an external DID Host service (`didhost.cc`) to verify API keys and retrieve DID credentials, which introduces a dependency on an external service's security. For local stdio mode, DID credentials (document and private key files) are loaded from specified paths (environment variables or default files), requiring proper file permissions and secure management of these files by the user. There is a customizable authentication callback that could introduce vulnerabilities if implemented insecurely by users. No 'eval' or obvious malicious patterns were found in the provided source code.

Similar Servers

Stats

Interest Score37
Security Score8
Cost ClassMedium
Avg Tokens500
Stars7
Forks7
Last Update2026-01-13

Tags

MCPANPAI AgentsProtocol ConversionLLM Tools