这个基于Node.js的服务器在你的应用程序(插件、集成开发环境、游戏等)、Claude AI和IssueBadge API之间充当“模型上下文协议”(MCP)层。它为各类应用与Claude AI及IssueBadge API的交互提供了便捷的通道,有效简化了数据传输和处理流程。
npm install
npm start
/sendBadge的POST请求。向/sendBadge发送POST请求,示例请求体如下:
{
"name": "John Doe",
"email": "john@example.com",
"badge_id": "W238GD8PK",
"api_key": "your_issuebadge_api_key",
"claude_message": "Claude's custom message here"
}
{
"success": true,
"message": "Badge sent successfully",
"claude_output": "...",
"response": { ... }
}
⚠️ 重要提示
你需要负责安全地管理API密钥。
💡 使用建议
若要集成Claude,需单独调用其API,并将输出包含在
claude_message中。
本项目采用MIT许可证。