Trello MCP Server

Trello MCP Server

Enables Claude to interact with Trello boards, lists, cards, comments, and attachments through natural language commands. Uses Nango OAuth authentication to provide complete Trello API coverage including creation, updates, search, and project management operations.

Category
访问服务器

README

Trello MCP Server

A Model Context Protocol (MCP) server that provides seamless integration between Claude and Trello via Nango authentication. This server enables Claude to interact with your Trello boards, lists, cards, and more through natural language commands.

🚀 Features

  • Complete Trello API Coverage: Manage boards, lists, cards, comments, and attachments
  • Secure Authentication: Uses Nango for OAuth authentication with Trello
  • Real-time Operations: Create, read, update, and delete Trello items instantly
  • Search Functionality: Search across boards, cards, and members
  • Error Handling: Robust error handling with automatic credential refresh

📋 Available Tools

Board Operations

  • trello_get_my_boards - Get all your boards
  • trello_get_board - Get specific board details
  • trello_create_board - Create new boards
  • trello_update_board - Update board information
  • trello_delete_board - Delete boards
  • trello_get_board_lists - Get all lists on a board
  • trello_get_board_cards - Get all cards on a board
  • trello_get_board_members - Get board members

List Operations

  • trello_create_list - Create new lists
  • trello_update_list - Update list details
  • trello_archive_list - Archive lists
  • trello_get_list_cards - Get cards in a specific list

Card Operations

  • trello_create_card - Create new cards
  • trello_get_card - Get card details
  • trello_update_card - Update cards (including moving between lists)
  • trello_delete_card - Delete cards
  • trello_add_comment_to_card - Add comments to cards
  • trello_add_attachment_to_card - Add attachments to cards

Search & Discovery

  • trello_search - Search across Trello for boards, cards, members, etc.

🛠️ Installation

Prerequisites

  1. Python 3.13+ installed on your system
  2. Nango account with Trello integration configured
  3. Trello API credentials (Client ID)

Step 1: Clone and Setup

git clone <your-repo-url>
cd trello-mcp

Step 2: Install Dependencies

Using UV (recommended):

uv sync

Or using pip:

pip install -e .

Step 3: Environment Configuration

Create a .env file in the project root:

# Nango Configuration
NANGO_BASE_URL=https://api.nango.dev
NANGO_SECRET_KEY=your_nango_secret_key_here
NANGO_CONNECTION_ID=your_user_connection_id
NANGO_INTEGRATION_ID=trello

# Trello Configuration
TRELLO_CLIENT_ID=your_trello_api_key_here

# Optional: Enable debug mode
DEBUG=false

Step 4: Configure Claude Desktop

Add the following configuration to your Claude Desktop config file:

Location of config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "trello": {
      "command": "uvx",
      "args": ["git+https://github.com/ampcome-mcps/trello-mcp.git"],
      "env": {
        "NANGO_BASE_URL": "https://api.nango.dev",
        "NANGO_SECRET_KEY": "your_nango_secret_key_here",
        "NANGO_CONNECTION_ID": "your_user_connection_id",
        "NANGO_INTEGRATION_ID": "trello",
        "TRELLO_CLIENT_ID": "your_trello_api_key_here"
      }
    }
  }
}

🔧 Setup Guide

Getting Your Credentials

1. Nango Setup

  1. Sign up at Nango.dev
  2. Create a new integration for Trello
  3. Configure OAuth settings
  4. Get your NANGO_SECRET_KEY from the dashboard
  5. Set up a connection and note the NANGO_CONNECTION_ID

2. Trello API Key

  1. Go to Trello Developer Portal
  2. Get your API Key (this becomes your TRELLO_CLIENT_ID)

Testing the Installation

  1. Test the server directly:

    uv run trello-mcp
    
  2. Check Claude Desktop:

    • Restart Claude Desktop
    • Look for the Trello tools in the tool palette
    • Try asking: "Show me my Trello boards"

💡 Usage Examples

Once configured, you can interact with Trello through Claude using natural language:

Basic Operations

  • "Show me all my Trello boards"
  • "Create a new board called 'Project Planning'"
  • "What lists are on my 'Work Tasks' board?"
  • "Add a card called 'Review PR' to the 'To Do' list"

Advanced Operations

  • "Move the card 'Bug Fix' from 'In Progress' to 'Done'"
  • "Add a comment to the card about updating documentation"
  • "Search for all cards containing 'urgent'"
  • "Create a new list called 'Blocked' on my current project board"

Project Management

  • "Set up a new project board with lists: Backlog, To Do, In Progress, Review, Done"
  • "Show me all cards assigned to me across all boards"
  • "Archive the completed sprint list"

🔍 Troubleshooting

Common Issues

  1. "Missing required environment variables" error

    • Ensure all required variables are set in your .env file
    • Check that the config in Claude Desktop matches your environment
  2. Authentication failures

    • Verify your Nango integration is properly configured
    • Check that your Trello API key is correct
    • Ensure the Nango connection is active
  3. Server not appearing in Claude

    • Restart Claude Desktop after configuration changes
    • Check the file path in the Claude config is correct
    • Verify the uv command is available in your PATH
  4. Tool execution fails

    • Check the server logs for detailed error messages
    • Verify your Trello permissions allow the requested operations

Debug Mode

Enable debug logging by setting DEBUG=true in your .env file for detailed operation logs.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Setup

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

If you encounter any issues:

  1. Check the troubleshooting section above
  2. Review the MCP documentation
  3. Check Nango documentation
  4. Open an issue in this repository

🔗 Related Links

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选