Skip to main content
Glama

MCP2ANP Bridge Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ANP_TIMEOUTNoHTTP request timeout in seconds
ANP_LOG_LEVELNoLog level (DEBUG, INFO, WARNING, ERROR)INFO
ANP_MAX_RETRIESNoMaximum number of retries

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
anp.setAuth

设置 DID 认证上下文。使用本地 DID 文档和私钥文件建立认证,后续的 fetchDoc 和 invokeOpenRPC 调用将自动使用这些凭证。

anp.fetchDoc

抓取并解析 ANP 文档,提取可跟进的链接。这是访问 ANP 生态系统中 URL 的唯一允许方法。返回文档内容、类型信息和发现的链接。

anp.invokeOpenRPC

使用 JSON-RPC 2.0 协议调用 OpenRPC 端点上的方法。此工具处理与暴露 OpenRPC 接口的 ANP 智能体的结构化交互。

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agent-network-protocol/mcp2anp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server