Trello MCP Server (TypeScript)
A TypeScript implementation of a Model Context Protocol (MCP) server for Trello integration, providing tools for AI assistants to interact with Trello boards, lists, and cards.
Features
- Full Trello API integration through MCP tools
- Asynchronous operations for better performance
- Type-safe implementation using TypeScript
- Comprehensive error handling
- Environment-based configuration
Prerequisites
- Node.js 18.x or higher
- npm or yarn
- Trello API credentials
Installation
Configuration
Create a .env
file in the root directory with your Trello credentials:
Available Commands
MCP Tools
get_boards
Retrieves all Trello boards for the authenticated user.
get_lists
Fetches all lists from a specified board.
get_cards
Gets cards from a board or specific list.
get_card_details
Retrieves detailed information about a specific card.
Development
The project uses TypeScript for type safety and better developer experience. The source code is organized as follows:
src/index.ts
- Main server entry pointsrc/trello-client.ts
- Trello API client implementationsrc/types.ts
- TypeScript type definitions
Building
The project uses TypeScript compiler for building:
Error Handling
The server implements comprehensive error handling for:
- API authentication errors
- Rate limiting
- Network issues
- Invalid request parameters
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Using with Cline
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
):
After adding the configuration and restarting Cline, you can use the following MCP tools:
get_boards
: List all Trello boardsget_lists
: Get lists from a boardget_cards
: Get cards from a board or listget_card_details
: Get detailed card information
License
ISC License - See LICENSE file for details
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
TypeScript를 활용하여 유형 안전성과 비동기 작업을 구현하고, Model Context Protocol(MCP) 도구를 통해 Trello 보드, 목록, 카드와의 상호 작용을 지원합니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThis TypeScript-based MCP server allows users to manage and interact with a note system through Model Context Protocol, enabling note creation and summarization with URIs and metadata.Last updated -1JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for interacting with Trello boards, enabling seamless management of cards, lists, and activities while handling rate limiting and type safety.Last updated -109JavaScriptMIT License
- AsecurityAlicenseAqualityEnables seamless integration with Trello boards, allowing users to manage cards, lists, and activities while automatically handling rate limiting and providing type safety.Last updated -9TypeScriptMIT License
- -securityFlicense-qualityA powerful MCP server for interacting with Trello boards, lists, and cards via AI Hosts.Last updated -30Python