DeSo MCP服务器是为Cursor IDE设计的模型上下文协议(MCP)服务器,提供完整的DeSo区块链API覆盖。它将Cursor的AI助手转变为一个拥有广泛DeSo API知识的开发专家,包括deso-js SDK、DeSo身份认证、后端实现细节、生产就绪代码生成以及全面的调试解决方案。
routes/transaction.go和其他后端文件# 克隆仓库
git clone <your-repo-url>
cd deso-mcp
# 安装依赖
npm install
# 验证MCP服务器是否工作
npm run test
# 使用npm脚本进行快速测试
npm run test # 测试工具列表
npm run test-follow # 测试follow端点并附带代码
# 手动运行服务器
node deso-mcp.js
# 手动测试特定工具
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "deso_api_explorer", "arguments": {"category": "social"}}}' | node deso-mcp.js