HA

hrs-asano/claude-mcp-trello

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

35 stars 21 forks 质量 78 趋势 16MIT

hrs-asano/claude-mcp-trello 是从 https://github.com/hrs-asano/claude-mcp-trello. 导入的 MCP 服务器候选服务器。

概览

hrs-asano/claude-mcp-trello 是从 https://github.com/hrs-asano/claude-mcp-trello. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,提供与 Trello 板子交互的工具。该服务器实现与 Trello API 的无缝集成,同时自动处理速率限制、类型安全和错误处理。

特色

  • 完整Trello板集成:与卡片、列表和板块活动互动
  • 内置速率限制:尊重Trello的API限制(每个API密钥300请求/10秒,每个令牌100请求/10秒)
  • 类型安全实现:用TypeScript编写,包含全面的类型定义
  • 输入验证:对所有API输入进行稳健验证
  • 错误处理:优雅的错误处理,信息丰富

可用工具

trello_get_cards_by_list

检索指定列表ID中包含的卡片列表。

trello_get_lists

检索指定棋盘中的所有列表。

trello_get_recent_activity

检索指定棋盘的最新活动。limit 参数可以指定要检索多少活动(默认:10)。

trello_add_card

向指定的列表添加一张牌。

trello_update_card

更新卡片内容。

trello_archive_card

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Claude MCP Trello

A Model Context Protocol (MCP) server that provides tools for interacting with Trello boards. This server enables seamless integration with Trello’s API while handling rate limiting, type safety, and error handling automatically.

Features

  • Full Trello Board Integration: Interact with cards, lists, and board activities
  • Built-in Rate Limiting: Respects Trello’s API limits (300 requests/10s per API key, 100 requests/10s per token)
  • Type-Safe Implementation: Written in TypeScript with comprehensive type definitions
  • Input Validation: Robust validation for all API inputs
  • Error Handling: Graceful error handling with informative messages

Available Tools

trello_get_cards_by_list

Retrieves a list of cards contained in the specified list ID.

{
  name: "trello_get_cards_by_list",
  arguments: {
    listId: string; // Trello list ID
  }
}

trello_get_lists

Retrieves all lists in the specified board.

{
  name: "trello_get_lists",
  arguments: {
    boardId: string; // The ID of the Trello board to get lists from
  }
}

trello_get_recent_activity

Retrieves the most recent activity for a specified board. The limit argument can specify how many to retrieve (default: 10).

{
  name: "trello_get_recent_activity",
  arguments: {
    boardId: string; // The ID of the Trello board to get activity from
    limit?: number;  // Optional: number of activities to retrieve
  }
}

trello_add_card

Adds a card to the specified list.

{
  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

Updates the content of a 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

Archives (closes) the specified card.

{
  name: "trello_archive_card",
  arguments: {
    cardId: string; // The ID of the card to archive
  }
}

trello_add_list

Adds a new list to the specified board.

{
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "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}" } } } }