trello-mcp-server
0
The Trello MCP Server is designed to integrate Trello with AI assistants by providing API functionality through MCP tools. It facilitates easy access to Trello boards and cards for AI agents.
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