Skip to main content
Glama

MCP2ANP Bridge Server

anp.setAuth

Set up authentication for ANP agent communication by providing DID document and private key files, enabling secure document fetching and method invocation.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
did_document_pathYesDID 文档 JSON 文件的路径
did_private_key_pathYesDID 私钥 PEM 文件的路径

Input Schema (JSON Schema)

{ "properties": { "did_document_path": { "description": "DID 文档 JSON 文件的路径", "type": "string" }, "did_private_key_path": { "description": "DID 私钥 PEM 文件的路径", "type": "string" } }, "required": [ "did_document_path", "did_private_key_path" ], "type": "object" }

Other Tools from MCP2ANP Bridge Server

Related Tools

    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