Skip to content

Operate trello-mcp

Use this guide for routine inspection, exact-version upgrades, rollback, credential rotation, and shutdown after trello-mcp is already connected. The commands assume the published-image Docker Compose path from the published-image quick start. For a local image, add -f docker-compose.local.yml to the relevant Compose commands.

Keep operational output private. Do not post .env, resolved Compose configuration, authorization headers, raw MCP traffic, private Trello data, or unredacted logs. The commands below avoid printing configured credentials, but logs and resource identities can still contain private information.

  1. Record the running image and the exact tag configured in your private deployment settings:

    Terminal window
    docker compose images trello-mcp

    Do not use docker compose config as a diagnostic export: its resolved output can include secrets. For reproducible upgrades and rollback, set TRELLO_MCP_IMAGE_TAG to an available exact X.Y.Z release rather than latest or the moving X.Y tag.

  2. Read the target release notes and check for configuration, transport, or client-compatibility changes.

  3. Confirm that you still have the previous exact image tag and access to the operator-managed secret store, Compose overrides, reverse-proxy settings, and attachment staging directory, if used. The server itself has no database to back up.

  4. Plan for clients to reconnect. Streamable HTTP session IDs live only in the running process and are invalid after a restart.

Start with process and container state:

Terminal window
docker compose ps
docker compose logs --tail=100 trello-mcp

Follow new logs only while reproducing one narrow operation:

Terminal window
docker compose logs --tail=100 --follow trello-mcp

Review excerpts before sharing them. The logger redacts known credential and request-location fields, but Trello resource IDs and other account-specific metadata can still be private.

For Streamable HTTP, check both unauthenticated status endpoints on the host address and port you published:

Terminal window
curl http://127.0.0.1:3000/healthz
curl http://127.0.0.1:3000/readyz

/healthz proves that the HTTP process is serving requests. /readyz proves that it is accepting work. Neither endpoint validates Trello credentials, initializes MCP, or lists tools. After connecting through an MCP client, run the read-only auth_whoami tool to confirm the expected Trello member, then auth_token_info to inspect the token owner, expiration, and permissions.

On a reduced catalog, choose a read-only tool available to that instance. When all selected tools are disabled, initialization and tools/list still succeed. The empty array confirms the selection. Checking Trello access requires an instance with an appropriate read tool enabled. See Troubleshooting when one of those boundaries fails.

When stdio connects or the HTTP listener binds successfully, the process writes one newline-delimited JSON server_ready record to stderr before serving MCP requests. This record came from an HTTP process with three tools enabled.

{"level":"info","timestamp":"2026-12-06T11:11:43.372Z","event":"server_ready","server":"trello-mcp","version":"1.0.5","transport":"http","tool_count":3,"tools":["board_lists","card_get","list_cards"]}

timestamp is UTC. The tools array lists every effective public name in alphabetical order. To compare it with a client, collect every tools/list page by following nextCursor, sort the discovered names, and compare the array and its length with tools and tool_count. Opening another HTTP session, listing tools again, or making a call does not repeat the event.

A nonempty catalog logs at info, including when filtered. An empty catalog logs at warn with "tool_count":0 and "tools":[]. Both are visible at the default LOG_LEVEL=info. A higher threshold suppresses records below that level, and silent suppresses readiness entirely. Readiness confirms local transport setup. Verifying Trello credentials requires a separate upstream call.

Invalid selectors produce a configuration_error record on stderr before the process exits. Its issues array identifies each setting, the one-based position in its comma-separated value, and the reason (blank or unknown). Configuration failures are reported even at LOG_LEVEL=silent. Ordinary HTTP request and shutdown logs continue to use stdout. All stdio logs use stderr.

Set TRELLO_ENABLED_TOOLS or TRELLO_DISABLED_TOOLS in the server’s environment. For example, TRELLO_DISABLED_TOOLS=card_delete removes permanent card deletion from discovery and direct calls. Check the names against the built-in catalog before restarting the server.

For Compose, update the private .env or shell environment and run docker compose up -d --wait --wait-timeout 120 to recreate the service. For stdio, relaunch the server through the client. Reconnect HTTP clients to start fresh sessions, then run tools/list to verify the names. Keep separate server processes or containers when workflows require different selections.

Before upgrading an existing tokenless Compose HTTP installation, set a separate random MCP_AUTH_TOKEN on the server and configure the same bearer token on each MCP client. Both Compose manifests bind inside the container to 0.0.0.0; this requires authentication by default even when Docker publishes only to 127.0.0.1 on the host. Update the deployment to use the new Compose manifest when changing the image.

  1. Set TRELLO_MCP_IMAGE_TAG in the deployment’s ignored .env or secret source to the target exact X.Y.Z release.

  2. Pull that image and recreate the service:

    Terminal window
    docker compose pull trello-mcp
    docker compose up -d --wait --wait-timeout 120
  3. Inspect docker compose ps, then check /healthz and /readyz.

  4. Reconnect each MCP client so it initializes a new HTTP session and discovers the current tool list.

  5. Run auth_whoami and auth_token_info before a write. Confirm the expected member, token permissions, and expiration without creating Trello data.

The Compose update sends the container a termination signal. trello-mcp stops accepting new work, waits for in-flight HTTP work, closes its MCP sessions, and exits. A client whose request was interrupted should inspect the target in Trello before retrying; the server does not provide a cross-tool transaction or automatic rollback.

The latest image tag follows successful main branch builds. A Git push starts image publishing; it does not itself update a running container.

If a deployment manager such as Komodo receives GitHub push webhooks, target the stack’s deployment operation rather than a repository clone or pull operation. Restrict deployments to the intended branch and ensure the stack pulls its configured image even when the Compose file has not changed.

A push webhook can arrive before the new image is available in GHCR. Use a deployment trigger after successful image publication, or enable image polling and automatic updates, so an early webhook does not leave the old image running. Verify the deployed image’s org.opencontainers.image.revision label against the intended commit, then repeat the health, readiness, and read-only MCP checks above. A successful webhook response alone is not deployment proof.

Keep webhook secrets and deployment URLs in the deployment manager’s private configuration. Retain the previous image digest for rollback, and expect MCP clients to reconnect after an automatic update.

Rollback changes the server version, not Trello mutations that already succeeded.

  1. Restore the previously recorded exact X.Y.Z value of TRELLO_MCP_IMAGE_TAG.

  2. Pull and recreate that version:

    Terminal window
    docker compose pull trello-mcp
    docker compose up -d --wait --wait-timeout 120
  3. Repeat the health, readiness, client reconnection, and read-only authentication checks from the upgrade procedure.

Do not roll back by changing to latest: it follows the current main image and is not a record of the previous deployment. If a newer release made a Trello change through a tool call, restore or reverse that data explicitly in Trello where possible.

The Trello credentials and HTTP bearer token protect different boundaries. Rotate them independently and restart the server after changing its environment.

For a planned token rotation:

  1. Use Trello API key to authorize a replacement token for the intended Trello member. If the app API key itself is being replaced, create a token from that replacement key and update both values together.

  2. Replace TRELLO_TOKEN, and TRELLO_API_KEY when applicable, in the private server secret source.

  3. Recreate the service so the process reads the new environment:

    Terminal window
    docker compose up -d --force-recreate --wait --wait-timeout 120
  4. Reconnect the MCP client. Run auth_whoami and auth_token_info to verify the member and access represented by the replacement.

  5. Revoke the superseded Trello authorization after the replacement succeeds.

If a token may be exposed, revoke it immediately and accept the service interruption instead of keeping it active for a staged handoff. Never print the environment or include a credential in an inspection command.

MCP_AUTH_TOKEN protects only Streamable HTTP requests to /mcp; it is not sent to Trello and has no effect on stdio.

  1. Generate a new strong value in your password manager or secrets system.

  2. Replace MCP_AUTH_TOKEN on the server and the corresponding bearer secret in every authorized HTTP client.

  3. Recreate the service:

    Terminal window
    docker compose up -d --force-recreate --wait --wait-timeout 120
  4. Restart or reconnect clients and confirm tool discovery. Requests carrying the old bearer value should now receive 401 unauthorized.

Keep HTTPS and the deployment’s network boundary in place. Rotating this shared secret does not encrypt traffic, create per-client identities, or narrow the permissions of the configured Trello member.

Stop the container while preserving its Compose resources:

Terminal window
docker compose stop trello-mcp

Stop and remove every service container and the network in this Compose project:

Terminal window
docker compose down

The checked-in project contains only trello-mcp, but docker compose down also removes sidecars added through private overrides. Stop only the named service when other project services must keep running. Do not add -v as a routine shutdown step: operators may add their own volumes in private overrides. docker compose down does not remove the image, ignored .env, external secret store, or files in an operator-managed attachment directory. Remove those separately only after resolving their exact location and retention requirements.

For stdio, the MCP client owns the child process. Fully quit or disable the client’s server entry instead of starting and stopping a second background copy. For a direct HTTP process, use the service manager that launched it and allow SIGTERM to complete rather than force-killing it during active work.

trello-mcp is stateless with respect to persistent Trello data:

  • Trello remains the source of truth for boards, cards, lists, comments, checklists, attachments, and other resources.
  • Streamable HTTP sessions are process-local and disappear on restart. They are connection state, not data to restore; clients must initialize again.
  • The server has no application database, schema migrations, or built-in backup and restore procedure.
  • Back up operator-owned deployment material according to your own policy: secret-manager records, Compose overrides, reverse-proxy configuration, firewall rules, and release/tag records. Store secret backups encrypted and access-controlled.
  • TRELLO_ATTACHMENT_UPLOAD_ROOT is an operator-managed staging directory, not a server data store. The server reads a requested file but does not manage its lifecycle. Back up files only when your workflow requires it, and remove sensitive staging files according to your retention policy.
  • Logs are owned by the process manager, container runtime, or logging service. Set retention and access controls there, and sanitize any export.

Back up Trello content using Trello’s supported account or Workspace features when required. Copying the trello-mcp container does not back up Trello.

Use a clean checkout and an exact release tag when reproducibility matters. Replace vX.Y.Z below with the target tag:

Terminal window
git fetch --tags
git switch --detach vX.Y.Z
corepack enable
corepack prepare pnpm@10.34.1 --activate
corepack pnpm install --frozen-lockfile
corepack pnpm build:clean

Do not switch a checkout with uncommitted work merely to upgrade a running service; use a separate clean checkout or container deployment instead.

For stdio, fully restart the MCP client so it launches the rebuilt dist/index.js, then confirm tool discovery and run auth_whoami. For a direct HTTP process, restart it through its service manager, check /healthz and /readyz, and reconnect clients. If the update fails, return the clean checkout to the previously recorded exact tag, rebuild, and repeat those checks.