Planka MCP
io.github.omnicoreos由 GitHub 帳號 omnicoreos 發布v0.3.0更新於 Oct 24, 2026
Planka 2.x MCP server with verified card, task, comment, label, and list operations.
概覽
讓助理讀寫 Planka 2.x 看板的 MCP 伺服器,涵蓋卡片、任務、留言、標籤、清單、附件與成員,寫入後會回讀驗證。
- 可以做什麼
- 檢視看板:列出可見的專案、看板與清單,一次呼叫取得看板摘要,並依欄位、文字、標籤或成員搜尋與讀取卡片。
- 建立與編輯卡片:新增、更新、移動、複製、封存或刪除卡片,並加入檢查清單任務。
- 管理標籤與留言:建立、重新命名、改色或刪除標籤,為卡片設定標籤,新增、讀取、修改或刪除留言。
- 管理清單與附件:建立、重新命名、調整位置或刪除欄位,上傳、列出、檢視或刪除卡片附件。
- 追蹤人員與歷程:指派或取消成員,列出可指派的使用者,查看卡片歷程與看板動態,並查詢伺服器自身帳號與存取政策。
- 適用情境
- 適合團隊把工作放在自架 Planka 2.x 看板上,並希望助理在對話中讀取看板、整理卡片、撰寫留言或建立與移動卡片。也適合需要受限代理帳號、唯讀或白名單存取的環境。
- 執行需求
- 需要 Node.js 18 以上與 npx、可連線的 Planka 2.x 執行個體,以及能看到目標專案與看板的專用 Planka 使用者。需設定 PLANKA_BASE_URL,並二擇一:PLANKA_API_KEY(建議)或 PLANKA_AGENT_EMAIL 與 PLANKA_AGENT_PASSWORD,兩者不可同時設定。另有選用變數可限定看板、專案、清單與工具。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Planka MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
planka-mcp
Control a Planka 2.x board from Claude Code through 41 MCP tools. Writes are re-read and verified, so a reported success matches the board. An optional workflow turns that board into durable memory for agent work.
[!WARNING] The old
@gogogadgetbytes/planka-mcppackage can report success while doing nothing on Planka 2.x. Read the five silent-failure gotchas before replacing an existing installation.
New to MCP? Read this first
MCP is a standard that lets Claude Code call tools provided by another program.
This repository runs a small local program that translates those tool calls into Planka API requests.
It needs Planka credentials because it acts as a dedicated Planka user, not as Claude itself.
The credentials stay on your machine and are never written into the project-level .mcp.json file.
Claude Code loads MCP servers when a session starts, so restart it after setup or configuration changes.
Requirements
- Node.js 18 or newer and
npx - A reachable Planka 2.x instance
- A dedicated Planka user that can see the target project and board
- One MCP client: Claude Code, Codex CLI, Cursor or VS Code
- A project-manager role only if setup must create a board
Linux and macOS are supported. No Bun runtime is required.
Install
One command per client. All of them run the published package with npx, so
there is nothing to clone and nothing to build.
The Cursor and VS Code links carry a placeholder key, never a real one: a
deeplink ends up in browser history. Both clients ask for the credential
themselves — VS Code through a promptString input, so the committed
.vscode/mcp.json holds no secret.
planka-mcp init
With a terminal attached it asks for what it needs; --base-url, --api-key,
--board, --email and --password make it non-interactive. Before writing
anything it runs one authenticated GET /api/users/me, which is what catches a
base URL pointing at the SPA instead of the API, or a credential that never
worked. --dry-run prints the exact change and touches nothing.
Every emitter merges: an existing planka entry is reported and left alone,
and the other servers in the same file are preserved. Files written into your
home directory get mode 0600.
./scripts/setup.sh is an alias for init --client claude. The older guided
installer — the one that also picks or creates a board and runs the full
create/label/comment/delete smoke test — is still node scripts/setup.mjs.
The Claude Code plugin
The plugin installs the MCP server, the two workflow skills, and a SessionStart
preflight that catches a missing credential or an http:// base URL before the
first tool call:
Claude Code asks for the base URL and the API key when the plugin is enabled and
stores the key in the OS keychain, not in settings.json. Codex reads the same
repository through .codex-plugin/plugin.json and
.agents/plugins/marketplace.json.
Plugins cannot ship permission rules, which is the one thing that does not
travel: use PLANKA_READ_ONLY and PLANKA_DISABLED_TOOLS (below) instead of a
client-side deny list — they work in every runtime and cost no context.
Codex env block
codex mcp add does not take credentials, so add them to
~/.codex/config.toml (or let init --client codex do it):
Verify it works
First, inspect Claude Code's configuration:
Then fully restart Claude Code — MCP servers are loaded when a session starts. If
you configured the server in a project's .mcp.json, open Claude Code in that
project and approve the project-scoped server when prompted. If you installed the
plugin, /plugin shows it, and its Errors tab shows a server that failed to
start.
Ask Claude Code:
If Claude cannot see the tools, restart first and then follow Troubleshooting.
Authentication
Two ways to authenticate, and they are mutually exclusive: setting both is a
configuration error, because Planka reads Authorization first and silently
ignores x-api-key when both arrive.
Recipe: a scoped agent user with an API key
Four steps, run by a Planka admin. The result is a user that can only ever see the boards you name — enforced by Planka itself, not by this server.
-
Create the user with the lowest global role. In the Planka UI: Administration → Users → Add user, role
boardUser. AboardUsercannot create projects and cannot grant itself memberships. -
Give it membership on the boards it should work on, and only those:
Use
"role":"viewer"for an agent that should read and comment but never create or move cards.GET /api/projectsthen returns only the projects derived from these memberships; every other board answers 404. -
Issue the API key (admin-only endpoint). The key is shown once, in
included.apiKey; Planka stores only its hash and prefix: -
Configure the server with the key and nothing else. Remove
PLANKA_AGENT_EMAILandPLANKA_AGENT_PASSWORD:
Rotating a key is step 3 again: issuing a new one invalidates the old.
Scoping the server
An API key inherits its user's permissions — it carries no scopes of its own. Scoping therefore happens in three layers, and each covers something the others cannot.
Layer 1 has real enforcement but cannot express "do not call planka_get_board,
it costs forty times more context". Layer 2 can, and reaches every runtime.
Layer 3 stays true even if this package is pinned back to an older version.
Layer 2: the environment variables
The server ships with no board vocabulary of its own. Column names and
"ready" labels are yours, in your language: the last two variables are how a
deployment tells the summary what its board looks like. A hint that matches
nothing comes back in warnings, never as an empty answer.
Allowlists are by id, never by name. Any board editor can rename a board, so a name-based allowlist is bypassed with one edit. Planka ids are stable.
Two notes on what these are and are not:
PLANKA_READ_ONLYhides tools; it does not make the account read-only. Pair it with"role":"viewer"in step 2 above if that is what you actually need.PLANKA_PROTECTED_LIST_IDSis a guard-rail, not a permission: Planka has no per-list rights. It is the right tool for "do not move cards to Merged on your own", and the wrong one for anything security-critical.
Example — an agent that reads one board and comments, and nothing else:
The 41 tools
IDs are strings. Start with planka_get_structure, then use IDs returned by
Planka; do not guess them.
The reads follow one principle: a small digest by default, the detail through
parameters. planka_board_summary opens a session in one call;
planka_find_cards with a listId reads a whole column in ONE request through
GET /api/lists/:id, so total is the real size of the column and the answer
carries truncated: false; the same tool without a listId searches the board.
Measured on the reference board of 185 cards, the deprecated planka_get_board
went from 56,112 to 17,215 characters and planka_get_structure
(withLists: false) from 696 to 203, while a 159-card column went from five
requests to two. Every read reports total, returned and hasMore, so a
clipped answer never looks complete, and every board-derived read carries
excludesArchived: true because Planka keeps archive and trash out of the board
read.
Every input field and a complete payload for every tool are in Tools reference.
What the client learns on connect
The initialize handshake returns a short set of server instructions — how to
open a session, where IDs come from, why every comment on a card matters, and
that Planka answers 404 where it means 403. Claude Code puts them in the
session system prompt and Codex CLI reads them alongside the tool list, so the
shared guidance is stated once instead of repeated in 41 tool descriptions.
Every tool also publishes a display title and all four MCP behavioural hints
explicitly, rather than inheriting the spec's pessimistic defaults, plus the two
_meta keys Claude Code acts on: a forced confirmation prompt on the tools that
delete data, and a raised output ceiling on planka_view_attachment. Details in
Server instructions and annotations.
Resources and prompts
Two more surfaces, and both cost nothing until something asks for them, which is why the long-form guidance lives here instead of in the instructions everyone pays for on every session. Claude Code reads both; Cursor reads both; Codex supports neither, so nothing here is load-bearing.
Resources serve the guides that ship inside the package. In Claude Code they
are @-mentioned, in Cursor they come from the resource picker:
Prompts are three ways to start, surfaced by Claude Code as
/mcp__planka__<name>:
Optional agent workflow
The MCP server works on its own. The optional method solves a different problem: preserving why work exists, what changed, and what remains true between agent sessions.
Adopt it in layers:
- Use only the MCP tools.
- Add the board states, card template, and human handshakes.
- Add one worktree per card with a director coordinating workers.
Start with A board that survives the session. The board template, copyable Claude Code skills, and optional worktree helper are independent pieces.
Troubleshooting
- Symptoms, causes, and exact fixes
- Why Planka 2.x breaks older MCP servers silently
- Complete tool payloads
When reporting a bug, include the Planka version, Node version, the tool name, and the error text. Never paste credentials or access tokens.
Credits and license
This is an MIT-licensed fork of
gogogadgetbytes/planka-mcp,
not an original-from-scratch implementation. See CREDITS.md for
the upstream attribution, maintained fixes, and unanswered pull requests.
See LICENSE for the original and current contributor notices.
Development
The real smoke test is opt-in because it mutates a writable board and then cleans up after itself. It drives all 41 tools over stdio and cross-checks every write against the raw Planka API — over 90 named checks:
npm run test:smoke builds first, so it cannot test a stale dist/. Four
optional variables tune it:
See CONTRIBUTING.md before opening a change. Release identity
is centralized in project.identity.json; update it and
run npm run sync:identity before publishing under your own namespace.
來源:README.md,提交 44a8a9c
工具
0版本歷史
1- v0.3.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分