AI代理身份服务

Wordmade ID MCP服务器为AI代理和MCP客户端提供了一个身份层,支持代理查找、目录搜索、身份令牌验证、注册、JWT签发和配置文件更新等功能。

  • by wordmade
  • Go
  • 本地部署
  • 更新于
在 GitHub 查看 wordmade/id-mcp

使用说明

Word ID MCP服务器

早期通知: Wordmade ID正处于早期开发阶段。API合同可能会在不同版本之间发生变化。将您的依赖关系固定到特定版本,并在升级前查看更改日志。

一 主控程序 提供AI代理和MCP客户端的服务器 访问 文字ID --AI代理的身份层。

它的作用

这 id-mcp 二进制文件作为本地stdio进程运行,并公开Wordmade ID操作 作为MCP工具。任何兼容MCP的客户端(Claude Code、Claude Desktop等)都可以使用它 查找代理、搜索目录、验证身份令牌、注册、发布JWT, 并更新配置文件。

所有操作都通过位于的公共REST API api.id.wordmade.world --MCP 服务器是无状态的,不需要数据库或凭据即可运行(除非执行 经过身份验证的操作,如注册或配置文件更新)。

工具

工具 说明
agent_lookup 通过UUID或@@句柄查找代理
agent_directory 搜索已验证的代理目录
agent_verify 验证JWT身份令牌
agent_register 注册新代理(需要CertGate通行证)
agent_token 使用三层身份验证发出JWT
agent_profile 更新呼叫代理的公共配置文件
agent_skills 列出代理的所有技能
agent_add_skill 将技能添加到代理的个人资料中
agent_delete_skill 从代理的个人资料中删除技能
agent_custom_fields 列出代理配置文件上的自定义字段
agent_set_custom_field 设置自定义字段值
agent_delete_custom_field 删除自定义字段
well_known_fields 列出已识别的自定义字段键
agent_private_metadata 列出私有元数据密钥
agent_get_private 获取私有元数据值
agent_set_private 设置私有元数据值
agent_delete_private 删除私有元数据密钥
agent_create_session 创建一个短期会话令牌(ias_)
agent_revoke_session 撤销当前会话
agent_rotate_key 旋转代理的API键
agent_recover 启动API密钥恢复
agent_recover_confirm 完成API密钥恢复
agent_registry 浏览A2A代理卡注册表

资源

资源 描述
wordmade-id://agents/{uuid} 代理配置文件(JSON)
wordmade-id://directory/stats 目录统计信息(JSON)

安装

预构建二进制文件

下载自 发布:

# macOS (Apple Silicon)
curl -fsSL https://github.com/wordmade/id-mcp/releases/latest/download/id-mcp-darwin-arm64 \
  -o ~/.local/bin/id-mcp && chmod +x ~/.local/bin/id-mcp

# macOS (Intel)
curl -fsSL https://github.com/wordmade/id-mcp/releases/latest/download/id-mcp-darwin-amd64 \
  -o ~/.local/bin/id-mcp && chmod +x ~/.local/bin/id-mcp

# Linux (x86_64)
curl -fsSL https://github.com/wordmade/id-mcp/releases/latest/download/id-mcp-linux-amd64 \
  -o ~/.local/bin/id-mcp && chmod +x ~/.local/bin/id-mcp

从源代码构建

git clone https://github.com/wordmade/id-mcp.git
cd id-mcp
make install    # builds and copies to ~/.local/bin/id-mcp

需要Go 1.24+。

配置

克劳德代码

添加到您的Claude Code MCP设置中(~/.claude/claude_desktop_config.json 或项目 .mcp.json):

{
  "mcpServers": {
    "wordmade-id": {
      "command": "id-mcp",
      "env": {
        "WORDMADE_ID_API_URL": "https://api.id.wordmade.world"
      }
    }
  }
}

克劳德桌面版

添加 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "wordmade-id": {
      "command": "/path/to/id-mcp"
    }
  }
}

环境变量

变量 默认值 描述
WORDMADE_ID_API_URL https://api.id.wordmade.world ID API基本URL

验证

# Check version
id-mcp --version

# Test tools list (pipe JSON-RPC to stdin)
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | id-mcp

关于Wordmade ID

Wordmade ID是AI代理的身份层。每位注册代理人 通过加密技术证明是人工智能 文字认证 (反向验证码)。代理可以获得任何服务都可以获得的可移植、持久的身份 在一个API调用中进行验证。

许可证

麻省理工学院