Planka MCP Server

Planka MCP Server

Enables AI assistants to interact with Planka, a real-time Kanban board application, for managing projects, boards, lists, cards, and more.

Category
访问服务器

README

Planka MCP Server

npm version Docker Image Version License: MIT

An MCP server that enables AI assistants (Claude, VS Code Copilot, etc.) to interact with Planka - a real-time Kanban board application.

Quick Start

Prerequisites

  • Node.js 18+ or Docker
  • Planka instance running and accessible
  • Planka user account with appropriate permissions

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "planka": {
      "command": "npx",
      "args": ["@chmald/planka-mcp"],
      "env": {
        "PLANKA_BASE_URL": "http://localhost:3000",
        "PLANKA_API_KEY": "your-api-key"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "planka": {
      "type": "stdio",
      "command": "npx",
      "args": ["@chmald/planka-mcp"],
      "env": {
        "PLANKA_BASE_URL": "http://localhost:3000",
        "PLANKA_API_KEY": "your-api-key"
      }
    }
  }
}

Docker

{
  "mcpServers": {
    "planka": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "PLANKA_BASE_URL=http://host.docker.internal:3000",
        "-e", "PLANKA_API_KEY=your-api-key",
        "chmald/planka-mcp:latest"
      ]
    }
  }
}

Note: Use host.docker.internal instead of localhost when running Docker.


Configuration

Environment Variables

Variable Required Default Description
PLANKA_BASE_URL Yes http://localhost:3000 Your Planka instance URL
PLANKA_API_KEY No* - Planka API key sent as X-Api-Key
PLANKA_USERNAME No* - Planka username or email
PLANKA_PASSWORD No* - Planka password
MCP_TRANSPORT No stdio MCP transport mode: stdio or sse
MCP_PORT No 3001 HTTP port used when MCP_TRANSPORT=sse
PLANKA_HTTP_MAX_RETRIES No 2 Max retry attempts for transient HTTP/network failures per request
PLANKA_HTTP_RETRY_BASE_DELAY_MS No 250 Base retry delay in milliseconds (exponential backoff)
ENABLE_ALL_TOOLS No false Enable all 27 tools
ENABLE_ADMIN_TOOLS No false Enable admin tools
ENABLE_OPTIONAL_TOOLS No false Enable optional tools

* Authentication is required. Provide either PLANKA_API_KEY, or both PLANKA_USERNAME and PLANKA_PASSWORD.

Authentication Modes

  • API key (recommended): Set PLANKA_API_KEY.
  • Username/password: Set PLANKA_USERNAME and PLANKA_PASSWORD.
  • If both are set, the server uses PLANKA_API_KEY.

Retry Behavior

  • Retries apply to transient failures (408, 429, 5xx) and network request errors.
  • Delay uses exponential backoff: PLANKA_HTTP_RETRY_BASE_DELAY_MS * 2^attempt.
  • PLANKA_HTTP_MAX_RETRIES controls additional attempts after the initial request.

Tool Categories

By default, 10 core tools are enabled for essential Kanban operations:

Category Tools Description
Core 10 Auth, projects, boards, lists, cards, tasks, comments, labels (always enabled)
Optional 13 Attachments, custom fields, notifications, etc.
Admin 4 User management, webhooks, config

Enable more tools:

"env": {
  "ENABLE_ALL_TOOLS": "true"
}

Available Tools

Each tool uses an action parameter. Example: { "action": "list" } or { "action": "get", "id": "123" }

<details> <summary><strong>Core Tools</strong> (always enabled)</summary>

Tool Actions
auth login, logout, acceptTerms, oidcExchange, revokePending, getTerms
bootstrap get - Get app data, user info, projects
projects list, get, create, update, delete
boards get, create, update, delete
lists get, create, update, delete
cards list, get, create, update, delete
comments list, create
tasks getList, createList, create, update
labels create, update, delete, addToCard, removeFromCard
cardMembers add, remove

</details>

<details> <summary><strong>Admin Tools</strong> (ENABLE_ADMIN_TOOLS=true)</summary>

Tool Actions
config get, update, testSmtp
users list, create, update, delete, updateEmail, updatePassword, etc.
webhooks list, create, update, delete
projectManagers add, remove

</details>

<details> <summary><strong>Optional Tools</strong> (ENABLE_OPTIONAL_TOOLS=true)</summary>

Tool Actions
attachments create, update, delete
boardMembers add, update, remove
customFields createBaseGroup, createField, setValue, etc.
notifications list, get, markRead, markAllRead, markCardRead, createUserService, createBoardService, updateService, deleteService, testService
actions boardActions, cardActions
cardExtras duplicate
commentExtras update, delete
listExtras clear, moveCards, sort
taskExtras updateList, deleteList, deleteTask
labelExtras update, delete, removeFromCard
cardMemberExtras remove
backgroundImages upload, delete
userInfo get

</details>


Multi-Client Mode (SSE)

For team deployments where multiple clients share one server:

docker run -d \
  --name planka-mcp \
  -p 3001:3001 \
  -e MCP_TRANSPORT=sse \
  -e PLANKA_BASE_URL=http://your-planka-server:3000 \
  -e PLANKA_API_KEY=your-api-key \
  chmald/planka-mcp:latest

Connect clients to http://localhost:3001/sse.


Troubleshooting

"Authentication failed"

  • Verify your API key (or username/password) is correct
  • Check that PLANKA_BASE_URL is accessible

"Connection refused" with Docker

  • Use host.docker.internal instead of localhost
  • Ensure Planka is running

npx fails

  • Ensure Node.js 18+ is installed: node --version
  • Try: npm cache clean --force

Debug logs

npx @chmald/planka-mcp 2>&1 | tee debug.log

Upgrade Notes

Check CHANGELOG.md for full version-by-version details.

Upgrading to 2.0.3

  • The auth tool moved from optional tools to core tools and is now always available.
  • API key authentication is now supported with PLANKA_API_KEY (X-Api-Key).
  • If both API key and username/password are configured, PLANKA_API_KEY is used.

Links

License

MIT - see LICENSE

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选