shnvt/trello-mcp-server
If you are the rightful owner of trello-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for integrating Trello with AI assistants, exposing Trello API functionality via MCP tools.
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