Trello MCP Server

Trello MCP Server

A 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.

Category
访问服务器

README

Trello MCP Server

A 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.

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn package manager
  • Trello API credentials (API key and token)

Installation

  1. Clone this repository:
git clone <repository-url>
cd trello_mcp_server
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Getting Trello API Credentials

To use this MCP server, you need to obtain your Trello API key and token. Follow these steps:

  1. Visit the Trello REST API documentation
  2. Follow the instructions to create a Power-Up and generate your API credentials
  3. Once you have your API key and token, you'll add them to your MCP client configuration

MCP Client Configuration

This is an MCP (Model Context Protocol) server that needs to be configured in your MCP client (Cursor or Claude Desktop).

For Cursor

Add the following configuration to your Cursor MCP settings:

{
  "mcpServers": {
    "trello-mcp-server": {
      "type": "stdio",
      "command": "node",
      "args": ["<path_to_this_project>/trello_mcp_server/dist/index.js"],
      "env": {
        "TRELLO_API_KEY": "your_api_key",
        "TRELLO_TOKEN": "your_token"
      }
    }
  }
}

For Claude Desktop

Add the following configuration to your Claude Desktop MCP settings:

{
  "mcpServers": {
    "trello-mcp-server": {
      "type": "stdio",
      "command": "node",
      "args": ["<path_to_this_project>/trello_mcp_server/dist/index.js"],
      "env": {
        "TRELLO_API_KEY": "your_api_key",
        "TRELLO_TOKEN": "your_token"
      }
    }
  }
}

Important Notes:

  • Replace <path_to_this_project> with the absolute path to your cloned repository
  • Replace your_api_key and your_token with your actual Trello credentials
  • Make sure the path points to the compiled dist/index.js file

Usage

Once configured in your MCP client (Cursor or Claude Desktop), the Trello MCP server will be automatically available to AI assistants. You can then interact with Trello through natural language commands like:

  • "Show me all my Trello boards"
  • "Create a new card in my project board"
  • "Move the 'Fix bug' card to the 'In Progress' list"
  • "Add a comment to card XYZ"

Using with MCP Inspector

To inspect and test the MCP server:

npm run inspect

API Tools Reference

Board Tools

Tool Description Parameters
get-boards Get all boards for the current user None
get-board-by-name Get a Trello board by name name (string)
get-board-by-id Get a Trello board by ID id (string)
get-lists-by-board-id Get all lists for a specific board id (string)
get-cards-by-board-id Get all cards for a specific board id (string)

List Tools

Tool Description Parameters
get-list-by-id Get a Trello list by ID id (string)
get-cards-by-list-id Get all cards for a specific list id (string)

Card Tools

Tool Description Parameters
create-card Create a new Trello card name (string), listId (string), desc (string, optional), due (string, optional), labels (array, optional)
update-card Update an existing Trello card id (string), name (string, optional), desc (string, optional), due (string, optional)
delete-card Delete a Trello card id (string)
add-comment-to-card Add a comment to a card id (string), text (string)
add-attachment-to-card Add an attachment to a card id (string), attachment (File)
move-card-to-list Move a card to a different list id (string), listId (string)

Example Usage

Here's how an AI assistant can interact with Trello through this MCP server:

Natural Language Commands

  • "Show me all my Trello boards" → Lists all available boards
  • "Find the 'Project Alpha' board" → Searches for a specific board by name
  • "What lists are in my project board?" → Retrieves all lists within a board
  • "Create a new task card in the 'To Do' list" → Adds a new card to a specific list
  • "Update the 'Fix bug' card description" → Modifies existing card details
  • "Move the 'Review PR' card to 'Done'" → Moves cards between lists
  • "Add a comment to card XYZ" → Adds comments to existing cards
  • "Delete the completed card ABC" → Removes cards from boards

Workflow Management

The MCP server enables AI assistants to help with:

  • Project tracking: Moving cards through workflow stages
  • Task management: Creating, updating, and organizing cards
  • Team collaboration: Adding comments and managing card assignments
  • Board organization: Structuring lists and managing board content

Limitations

Note: This MCP server currently provides a limited set of Trello tools. More functionality will be added over time as the project evolves.

Support

For issues and questions:

Security Notes

  • Keep your API credentials secure and never share them
  • The token provides full access to your Trello account
  • Regularly rotate your API credentials
  • Monitor your API usage through Trello's interface

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选