Claude 模型协议 Trello 服务添加福利群:解决AI开发者的「MCP实战痛点」一个提供与 Trello 看板交互工具的 Model Context Protocol (MCP) 服务器。该服务器在无缝集成 Trello API 的同时,自动处理速率限制、类型安全和错误处理。
trello_get_cards_by_list检索指定列表 ID 中包含的所有卡片。
{
name: "trello_get_cards_by_list",
arguments: {
listId: string; // Trello list ID
}
}

trello_get_lists检索看板中的所有列表。
{
name: "trello_get_lists",
arguments: {}
}

trello_get_recent_activity检索最近的看板活动。limit 参数可以指定要检索的数量(默认为 10)。
{
name: "trello_get_recent_activity",
arguments: {
limit?: number; // Optional: number of activities to retrieve
}
}

trello_add_card向指定列表添加一张卡片。
{
name: "trello_add_card",
arguments: {
listId: string; // The ID of the list to add to
name: string; // The title of the card
description?: string; // Optional: details of the card
dueDate?: string; // Optional: due date (e.g., ISO8601)
labels?: string[]; // Optional: array of label IDs
}
}

trello_update_card更新卡片的内容。
{
name: "trello_update_card",
arguments: {
cardId: string; // The ID of the card to be updated
name?: string; // Optional: updated title
description?: string; // Optional: updated description
dueDate?: string; // Optional: updated due date (e.g., ISO8601)
labels?: string[]; // Optional: updated array of label IDs
}
}

trello_archive_card归档(关闭)指定的卡片。
{
name: "trello_archive_card",
arguments: {
cardId: string; // The ID of the card to archive
}
}

trello_add_list向看板中添加一个新的列表。
{
name: "trello_add_list",
arguments: {
name: string; // Name of the new list
}
}

trello_archive_list归档(关闭)指定的列表。
{
name: "trello_archive_list",
arguments: {
listId: string; // The ID of the list to archive
}
}

trello_get_my_cards检索与您的账户相关的所有卡片。
{
name: "trello_get_my_cards",
arguments: {}
}

trello_search_all_boards根据计划/权限,在工作区(组织)中的所有看板上执行跨看板搜索。
{
name: "trello_search_all_boards",
arguments: {
query: string; // Search keyword
limit?: number; // Optional: max number of results (default: 10)
}
}

服务器采用令牌桶算法来实现速率限制,以符合 Trello 的 API 限制:
速率限制会自动处理,如果达到限制,请求将被排队。
服务器针对各种场景提供了详细的错误消息:
克隆仓库:
git clone https://github.com/hrs-asano/claude-mcp-trello.git
cd claude-mcp-trello

安装依赖项:
npm install
构建项目:
npm run build
npm test

要将此 MCP 服务器与 Claude Desktop 集成,请在您的 ~/Library/Application\ Support/Claude/claude_desktop_config.json 文件中添加以下配置:
{
"mcpServers": {
"trello": {
"command": "{YOUR_NODE_PATH}", // for example: /opt/homebrew/bin/node
"args": [
"{YOUR_PATH}/claude-mcp-trello/build/index.js"
],
"env": {
"TRELLO_API_KEY": "{YOUR_KEY}",
"TRELLO_TOKEN": "{YOUR_TOKEN}",
"TRELLO_BOARD_ID": "{YOUR_BOARD_ID}"
}
}
}
}

请确保将 {YOUR_NODE_PATH}、{YOUR_PATH}、{YOUR_KEY}、{YOUR_TOKEN} 和 {YOUR_BOARD_ID} 替换为您环境中的适当值。
欢迎贡献!请阅读我们的贡献指南,了解行为准则以及提交拉取请求的流程详情。
本项目根据 MIT 许可证发布 - 详情请参阅 LICENSE 文件。