MCP ExplorerExplorer

Java Trello Mcp

@RSobrinhoon 22 days ago
1 MIT
FreeCommunity
AI Systems
A Spring Boot app for Trello integration as a Model Composition Platform tool.

Overview

What is Java Trello Mcp

java_trello_mcp is a Spring Boot application that serves as a Model Composition Platform (MCP) tool for integrating with Trello, allowing users to manage Trello cards, lists, and checklists seamlessly.

Use cases

Use cases include automating the creation of Trello cards and lists, retrieving task information from Trello, managing checklists for projects, and integrating Trello functionalities into larger applications.

How to use

To use java_trello_mcp, configure your Trello API credentials either through environment variables or by editing the application properties file. Build the application using Maven and run it to start the MCP server on port 8080.

Key features

Key features include the ability to create and manage Trello cards, lists, and checklists, full integration with Spring AI’s Model Composition Platform, a RESTful API with Swagger UI documentation, and configurable Trello API credentials.

Where to use

java_trello_mcp can be used in project management, task management, and any application that requires integration with Trello for organizing tasks and workflows.

Content

Java Trello MCP

A Spring Boot application that provides Trello integration as a Model Composition Platform (MCP) tool for Spring AI.

Features

  • Create and manage Trello cards, lists, and checklists
  • Fully integrated with Spring AI’s Model Composition Platform
  • RESTful API with Swagger UI documentation
  • Configurable Trello API credentials

Prerequisites

  • Java 24
  • Maven 3.8+
  • Trello account with API access

Configuration

Configure your Trello API credentials using one of these methods:

Environment Variables

export TRELLO_API_KEY=your_api_key
export TRELLO_TOKEN=your_token
export TRELLO_ORGANIZATION_ID=your_organization_id
export TRELLO_BOARD_ID=your_board_id
export TRELLO_BASE_URL=https://api.trello.com/1

Application Properties

Edit src/main/resources/application.yml:

trello_config:
  api_key: your_api_key
  token: your_token
  organization_id: your_organization_id
  board_id: your_board_id
  base_url: https://api.trello.com/1

Running the MCP

  1. Build the application:

    ./mvnw clean package
    
  2. Run the application:

    java -jar target/java_trello_mcp-0.0.1-SNAPSHOT.jar
    

    Or with Maven:

    ./mvnw spring-boot:run
    
  3. The MCP server will start on port 8080

API Documentation

Access Swagger UI documentation at:

http://localhost:8080/swagger-ui.html

Available MCP Tools

The following Trello tools are available for Spring AI:

  • create_card - Create a new Trello card in a specific list
  • create_list - Create a new list on a Trello board
  • get_lists - Get all lists from a Trello board
  • get_cards - Get all cards from a specific list
  • get_checklists - Get all checklists from a specific card
  • create_checklist - Create a new checklist for a card
  • create_check_item - Create a new item in a checklist
  • delete_card - Delete a specific card
  • delete_checklist - Delete a specific checklist
  • delete_check_item - Delete a specific checklist item
  • archive_list - Archive a specific list

MCP Client Configuration

To configure an AI platform (like Claude, Cursor, or others) to use this MCP server, add the following configuration to your MCP client setup:

{
  "mcpServers": {
    "mcp-trello": {
      "command": "java",
      "args": [
        "-jar",
        "C:\\Users\\your_username\\path\\to\\java_trello_mcp-0.0.1-SNAPSHOT.jar"
      ],
      "env": {
        "TRELLO_API_KEY": "your_api_key",
        "TRELLO_TOKEN": "your_token",
        "TRELLO_ORGANIZATION_ID": "your_org_id",
        "TRELLO_BOARD_ID": "your_board_id",
        "TRELLO_BASE_URL": "https://api.trello.com/1"
      }
    }
  }
}

Make sure to:

  1. Update the jar path to match your local environment
  2. Replace the environment variables with your actual Trello credentials
  3. Configure this in your AI platform’s MCP settings

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers