🎯 GitHub Kanban MCP Server
GitHub Kanban MCP Server 是一个工具,用于将 GitHub 问题作为看板进行管理,并通过 MCP 和 LLM 集成实现任务自动化处理。
概述
GitHub Kanban MCP 服务器让您能以看板形式管理 GitHub issues,并通过 LLM 提高任务管理效率。
安装
npm install @sunwood-ai-labs/github-kanban-mcp-server
基础配置
-
设置环境变量:
GITHUB_TOKEN=your_github_token GITHUB_OWNER=your_github_username GITHUB_REPO=your_repository_name
-
MCP 配置:
{ "mcpServers": { "github-kanban": { "command": "github-kanban-mcp-server", "env": { "GITHUB_TOKEN": "your_github_token", "GITHUB_OWNER": "your_github_username", "GITHUB_REPO": "your_repository_name" } } } }
核心工具
工具 | 功能 | 主要参数 |
---|---|---|
list_issues | 获取看板上的issues | state , labels |
create_issue | 创建新issue | title , body , labels , assignees |
update_issue | 更新现有issue | issue_number , title , body , state , labels , assignees |
使用示例
// 列出所有开放的issues
const issues = await listIssues({ state: 'open' });
// 创建新issue
await createIssue({
title: "新功能请求",
body: "请添加新功能...",
labels: ["enhancement"]
});
// 更新issue状态
await updateIssue({
issue_number: 42,
state: 'closed'
});
反馈与贡献
如有问题或建议,请创建Issue。欢迎通过Pull Request贡献代码。
更多详情请查看完整文档。