KanbiSign in

MCP server

Connect an AI agent

Kanbi exposes a Model Context Protocol server so coding agents — Codex, Claude Code, Grok Build, opencode, or another MCP client — can turn a finished discussion into reviewed tasks, then pick up the tasks assigned to you, fix them, and report back on the card. Auth is OAuth with a browser consent screen; there are no API keys to copy.

Endpointhttp://localhost:3333/api/mcp

Claude Code

Add the server, then run any kanbi tool (or /mcp) — Claude opens the consent screen, and after you approve the tools are live.

Terminal
claude mcp add --transport http kanbi http://localhost:3333/api/mcp

Codex

Add the remote server, then start the OAuth login. The same MCP setup is shared by the Codex CLI, desktop app, and IDE extension.

Terminal
codex mcp add kanbi --url http://localhost:3333/api/mcp
codex mcp login kanbi

opencode

Add the server to opencode.json (project) or ~/.config/opencode/opencode.json (global):

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "kanbi": {
      "type": "remote",
      "url": "http://localhost:3333/api/mcp",
      "enabled": true
    }
  }
}

Then trigger the login (it also starts automatically the first time it hits the server):

Terminal
opencode mcp auth kanbi

Grok Build

Add Kanbi as a remote server. Grok opens the OAuth flow when the server is first used.

Terminal
grok mcp add --transport http kanbi http://localhost:3333/api/mcp

For Grok's hosted custom connector, use a publicly reachable HTTPS deployment, then add it at grok.com/connectors. A local development URL cannot be reached by the hosted service.

What an agent can do

Each tool wraps the same procedures the web app uses, so permissions, validation, and realtime updates apply identically. The agent acts as you, limited to the projects you can access.

  • list_projectsreadResolve the target project when it is not unambiguous.
  • get_project_contextreadGet canonical authoring IDs, guidance, and priorities.
  • search_tasksreadSearch task titles for likely duplicates.
  • create_taskswriteCreate only the exact task set the user approved.
  • create_projectwriteCreate an approved project with the default board.
  • add_columnwriteOwner only: add an approved column to the board.
  • update_columnwriteOwner only: rename, recategorize, or reorder a column.
  • find_tasksreadAnswer who added what, when, status, and assignee questions.
  • get_work_queuereadYour open assigned tasks for the current repo.
  • get_taskreadTrust-ordered brief with images and linked docs.
  • start_taskwriteMove your task to in progress.
  • finish_taskwriteMove your task to review (or done) and post the summary.
  • move_taskwriteMove your task to another open column when you ask.
  • assign_to_mewriteClaim an unassigned task so the agent can work on it.
  • comment_on_taskwritePost an agent-marked comment on your task.
  • report_blockerwriteExplain the blocker and move your task back to ready.
  • update_checklistwriteComplete, reopen, or add checklist items.
  • set_task_labelswriteAdd or remove existing board labels.
  • add_attachmentwriteGet an upload URL for a file such as a screenshot.
  • confirm_attachmentwriteRecord the uploaded file on the task.
  • edit_commentwriteEdit a comment the same agent posted.
  • delete_commentwriteDelete a comment the same agent posted.
  • list_docsreadA project's doc pages as a tree.
  • get_docreadRead one doc page as markdown.
  • search_docsreadKeyword search across docs.

Capture approved work

The connected agent writes the task content; Kanbi does not make a second model call. The agent searches for likely duplicates, shows the exact project, column, title, description, checklist, priority, labels, assignee, and due date, then waits for your explicit approval before it creates anything. New projects and board columns follow the same rule: the agent shows the exact name, key, or column placement first, and only project owners can change columns.

  1. 1User and agent finish a feature decision
  2. 2Agent searches for duplicates
  3. 3Agent shows the proposed Kanbi task
  4. 4User says “put this in Kanbi”
  5. 5Agent creates it and returns KAN-42 plus its link

One useful task with a description and checklist is the default. Work is split only when each item can be delivered independently, and the full split is shown before approval.

Scopes

Two scopes are enforced on every tool call: kanbi:read for the read tools and kanbi:write for the write tools. A read-only grant cannot create anything. Add offline_access and the agent renews silently instead of reopening the browser.

Managing access

Every agent you authorize is listed under Profile → Connected apps with its scopes and when it was approved. Revoking takes effect immediately; the agent must re-authorize to reconnect.

Troubleshooting

Tools 401, or an endless re-auth loop. The token came back opaque instead of a JWT. Re-authorize with a clean token — for Claude Code, claude mcp remove kanbi then add it again.

Host mismatch. Point the agent at the same host this page is served from, so OAuth discovery, the token audience, and your browser session all line up on one origin.