DeSo区块链开发助手

DeSo MCP Server 是一个专为Cursor IDE设计的模型上下文协议(MCP)服务器,提供完整的DeSo区块链API覆盖。它将Cursor的AI助手转变为DeSo开发专家,具备全面的DeSo API知识、deso-js SDK使用指南、DeSo Identity认证、后端实现细节、生产级代码生成以及全面的调试解决方案。

  • by deso-protocol
  • 3 星标
  • 更新于
在 GitHub 查看 deso-protocol/deso-mcp

使用说明

产品定位

DeSo MCP Server 是一个专为Cursor IDE设计的模型上下文协议(MCP)服务器,提供完整的DeSo区块链API覆盖。它将Cursor的AI助手转变为DeSo开发专家,具备全面的DeSo API知识、deso-js SDK使用指南、DeSo Identity认证、后端实现细节、生产级代码生成以及全面的调试解决方案。

核心功能

  • 完整的DeSo API知识:包括所有后端端点及其处理细节
  • deso-js SDK专家指南:完整的SDK文档和使用模式
  • 代码生成:支持JavaScript、TypeScript、React和cURL的生产级代码示例
  • 架构指导:深入理解DeSo的交易流程和系统
  • 后端集成:直接映射到routes/transaction.go和其他后端文件
  • UI组件库:40+专业的React组件用于DeSo应用
  • 组件安装:自动化的shadcn CLI命令和依赖管理
  • GraphQL查询构建器:将自然语言问题转换为优化的GraphQL查询
  • 区块链数据浏览器:完全访问DeSo的GraphQL API
  • 调试解决方案:常见DeSo集成问题的实际修复方案
  • 最佳实践:来自生产DeSo应用的实现模式

适用场景

  • DeSo API探索:查询所有DeSo身份验证端点
  • 代码生成:生成React身份验证组件与DeSo Identity
  • UI组件开发:展示所有可用的DeSo UI社交组件
  • GraphQL数据查询:将问题转换为GraphQL查询
  • 调试与故障排除:帮助调试DeSo消息解密问题
  • 实现模式:展示DeSo消息流架构的最佳实践
  • 设置与配置:如何在React应用中设置deso-js SDK

使用教程

使用依赖

  • Node.js (v18+ recommended)
  • Cursor IDE
  • Git (for cloning repositories)

安装教程

# Clone the repository
git clone <your-repo-url>
cd deso-mcp

# Install dependencies
npm install

# Verify the MCP server works
npm run test

调试方式

# Quick tests using npm scripts
npm run test              # Test tools list
npm run test-follow       # Test follow endpoint with code

# Run the server manually
node deso-mcp.js

# Test specific tools manually
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "deso_api_explorer", "arguments": {"category": "social"}}}' | node deso-mcp.js