The GitHub Kanban MCP Server helps manage GitHub issues in a kanban board format, making task management more efficient for LLM (Large Language Models) through the Model Context Protocol.
Before installing, ensure you have:
Install the package using npm:
npm install @sunwood-ai-labs/github-kanban-mcp-server
Set up GitHub CLI authentication:
gh auth login
Add the following to your MCP configuration file:
{
"mcpServers": {
"github-kanban": {
"command": "github-kanban-mcp-server"
}
}
}
The list_issues
tool retrieves a list of issues from your kanban board.
Parameters:
repo
: GitHub repository name (required)state
: Issue state ('open', 'closed', 'all')labels
: Array of labels to filter byExample usage:
{
"name": "list_issues",
"parameters": {
"repo": "username/repository",
"state": "open",
"labels": ["bug", "high-priority"]
}
}
The create_issue
tool creates a new issue in your repository.
Parameters:
repo
: GitHub repository name (required)title
: Issue title (required)emoji
: Emoji to add at the beginning of the titlebody
: Issue descriptionlabels
: Array of labelsassignees
: Array of users to assignExample usage:
{
"name": "create_issue",
"parameters": {
"repo": "username/repository",
"title": "Fix login button",
"emoji": "🐛",
"body": "The login button is not working correctly on mobile devices",
"labels": ["bug", "frontend"],
"assignees": ["developer1"]
}
}
The update_issue
tool modifies existing issues.
Parameters:
repo
: GitHub repository name (required)issue_number
: Issue number (required)title
: New titleemoji
: Emoji to add at the beginning of the titlebody
: New descriptionstate
: New state ('open', 'closed')labels
: New array of labelsassignees
: New array of assigneesExample usage:
{
"name": "update_issue",
"parameters": {
"repo": "username/repository",
"issue_number": 42,
"state": "closed",
"labels": ["fixed"]
}
}
The add_comment
tool adds comments to issues.
Parameters:
repo
: GitHub repository name (required)issue_number
: Issue ID (required)body
: Comment content (supports Markdown) (required)state
: Optional issue state change when commenting ('open', 'closed')Example usage:
{
"name": "add_comment",
"parameters": {
"repo": "username/repository",
"issue_number": 42,
"body": "This issue is fixed in the latest release.",
"state": "closed"
}
}
Here's an example workflow for managing issues:
List all open issues with a specific label:
{
"name": "list_issues",
"parameters": {
"repo": "myteam/project",
"state": "open",
"labels": ["needs-attention"]
}
}
Create a new task:
{
"name": "create_issue",
"parameters": {
"repo": "myteam/project",
"title": "Implement new authentication flow",
"emoji": "✨",
"body": "## Description\nImplement OAuth2 authentication\n\n## Acceptance Criteria\n- Support Google login\n- Support GitHub login",
"labels": ["enhancement", "authentication"],
"assignees": ["developer1", "developer2"]
}
}
Update a task's status:
{
"name": "update_issue",
"parameters": {
"repo": "myteam/project",
"issue_number": 15,
"labels": ["in-progress"],
"assignees": ["developer1"]
}
}
Add progress updates:
{
"name": "add_comment",
"parameters": {
"repo": "myteam/project",
"issue_number": 15,
"body": "Progress update: Google login implementation is complete. Working on GitHub login now."
}
}
Close a completed task:
{
"name": "update_issue",
"parameters": {
"repo": "myteam/project",
"issue_number": 15,
"state": "closed",
"labels": ["completed"]
}
}
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.