区块链交互服务器

MultiversX MCP服务器是一个官方区块链交互协议服务器,支持AI代理安全地与MultiversX区块链交互,并通过特定feed使产品能被Google Shopping索引。

  • by multiversx
  • HTML
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 multiversx/mx-mcp-server

使用说明

MultiversX MCP服务器

官方的 模型上下文协议(MCP) MultiversX区块链的服务器。该服务器使AI代理(Claude、Gemini等)能够安全地与区块链交互,并允许Google Shopping通过特定提要对产品进行索引。

🚀 特征

  • 14综合工具:涵盖从账户查询到批量转账和代币发行的所有内容。
  • 中继V3支持:天然气赞助交易的本地支持。
  • 模块化架构:易于扩展或集成到定制代理中。
  • 双模式:通过Stdio(用于桌面代理)或HTTP(用于web服务/Google Shopping提要)运行。

快速启动集成指南

1.安装

git clone https://github.com/multiversx/multiversx-mcp-server.git
cd multiversx-mcp-server
npm install
npm run build

2.配置

创建一个 .env 文件(参见 .env.example):

MVX_NETWORK=devnet
MVX_SIGNING_MODE=signed
MVX_WALLET_PEM=./wallets/my-wallet.pem

3.使用方法

  • MCP 体育:添加到您的MCP客户端配置中(例如。, claude_desktop_config.json).
  • HTTP模式: npm start http -访问Google Feed /feed.json.

🛠 可用工具

类别 工具
账户 get-balance, query-account
转账 send-egld, send-tokens, send-egld-to-multiple, send-tokens-to-multiple
代币 issue-fungible-token, issue-nft-collection, issue-sft-collection, create-nft
高级 create-relayed-v3, track-transaction, search-products

📚 文档

🧪 测试

# Run unit tests
npm test

# Run E2E tests (Playwright)
npx playwright test src/__tests__/e2e