The Trello MCP Server provides a Model Context Protocol implementation for Trello integration, allowing AI assistants to interact with Trello boards, lists, and cards through a structured interface.
Install dependencies using the provided Makefile:
make install
Create a .env
file in the root directory with your Trello credentials:
TRELLO_API_KEY=your_api_key
TRELLO_TOKEN=your_token
Use the Makefile to build and start the server:
# Build the project first
make build
# Start the server
make start
The project includes several useful make commands:
# Install dependencies
make install
# Build the project
make build
# Start the server
make start
# Clean build artifacts
make clean
# Run linter
make lint
The server provides the following MCP tools for interacting with Trello:
Retrieves all Trello boards for the authenticated user.
// No input parameters required
Fetches all lists from a specified board.
{
"request": {
"board_id": string // ID of the board
}
}
Gets cards from a board or specific list.
{
"request": {
"board_id": string, // ID of the board
"list_id"?: string // Optional: ID of a specific list
}
}
Retrieves detailed information about a specific card.
{
"request": {
"card_id": string // ID of the card
}
}
To use this MCP server with Cline, add the following configuration to your Cline MCP settings file (~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
):
{
"mcpServers": {
"trello-ts": {
"command": "node",
"args": ["/path/to/mcp-server-ts-trello/build/index.js"],
"env": {
"TRELLO_API_KEY": "your_api_key",
"TRELLO_TOKEN": "your_token"
}
}
}
}
After adding the configuration and restarting Cline, you can use the MCP tools listed above to interact with your Trello boards, lists, and cards.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.