返回市场
艾克森-mcp

艾克森-mcp

作者:axone-protocol2 星标更新:2025-11-24

项目介绍

axone-mcp

🤖 AxoneMCP 服务器 – 用于AI工具的数据宇宙网关

<!-- 协议兼容性 -->

MCP协议 Smithery

<!-- 持续集成与持续部署 -->

版本 代码检查 构建 测试 Codecov

<!-- 规范 -->

常规提交 语义化发布

<!-- 社区与许可 -->

贡献者公约 许可

Axone的MCP服务器

AxoneMCP 服务器是一个轻量级实现,通过标准化的模型上下文协议暴露Axone的能力。

flowchart LR
    classDef actor stroke:#808
    classDef system stroke:#0ff
    classDef resource stroke:#f00

    actor:::actor@{ shape: stadium, label: "具有MCP客户端的主机<br>(Claude, IDEs, 工具)" }
    mcpServer:::system@{ shape: rounded, label: "Axone<br>MCP服务器" }
    axone:::system@{ shape: das, label: "🔗 Axone链" }

    actor -- 查询 --> mcpServer

    mcpServer -. 查询 .-> axone

可用工具

get_resource_governance_code

获取附加到给定资源的治理代码(如果有)。

输入模式

{
  "dataverse": {
    "type": "string",
    "description": "数据宇宙合约的地址"
  },
  "resource": {
    "type": "string",
    "description": "资源的DID URI"
  }
}

安装

获取最新发行版,并将其放置在您的$PATH中或易于访问的位置。

使用Claude

在您的 claude_desktop_config.json Claude Desktop 配置文件中添加以下内容:

{
  "mcpServers": {
    "axone": {
      "command": "axone-mcp",
      "args": [
        "serve",
        "stdio",
        "--node-grpc",
        "grpc.dentrite.axone.xyz:443"
      ]
    }
  }
}

标志:

  • --node-grpc: 要连接的Axone节点的gRPC端点。

使用SSE传输运行

axone-mcp serve sse --listen-addr localhost:8080 --node-grpc grpc.dentrite.axone.xyz:443

使用STDIO传输运行

axone-mcp serve stdio --node-grpc grpc.dentrite.axone.xyz:443

构建

  • 确保已安装 Golang
  • 如果要使用Makefile,请安装 Docker
make build