Trello MCP Server
by shnvt
The Trello MCP Server integrates Trello with AI assistants by exposing Trello API functionality via Model Context Protocol (MCP) tools. This allows AI agents to interact with and manage Trello boards and cards.
View on GitHub
Last updated: N/A
Trello MCP Server
A Model Context Protocol (MCP) server for integrating Trello with AI assistants. This server exposes Trello API functionality via MCP tools that AI agents can use.
Prerequisites
- Node.js (see
.nvmrc
for version) - pnpm (recommended) or npm
- Trello API key and token
Setup
- Clone the repository
git clone <repository-url>
cd trello-mcp-server
- Install dependencies
pnpm install
# or
npm install
- Set up environment variables
cp .env.example .env
Required environment variables:
TRELLO_API_KEY
: Your Trello API keyTRELLO_TOKEN
: Your Trello API tokenTRELLO_BASE_API_URL
: Trello API base URL (default: https://api.trello.com/1)
You can obtain your Trello API key and token from Trello's Developer Portal.
Development
Start the development server with auto-reload:
pnpm dev
# or
npm run dev
Build
Build the project:
pnpm build
# or
npm run build
Usage
Start the server:
pnpm start
# or
npm start
Available MCP Tools
get_trello_cards_by_board_id
: Retrieve all cards from a specific Trello board- Parameters:
boardId
: The ID of the Trello board
- Parameters:
Adding New Tools
To add a new Trello API tool, follow these steps:
- Add a new API method in
src/services/trelloApi.ts
- Register the tool in
src/index.ts
using theserver.tool()
method - Define the input schema using Zod
- Implement the tool handler function
License
ISC