Focalboard MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Focalboard MCP Servercreate a board named Product Roadmap"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Focalboard MCP Server
一个基于 Model Context Protocol 的 Focalboard 服务器,为 AI 助手提供与 Focalboard 看板交互的能力。
功能特性
Board 管理 — 创建、读取、更新、删除、搜索、列表(teamId 自动从环境变量获取)
Block 管理 — 卡片 / 任务的 CRUD 操作
双传输模式 — 支持 Stdio 和 HTTP Streamable 两种 MCP 传输方式
灵活认证 — Token 直接认证 或 用户名/密码自动登录(支持 Mattermost)
Related MCP server: mattermost-mcp
技术栈
安装
git clone https://github.com/p3psi-boo/focalboard-mcp.git
cd focalboard-mcp
bun install快速开始
Stdio 模式(默认)
bun run index.tsHTTP Streamable 模式
MCP_TRANSPORT=http bun run index.ts服务器默认监听 http://localhost:3000/mcp。
环境变量
Focalboard 连接
变量 | 说明 | 默认值 |
| Focalboard 实例地址 |
|
| API 路径前缀 |
|
| 默认团队 ID(用于 list/create) |
|
| 认证 Token | — |
| CSRF Token(一般不需要手动设置) | — |
|
|
|
自动登录(可选)
设置密码后服务器启动时自动登录,退出时自动登出。
变量 | 说明 |
| 登录密码 |
| Mattermost 登录 ID |
| Focalboard 用户名 |
| 认证模式: |
FOCALBOARD_PASSWORD必须与FOCALBOARD_LOGIN_ID或FOCALBOARD_USERNAME之一配合使用。
传输模式
变量 | 说明 | 默认值 |
| 传输模式: |
|
| HTTP 模式监听端口 |
|
| HTTP 模式端点路径 |
|
MCP 客户端配置
Claude Desktop(Stdio 模式)
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"focalboard": {
"command": "bun",
"args": ["/path/to/focalboard-mcp/index.ts"],
"env": {
"FOCALBOARD_URL": "https://your-focalboard-instance.com",
"FOCALBOARD_TOKEN": "your-auth-token"
}
}
}
}HTTP Streamable 模式
启动服务器后,将 MCP 客户端指向 http://localhost:3000/mcp(或你自定义的地址)。
HTTP 模式支持:
有状态会话管理(自动分配 Session ID)
SSE 流式传输
多客户端并发连接
DELETE请求清理会话
可用工具
所有参数均使用名称而非 ID。服务器会自动按名称搜索解析为 ID。返回结果仅包含关键字段以节省 Token。
Board 管理(5 个)
工具 | 必填参数 | 说明 |
|
| 创建新看板 |
|
| 按名称获取看板详情 |
|
| 更新看板属性 |
|
| 删除看板 |
| (无) | 列出所有看板(可选 |
Block 管理(4 个)
工具 | 必填参数 | 说明 |
|
| 创建块(card、view、text 等) |
|
| 获取看板中的块(可选 |
|
| 更新块 |
|
| 删除块 |
使用示例
请创建一个名为"项目跟踪"的新看板在"项目跟踪"看板中添加一个卡片:标题"完成 API 设计"列出包含"API"关键词的看板更新"项目跟踪"中的"完成 API 设计"卡片,标题改为"API 设计已完成"项目结构
focalboard-mcp/
├── index.ts # 入口(re-export)
├── src/
│ ├── index.ts # 服务器启动与传输层
│ ├── client/
│ │ └── focalboard.ts # Focalboard API 客户端
│ ├── tools/
│ │ ├── boards.ts # Board 工具定义与处理
│ │ └── blocks.ts # Block 工具定义与处理
│ └── types/
│ ├── board.ts # Board Zod schemas
│ ├── block.ts # Block Zod schemas
│ └── common.ts # 公共类型
├── test/ # 测试文件
├── swagger.yml # Focalboard API 规范
├── package.json
└── tsconfig.json开发
# 热重载开发
bun --hot index.ts
# 运行测试
bun test
# 监听模式测试
bun test --watch
# 测试覆盖率
bun test --coverage许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
AI agents use CalmBoard MCP to access board data, tasks, insights, and project workflows.
Task & board management for AI agents + humans. Kanban, comments, digests via MCP.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables task and board management in Focalboard through natural language, supporting board operations, card creation/updates, and column movements with automatic authentication and user-friendly property names.104-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Mattermost workspaces for messaging, channel management, user operations, and file handling via the Model Context Protocol.MIT
- AlicenseAqualityBmaintenanceMCP server for Mattermost Boards (Focalboard) that enables natural language management of teams, boards, and cards, including CRUD operations.1113 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with ERPNext data and functionality through the Model Context Protocol, including document CRUD, report running, and API method calls.MIT