Trello MCP Server
Trello MCP 服务器 (TypeScript)
用于 Trello 集成的模型上下文协议 (MCP) 服务器的 TypeScript 实现,为 AI 助手提供与 Trello 板、列表和卡片交互的工具。
特征
通过 MCP 工具实现完整的 Trello API 集成
异步操作以获得更好的性能
使用 TypeScript 的类型安全实现
全面的错误处理
基于环境的配置
Related MCP server: MCP Trello
先决条件
Node.js 18.x 或更高版本
npm 或 yarn
Trello API 凭证
安装
# Install dependencies
make install配置
使用您的 Trello 凭据在根目录中创建一个.env文件:
TRELLO_API_KEY=your_api_key
TRELLO_TOKEN=your_token可用命令
# Install dependencies
make install
# Build the project
make build
# Start the server
make start
# Clean build artifacts
make clean
# Run linter
make lintMCP 工具
获取板
检索经过身份验证的用户的所有 Trello 板。
// No input parameters required获取列表
从指定的板上获取所有列表。
{
"request": {
"board_id": string // ID of the board
}
}获取卡片
从板或特定列表中获取卡片。
{
"request": {
"board_id": string, // ID of the board
"list_id"?: string // Optional: ID of a specific list
}
}获取卡片详情
检索有关特定卡的详细信息。
{
"request": {
"card_id": string // ID of the card
}
}发展
该项目使用 TypeScript 来实现类型安全并提升开发者体验。源代码组织如下:
src/index.ts- 主服务器入口点src/trello-client.ts- Trello API 客户端实现src/types.ts- TypeScript 类型定义
建筑
该项目使用 TypeScript 编译器进行构建:
# Build the project
make build
# The output will be in the build/ directory错误处理
服务器实现了全面的错误处理:
API 身份验证错误
速率限制
网络问题
请求参数无效
贡献
分叉存储库
创建你的功能分支(
git checkout -b feature/amazing-feature)提交您的更改(
git commit -m 'Add some amazing feature')推送到分支(
git push origin feature/amazing-feature)打开拉取请求
与 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 许可证 - 详情请参阅许可证文件
Available Tools
5 toolsget_boardsB
Get all boards for the authenticated user
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden but only states it retrieves boards without detailing behavior. It lacks information on rate limits, pagination, error handling, or what 'all boards' entails (e.g., archived ones). This is inadequate for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no wasted words. It's front-loaded with the core purpose, making it easy to scan and understand quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and a read operation, the description is incomplete. It doesn't explain return values (e.g., board structure), authentication needs, or potential limitations, leaving gaps for an AI agent to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has 0 parameters with 100% schema coverage, so no parameter documentation is needed. The description doesn't add param details, but since there are none, a baseline of 4 is appropriate as it doesn't miss anything required.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Get') and resource ('all boards'), specifying it's for the authenticated user. It distinguishes from siblings like get_card_details and get_cards by focusing on boards rather than cards or lists, though it doesn't explicitly contrast with update_card.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (like authentication), compare with get_lists for list retrieval, or specify scenarios where boards vs. cards are needed, leaving usage context unclear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_card_detailsC
Get detailed information about a specific card
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a read operation ('Get'), implying it's likely non-destructive, but doesn't specify permissions required, rate limits, error handling, or what 'detailed information' entails. This leaves significant gaps for a tool that retrieves data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no wasted words. It's front-loaded with the core action and resource, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and low schema coverage, the description is inadequate. It doesn't explain what 'detailed information' includes, how errors are handled, or any behavioral traits. For a data retrieval tool, this leaves too much uncertainty for reliable agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description implies a 'card_id' is needed ('about a specific card'), which aligns with the single parameter in the schema. However, schema description coverage is 0%, so the description adds minimal value beyond what's inferred from the parameter name. It doesn't explain format, validation, or sourcing of the ID.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get') and resource ('detailed information about a specific card'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'get_cards' (which might list multiple cards) or 'get_boards'/'get_lists', leaving some ambiguity about scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'get_cards' or 'update_card'. It doesn't mention prerequisites (e.g., needing a card ID) or contextual factors, leaving the agent to infer usage from the tool name and parameters alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_cardsC
Get cards from a board or specific list
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the action 'Get cards' without any details on permissions, rate limits, pagination, or response format. This is inadequate for a tool with potential complexity, as it fails to describe how the tool behaves beyond the basic operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence: 'Get cards from a board or specific list'. It is front-loaded with the core action and resource, with no unnecessary words. This makes it highly concise and well-structured for quick understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and low schema coverage, the description is incomplete. It does not address behavioral aspects like safety, response handling, or error conditions, and it lacks differentiation from sibling tools. For a tool that likely returns multiple items, more context on output and usage is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 1 parameter (a nested object with 'board_id' and optional 'list_id'), but schema description coverage is 0%, meaning parameters are undocumented in the schema. The description mentions 'board or specific list', which hints at the parameters but does not explain their semantics, formats, or constraints. This adds minimal value beyond the schema's structure.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool's purpose as 'Get cards from a board or specific list', which is clear but vague. It specifies the verb 'Get' and resources 'cards', but lacks specificity about scope (e.g., all cards, filtered cards) and does not distinguish from siblings like 'get_card_details' or 'get_lists'. This makes it minimally adequate but with gaps in differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It does not mention when to prefer 'get_cards' over 'get_card_details' for detailed card info or 'get_lists' for list-level operations, nor does it specify prerequisites or exclusions. This leaves the agent without clear usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_listsC
Get all lists in a board
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states it 'gets' lists, implying a read operation, but doesn't mention any constraints like permissions needed, rate limits, pagination behavior, or what happens if the board_id is invalid. This leaves significant gaps for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has no annotations, no output schema, and low schema description coverage, the description is incomplete. It doesn't provide enough context about behavior, parameters, or output to adequately guide an AI agent, especially for a tool that interacts with a board system where details like permissions or data format matter.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 0%, with only one parameter 'board_id' documented in the schema without any description. The tool description doesn't add any parameter details beyond what's implied by 'in a board', failing to compensate for the low coverage. It doesn't explain what format board_id should be in or where to find it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and resource 'all lists in a board', making the purpose immediately understandable. It doesn't distinguish from siblings like 'get_boards' or 'get_cards', but it's specific enough to understand what resource is being retrieved.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like 'get_boards' or 'get_cards'. The description only states what it does without context about when it's appropriate or what prerequisites might be needed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_cardC
Update properties of a specific card
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. 'Update' implies a mutation, but it doesn't disclose behavioral traits like required permissions, whether changes are reversible, error handling, or rate limits. It lacks context beyond the basic action, leaving gaps for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's appropriately sized and front-loaded, clearly stating the tool's purpose without unnecessary elaboration, earning its place as concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity as a mutation with nested parameters, no annotations, no output schema, and 0% schema coverage, the description is incomplete. It doesn't explain what properties can be updated, the response format, or behavioral aspects, making it inadequate for safe and effective use by an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It mentions 'properties of a specific card,' which hints at parameters but doesn't detail card_id or update_data. With 1 parameter (a nested object) and no schema descriptions, the description adds minimal meaning beyond the schema, failing to address the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Update properties of a specific card' clearly states the verb ('update') and resource ('specific card'), but it's vague about what properties can be updated and doesn't distinguish from sibling tools like get_card_details or get_cards. It provides a basic purpose but lacks specificity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites, such as needing a card_id from get_cards or get_card_details, or clarify that this is for modifications while siblings are for retrieval. It offers no explicit when/when-not instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v1.0.0- First observed
get_boards - First observed
get_card_details - First observed
get_cards - First observed
get_lists - First observed
update_card
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose targeting specific Trello resources: get_boards (boards), get_lists (lists), get_cards (cards in board/list), get_card_details (specific card details), and update_card (modify card). No ambiguity or overlap exists between these operations.
All tools follow a consistent verb_noun pattern with snake_case: get_boards, get_card_details, get_cards, get_lists, update_card. The naming is predictable and readable throughout the set.
Five tools is reasonable for a Trello server, covering core read operations and one update. It's slightly under-scoped as it lacks create/delete operations for boards, lists, or cards, but the count itself is appropriate for the provided functionality.
The toolset covers read operations well (boards, lists, cards, card details) and one update (card), but there are notable gaps: no create or delete tools for any resources (boards, lists, cards), and missing operations like moving cards between lists or managing members. This limits full lifecycle management.
Maintenance
Related MCP Connectors
Remote MCP for Kanban AI boards—manage projects, tasks, and comments from AI tools.
Task & board management for AI agents + humans. Kanban, comments, digests via MCP.
Manage Timequip projects, tasks, comments, members, and dashboards through MCP.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides tools for interacting with Trello boards, enabling seamless management of cards, lists, and activities while handling rate limiting and type safety.35MIT
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Trello boards through comprehensive card, list, and board management tools. Includes built-in rate limiting, type safety, and support for operations like creating cards, updating details, managing members, and tracking board activity.121 npm10MIT
- AlicenseBqualityCmaintenanceEnables AI agents to manage Trello boards, lists, cards, checklists, and workspace navigation through 23 typed MCP tools, with rate limiting and validation.31MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with access to Trello's functionality. This server enables AI models to interact with Trello boards, lists, and cards programmatically.135 npm1ISC