Skip to main content
Glama

MCPTrello

一个 MCP(Model Context Protocol)服务器,暴露一组小型、精选的 Trello 工具——目的是让智能体无需手工粘贴上下文即可读取并轻度更新 Trello 看板,同时也是一次关于工具描述如何塑造智能体行为的学习练习(每个工具背后的设计理由见 DESIGN_NOTES.md)。

工具

工具名

用途

list_boards

列出可访问的看板(id、名称、url)。

get_board_state

获取看板的完整开放状态:各列表中嵌套的未完成卡片。

get_card

按 id 读取单个卡片,包括其完整描述。

search_cards

按自由文本搜索卡片,可在单个看板或所有看板中搜索。

create_card

在列表中创建卡片。

update_card

更新卡片的名称、描述和/或截止日期。

move_card

将卡片移动到其他列表。

add_checklist_item

向卡片的清单中添加一项信息。

不在此 v1 范围之内:完整 CRUD、远程/OAuth 认证、访问限流、MCP resources/prompts、cc-init 命令、自动创建清单,以及多次调用之间缓存看板/列表名称。

Related MCP server: trello-mcp-server

设置

1. 获取 Trello 凭据

  1. 访问 https://trello.com/power-ups/admin,创建(或选择)一个 Power-Up,获得 API 密钥

  2. 在同一密钥页面,按“Token”链接生成一个 令牌——这会授权该密钥以你的 Trello 账户身份进行操作。

2. 配置环境

cp .env.example .env

填写 .env

TRELLO_API_KEY=...
TRELLO_TOKEN=...
DEFAULT_BOARD_ID=...   # optional — id of the board to use when `board` is omitted

DEFAULT_BOARD_ID 可选。未设置时,需要看板的工具要么要求你一个显式传入,要么(对于 search_cards)搜索你能访问的所有看板。

3. 安装并构建

需要 Node.js 18+

npm install
npm run build

4. 注册到 Claude Code

claude mcp add trello -- node <absolute-path-to-repo>\dist\index.js

验证

  • npm run build —— TypeScript 构建;在任意源码改动后运行它。

  • npm run verify —— 将构建后的服务器作为子启动进程,通过 stdio 启动,并使用 MCP SDK 自带的 Client + StdioClientTransport, 列出所有工具,并针对你的真实 Trello 账户逐一调用每个工具(每个工具都包含至少一个错误/歧义情形)。**要求完全填好 .env`** —— 它会进行真实 API 调用。

  • MCP Inspector(npx @modelcontextprotocol/inspector --cli node ../../dist/index.js --method tools/list)是辅助、尽力而为的检查。每个已发布版本的 Inspector 都需要 Node ≥ 22.7.5;在 Node 18 上无法启动。如果你想运行它,请使用单独的 Node 22+ 安装(如 nvm),而不是提高项目的运行时要求。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

  • Free public MCP for AI agents — 193 tools, 44 workflows. No API key.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sorialex/trello-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server