LT

lzvxck/trello-mcp-server

开发工具

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

7 stars 10 forks 质量 61 趋势 15MIT

A Model Context Protocol (MCP) server that connects Trello with AI assistants like Claude Desktop, GitHub Copilot Chat, and other MCP-compatible clients.

概览

A Model Context Protocol (MCP) server that connects Trello with AI assistants like Claude Desktop, GitHub Copilot Chat, and other MCP-compatible clients. - 📋 List all your Trello boards - 🔍 Read board contents (lists and cards) - ➕ Create new cards - 🔄 Move cards between lists - 💬 Add comments to cards - 🗃️ Archive cards - 🔗 Access boards as MCP resources - 🐳 Docker support for easy deployment - Node.js 20+ installed (for local development) - Docker (for containerized deployment) - A Trello account - Trello API credentials (API Key and Token) - Go to https://trello.com/app-key - Copy your API Key 2. - On the same page, click on "Token" link - Authorize the application and copy your Token Add the server configuration to your Claude Desktop config file: %APPDATA%\Claude\claude_desktop_config.json ~/Library/Application Support/Claude/claude_desktop_config.json ~/.config/claude/claude_desktop_config.json For Docker deployment, add this configuration:

README

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

Trello MCP Server

A Model Context Protocol (MCP) server that connects Trello with AI assistants like Claude Desktop, GitHub Copilot Chat, and other MCP-compatible clients.

Features

  • 📋 List all your Trello boards
  • 🔍 Read board contents (lists and cards)
  • ➕ Create new cards
  • 🔄 Move cards between lists
  • 💬 Add comments to cards
  • 🗃️ Archive cards
  • 🔗 Access boards as MCP resources
  • 🐳 Docker support for easy deployment

Prerequisites

  • Node.js 20+ installed (for local development)
  • Docker (for containerized deployment)
  • A Trello account
  • Trello API credentials (API Key and Token)

Installation

Option 1: Local Installation

  1. Clone this repository:
git clone https://github.com/lioarce01/trello-mcp-server.git
cd trello-mcp-server
  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build

Option 2: Docker Installation

  1. Clone this repository:
git clone https://github.com/lioarce01/trello-mcp-server.git
cd trello-mcp-server
  1. Build the Docker image:
docker build -t trello-mcp-server .

Getting Trello API Credentials

  1. Get your API Key:

  2. Get your Token:

    • On the same page, click on “Token” link
    • Authorize the application and copy your Token

Configuration

For Claude Desktop

Local Installation

Add the server configuration to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json

{
  "mcp": {
    "servers": {
      "trello-mcp": {
        "command": "node",
        "args": ["absolute/path/to/the/project/dist/index.js"],
        "env": {
          "TRELLO_API_KEY": "your_api_key",
          "TRELLO_TOKEN": "your_token",
          "TRELLO_BASE_URL": "https://api.trello.com/1"
        }
      }
    }
  }
}

Docker Configuration

For Docker deployment, add this configuration:

{
  "mcp": {
    "servers": {
      "trello-mcp": {
        "command": "docker",
        "args": [
          "run",
          "--rm",
          "-i",
          "-e",
          "TRELLO_API_KEY=your_api_key",
          "-e",
          "TRELLO_TOKEN=your_token",
          "-e",
          "TRELLO_BASE_URL=https://api.trello.com/1",
          "trello-mcp-server"
        ]
      }
    }
  }
}

For VS Code with GitHub Copilot Chat

Local Installation

Add to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "trello-mcp": {
        "command": "node",
        "args": ["absolute/path/to/the/project/dist/index.js"],
        "env": {
          "TRELLO_API_KEY": "your_api_key",
          "TRELLO_TOKEN": "your_token",
          "TRELLO_BASE_URL": "https://api.trello.com/1"
        }
      }
    }
  }
}

Docker Configuration

在 GitHub 查看完整 README

安装

docker run --rm -i -e TRELLO_API_KEY=your_api_key -e TRELLO_TOKEN=your_token -e TRELLO_BASE_URL=https://api.trello.com/1 trello-mcp-server
新手?先看 mcpskill.org 教程 →