Skip to content

Install and run

Start with the smallest deployment shape that fits where your MCP client runs. Local stdio opens no network listener. Docker Compose and Streamable HTTP provide a persistent service when you need one.

  • A Trello account with an API key and token.
  • Docker with Docker Compose, or Node.js 24.x with the repository’s pinned pnpm version.
  • An MCP client that supports Streamable HTTP or stdio.
  1. Create the Trello credentials. Create an API key and token, then keep TRELLO_API_KEY and TRELLO_TOKEN in an ignored .env, client secret store, or deployment secret.

  2. Build or start the server. Use local stdio for a client-launched process, the published Docker Compose service for a persistent installation, or the local Compose build when you want to run checked-out source over HTTP.

  3. Configure the MCP client. For stdio, use an absolute path to the built dist/index.js. For Streamable HTTP, point the client at the running /mcp endpoint and add its separate bearer token when MCP_AUTH_TOKEN is configured.

  4. Restart and verify. Restart the client, confirm that it discovers the trello-mcp tools, then review and approve only the supplied read-only auth_whoami call. Health endpoints alone verify the process, not the complete MCP and Trello path.

First choose the trust boundary between the MCP client and trello-mcp. Both transports expose the same tool catalog.

TransportChoose it whenServer shape
Local stdioThe MCP client and a built checkout run on the same machine. The client launches the server as a child process, and no network listener opens.Build the source once, then configure the client with absolute executable and entry paths.
Streamable HTTPThe server should run continuously or serve a separately managed client.Prefer the published image with an exact X.Y.Z tag. Build the image locally when you specifically want to run checked-out source.

The copy-paste shell commands below are labeled for macOS/Linux. Windows users can use WSL2 or the PowerShell commands in the detailed HTTP guides. The stdio build commands work in PowerShell as written.

Cross-platform MCP client process configuration
{
"mcpServers": {
"trello": {
"command": "node",
"args": ["/absolute/path/to/trello-mcp/dist/index.js"],
"env": {
"TRANSPORT": "stdio",
"TRELLO_API_KEY": "replace-with-your-api-key",
"TRELLO_TOKEN": "replace-with-your-token"
}
}
}
}

Build the checkout first. Stdio opens no network listener and does not use MCP_AUTH_TOKEN; keep the client configuration private because it contains the Trello credentials.

Read the complete Local stdio guide →

The five quick recipes below configure Codex, Claude Code, Claude Desktop, VS Code, or OpenCode for local stdio. If you chose Streamable HTTP, use the complete client setup guide and select that transport for your client. For MCP Inspector and other clients, use the manual-client guidance.

Codex reads MCP servers from TOML and can forward already exported credentials without writing their values into the configuration file.

Where to configure it: Add these tables to ~/.codex/config.toml.

~/.codex/config.toml
[mcp_servers.trello]
command = "node"
args = ["/absolute/path/to/trello-mcp/dist/index.js"]
env_vars = ["TRELLO_API_KEY", "TRELLO_TOKEN"]
[mcp_servers.trello.env]
TRANSPORT = "stdio"

Reload the client: Start a new Codex session, then run codex mcp list or use /mcp to confirm that trello is connected.

Configuration syntax: Codex MCP documentation.

Verify it works

After the client discovers the server, review and approve only this named read-only call:

Read-only verification prompt
Which Trello account is connected? Use auth_whoami and do not change anything.

The recipes reflect the current client setup guide and its documented evidence. They are not all represented as live compatibility tests. See the compatibility record for the exact client versions, transports, and test boundaries.