Trello MCP Server
通过模型上下文协议 (MCP) 工具实现与 Trello 看板、列表和卡片的交互,并利用 TypeScript 确保类型安全和异步操作。
Tools
get_boards
Get all boards for the authenticated user
get_lists
Get all lists in a board
get_cards
Get cards from a board or specific list
get_card_details
Get detailed information about a specific card
update_card
Update properties of a specific card
README
Trello MCP 服务器 (TypeScript)
这是一个使用 TypeScript 实现的 Model Context Protocol (MCP) 服务器,用于 Trello 集成,为 AI 助手提供与 Trello 看板、列表和卡片交互的工具。
功能
- 通过 MCP 工具完整集成 Trello API
- 异步操作以获得更好的性能
- 使用 TypeScript 的类型安全实现
- 完善的错误处理
- 基于环境的配置
前提条件
- Node.js 18.x 或更高版本
- npm 或 yarn
- Trello API 凭据
安装
# 安装依赖
make install
配置
在根目录下创建一个 .env
文件,并填入您的 Trello 凭据:
TRELLO_API_KEY=your_api_key
TRELLO_TOKEN=your_token
可用命令
# 安装依赖
make install
# 构建项目
make build
# 启动服务器
make start
# 清理构建产物
make clean
# 运行 linter
make lint
MCP 工具
get_boards
检索已验证用户的所有 Trello 看板。
// 无需输入参数
get_lists
从指定的看板获取所有列表。
{
"request": {
"board_id": string // 看板的 ID
}
}
get_cards
从看板或特定列表获取卡片。
{
"request": {
"board_id": string, // 看板的 ID
"list_id"?: string // 可选:特定列表的 ID
}
}
get_card_details
检索有关特定卡片的详细信息。
{
"request": {
"card_id": string // 卡片的 ID
}
}
开发
该项目使用 TypeScript 来保证类型安全和更好的开发者体验。 源代码组织如下:
src/index.ts
- 主服务器入口点src/trello-client.ts
- Trello API 客户端实现src/types.ts
- TypeScript 类型定义
构建
该项目使用 TypeScript 编译器进行构建:
# 构建项目
make build
# 输出将在 build/ 目录中
错误处理
服务器实现了全面的错误处理,包括:
- API 身份验证错误
- 速率限制
- 网络问题
- 无效的请求参数
贡献
- Fork 仓库
- 创建您的功能分支 (
git checkout -b feature/amazing-feature
) - 提交您的更改 (
git commit -m 'Add some amazing feature'
) - 推送到分支 (
git push origin feature/amazing-feature
) - 打开一个 Pull Request
与 Cline 一起使用
要将此 MCP 服务器与 Cline 一起使用,请将以下配置添加到您的 Cline MCP 设置文件 (~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
):
{
"mcpServers": {
"trello-ts": {
"command": "node",
"args": ["/path/to/mcp-server-ts-trello/build/index.js"],
"env": {
"TRELLO_API_KEY": "your_api_key",
"TRELLO_TOKEN": "your_token"
}
}
}
}
添加配置并重启 Cline 后,您可以使用以下 MCP 工具:
get_boards
: 列出所有 Trello 看板get_lists
: 从看板获取列表get_cards
: 从看板或列表获取卡片get_card_details
: 获取详细的卡片信息
许可证
ISC 许可证 - 有关详细信息,请参见 LICENSE 文件
推荐服务器
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
Apple MCP Server
通过 MCP 协议与 Apple 应用(如“信息”、“备忘录”和“通讯录”)进行交互,从而使用自然语言发送消息、搜索和打开应用内容。

Supabase MCP Server
一个模型上下文协议(MCP)服务器,它提供对 Supabase 管理 API 的编程访问。该服务器允许 AI 模型和其他客户端通过标准化的接口来管理 Supabase 项目和组织。
@kazuph/mcp-gmail-gas
用于 Gmail 集成的模型上下文协议 (Model Context Protocol, MCP) 服务器。它允许 Claude Desktop(或任何 MCP 客户端)通过 Google Apps Script 与您的 Gmail 帐户进行交互。
MCP Server Trello
通过 Trello API 促进与 Trello 看板的交互,提供速率限制、类型安全、输入验证和错误处理等功能,以实现对卡片、列表和看板活动的无缝管理。
Metabase MCP Server
使人工智能助手能够与 Metabase 数据库和仪表板进行交互,允许用户通过自然语言列出和执行查询、访问数据可视化以及与数据库资源进行交互。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Airtable MCP Server
一个模型上下文协议(Model Context Protocol,MCP)服务器,通过 Claude Desktop 或其他 MCP 客户端,为以编程方式管理 Airtable 数据库、表格、字段和记录提供工具。
MongoDB MCP Server
为LLM提供对MongoDB数据库的只读访问权限,以检查集合模式并执行聚合管道。