Back to MCP directory
publicPublicdnsLocal runtime

mcpserver

一个Node.js服务器,作为MCP层连接应用、Claude AI和IssueBadge API,用于发送徽章证书。

article

README

🚀 🧠 IssueBadge MCP Server (Node.js)

这个基于Node.js的服务器在你的应用程序(插件、集成开发环境、游戏等)、Claude AI和IssueBadge API之间充当“模型上下文协议”(MCP)层。它为各类应用与Claude AI及IssueBadge API的交互提供了便捷的通道,有效简化了数据传输和处理流程。

🚀 快速开始

安装与启动

npm install
npm start

✨ 主要特性

  • 接受对/sendBadge的POST请求。
  • 可选择包含Claude生成的消息(或使用默认消息)。
  • 通过IssueBadge API发送证书。
  • 将结果返回给客户端。

💻 使用示例

基础用法

请求示例

/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许可证。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client