GitHub Kanban MCP Server
镜像
📋 概述
GitHub Kanban MCP 服务器是一个用于以看板形式管理 GitHub issues 并通过 LLM 提高任务管理效率的工具。
🚀 快速开始
安装
# 安装包
npm install @sunwood-ai-labs/github-kanban-mcp-server
# 设置 GitHub 认证
gh auth login
MCP 配置
将以下内容添加到您的 MCP 配置文件中:
{
"mcpServers": {
"github-kanban": {
"command": "github-kanban-mcp-server"
}
}
}
📊 主要功能
列出 Issues
// 获取仓库中的issues
{
"repo": "username/repository",
"state": "open", // 可选: 'open', 'closed', 'all'
"labels": ["bug", "enhancement"] // 可选
}
创建 Issue
// 创建新issue
{
"repo": "username/repository",
"title": "实现新功能",
"emoji": "✨", // 可选
"body": "详细描述...", // 可选
"labels": ["enhancement"], // 可选
"assignees": ["username"] // 可选
}
更新 Issue
// 更新现有issue
{
"repo": "username/repository",
"issue_number": 42,
"title": "更新的标题", // 可选
"state": "closed", // 可选: 'open', 'closed'
"labels": ["bug", "fixed"] // 可选
}
添加评论
// 向issue添加评论
{
"repo": "username/repository",
"issue_number": 42,
"body": "这是一条评论",
"state": "closed" // 可选,同时更改issue状态
}
🔧 系统要求
- Node.js 18.x+
- npm 9.x+
- GitHub CLI
📚 更多资源
详细文档请参阅 GitHub 仓库
📝 许可证
MIT