What is MCP, and why does Kolam support it?
The Model Context Protocol (MCP) is an open standard that lets AI assistants like Claude Code and Codex call tools exposed by an external service, over a normal HTTP connection, instead of each service inventing its own bespoke plugin format. Kolam exposes its board tools this way at /api/mcp, so any MCP client that supports remote HTTP servers with OAuth, not just the two named here, can read and edit your boards directly from wherever you're already working, without copying any board content by hand.
Kolam never calls an AI API itself and never asks you for an API key anywhere in this flow. Claude Code or Codex stays signed in with your existing Claude or ChatGPT subscription, and the connection to Kolam happens through standard OAuth, the same kind of "Allow access" flow you'd see connecting any two services.
Connecting Claude Code
- Add the server. In a terminal, run:
This registers Kolam as a remote MCP server using Streamable HTTP (plain JSON responses, no persistent stream).claude mcp add --transport http kolam https://app.trykolam.com/api/mcp - Authenticate. Inside Claude Code, run
/mcp, selectkolam, and choose Authenticate. This opens Kolam's own OAuth 2.1 authorization page in your browser. - Approve access. Kolam's server supports dynamic client registration and is discovered automatically through the
WWW-Authenticateheader and/api/.well-known/endpoints, so Claude Code finds everything it needs without manual configuration. Sign in to Kolam if you aren't already, and approve the request. - Done. Claude Code receives an access token automatically (authorization code flow with PKCE, so no shared secret is ever typed in) and
kolamnow appears as an available tool source in your session.
Connecting Codex CLI
Codex follows the same pattern with its own command:
codex mcp add kolam --url https://app.trykolam.com/api/mcp
This opens a Kolam "Allow" page in your browser the first time Codex needs to use it, and completes the same OAuth 2.1 with PKCE flow to get a token automatically. No API key or manual token copying is required.
For any other MCP client, look for support for "remote HTTP MCP servers with OAuth": point it at https://app.trykolam.com/api/mcp and follow its own authentication prompt, which will land on the same Kolam sign-in and "Allow" page.
What the assistant can do once connected
Once authenticated, your assistant has access to Kolam's board tools, scoped to exactly the boards your account can already reach, with your existing role (Owner, Admin, Member or Guest, and any per-board view/comment/edit permissions):
list_boards,get_board,search: find and read boards and cards.create_cards,update_card: add cards, including tasks with due dates, and edit existing ones (column order, lock, collapse and more).duplicate_cards,delete_cards(to Trash),list_trash,restore_from_trash: copy, remove and recover cards safely.connect_cards,update_connection,delete_connections: draw and manage the lines between cards.comment: comment on any card and resolve threads.update_board: change a board's title, background, corner style, icon or parent.
Every change the assistant makes goes through the same change log as edits made by hand in the browser, so it shows up in the board's activity feed and can be rolled back with version history exactly like any other edit, and any board you have open picks up the change within a few seconds.
The Connect AI button is this same connection
Kolam has no in-app AI chat built into the app itself. The Connect AI button in the board bar is simply a shortcut to the setup described in this post: it shows you the same claude mcp add or codex mcp add command, lets you generate an access key as a fallback, and lists your connected apps, all so you can connect Claude Code or Codex, running on your own computer, to Kolam's MCP server. There's no separate chat path and no background worker on Kolam's side; every assistant session that touches your boards is one you're running yourself, using the same board tools and the same permission checks described above.
Managing the connection
Every MCP connection is listed in Kolam's Connect AI panel and can be disconnected at any point, which revokes the token immediately. See using your AI subscription for more on how Kolam's AI features work generally, and security for how access tokens are stored (as SHA-256 hashes, revocable individually) and how OAuth pages are protected against framing.
Frequently asked questions
Do I need an API key to connect Claude Code to Kolam?
No. Kolam's MCP server uses OAuth 2.1 with PKCE and dynamic client registration, discovered automatically through the WWW-Authenticate header, so the client opens a browser sign-in page and gets a token without you copying any key. Access keys from the Connect AI panel exist only as a fallback for clients that can't do a browser sign-in.
Is this the same as an in-app AI chat inside Kolam?
There's no separate in-app AI chat in Kolam at all. This MCP connection is how you use Claude Code or Codex with Kolam: you run Claude Code or Codex on your own computer and connect it to Kolam's MCP server. The 'Connect AI' button in the board bar is just a convenient place to get the same setup commands and an access key; it doesn't add any chat UI of its own.
What can the assistant actually do once connected?
It can list and read boards, search cards, create and update cards (including tasks with due dates), duplicate or delete cards, connect cards with lines, comment on cards, update board settings, and manage the Trash, limited to whatever boards your account can already reach with your existing role.
Can the assistant see or change boards I don't have access to?
No. Every MCP tool call runs with your account's own permissions, so the assistant can only reach boards you can reach, with the same role-based restrictions (view, comment, edit) that apply when you use Kolam directly.
Does this work with Codex as well as Claude Code?
Yes. Codex CLI supports the same kind of remote MCP connection: 'codex mcp add kolam --url https://app.trykolam.com/api/mcp' opens a Kolam 'Allow' page in your browser and completes the same OAuth flow automatically.