Streamable HTTP
Streamable HTTP exposes the MCP endpoint at /mcp, plus process checks at GET /healthz and GET /readyz. For a same-machine source build, the recipe below uses Docker Compose. Direct Node and Compose both default to same-machine access.
git clone https://github.com/enthouan/trello-mcp.gitcd trello-mcpcp .env.example .env# Set TRELLO_API_KEY, TRELLO_TOKEN and a separate random MCP_AUTH_TOKEN in .env${EDITOR:-vi} .envgrep -Eq '^TRELLO_API_KEY=.+$' .env && ! grep -Eq '^TRELLO_API_KEY=replace-me$' .env || { echo 'Set TRELLO_API_KEY to a non-placeholder value in .env before starting.' >&2; exit 1; }grep -Eq '^TRELLO_TOKEN=.+$' .env && ! grep -Eq '^TRELLO_TOKEN=replace-me$' .env || { echo 'Set TRELLO_TOKEN to a non-placeholder value in .env before starting.' >&2; exit 1; }docker compose -f docker-compose.local.yml up --build -d --wait --wait-timeout 120curl -fsS http://127.0.0.1:3000/healthzcurl -fsS http://127.0.0.1:3000/readyzConnect to http://127.0.0.1:3000/mcp. The local Compose file builds the checkout and publishes to host loopback by default. Configure your HTTP client with the same bearer token as the server's MCP_AUTH_TOKEN.
Connect a client
Section titled “Connect a client”-
Start with a loopback publication. Keep Compose’s default
TRELLO_MCP_HOST_BIND_IP=127.0.0.1for same-machine access. -
Verify the process. Request
http://127.0.0.1:3000/healthzandhttp://127.0.0.1:3000/readyz. -
Register the MCP endpoint. Point a Streamable HTTP client at
http://127.0.0.1:3000/mcp. -
Configure the client bearer token. Set the client to send
Authorization: Bearer <token>with the sameMCP_AUTH_TOKENset on the Compose service.
Windows PowerShell
Section titled “Windows PowerShell”git clone https://github.com/enthouan/trello-mcp.gitSet-Location trello-mcpCopy-Item .env.example .env# Set TRELLO_API_KEY, TRELLO_TOKEN and a separate random MCP_AUTH_TOKEN in .envnotepad .envif (-not (Select-String -Path .env -Pattern '^TRELLO_API_KEY=(?!replace-me$).+$' -Quiet)) { throw 'Set TRELLO_API_KEY to a non-placeholder value in .env before starting.'}if (-not (Select-String -Path .env -Pattern '^TRELLO_TOKEN=(?!replace-me$).+$' -Quiet)) { throw 'Set TRELLO_TOKEN to a non-placeholder value in .env before starting.'}docker compose -f docker-compose.local.yml up --build -d --wait --wait-timeout 120Invoke-RestMethod http://127.0.0.1:3000/healthzInvoke-RestMethod http://127.0.0.1:3000/readyzRun Node directly
Section titled “Run Node directly”After building the server, run node --env-file=.env dist/index.js with TRANSPORT=http. The default listener is 127.0.0.1:3000. Set HOST=::1 for IPv6 loopback. For a LAN interface, configure both HOST and MCP_AUTH_TOKEN and terminate TLS at a reverse proxy.
Native clients can omit Origin. Browsers on loopback are allowed. For other browser clients, add their exact origins to MCP_ALLOWED_ORIGINS, for example https://client.example.com. A disallowed origin returns HTTP 403 on any /mcp method.
For a web app, serve the app and /mcp through a same-origin reverse proxy, or configure the proxy to handle CORS preflights and return CORS headers for the trusted web origin.
What each endpoint proves
Section titled “What each endpoint proves”| Endpoint | Purpose | Contacts Trello |
|---|---|---|
/healthz |
Confirms that the HTTP process is running. | No |
/readyz |
Confirms that the server is still accepting requests. | No |
/mcp |
Initializes MCP sessions, discovers tools, and runs approved tools. | Only when a selected tool calls Trello |
MCP_AUTH_TOKEN is a shared-secret guardrail for /mcp; it does not replace HTTPS, prevent every network client from reaching health checks, or change the Trello credentials stored on the server.
Verify through MCP
Section titled “Verify through MCP”Health and readiness do not exercise MCP discovery or Trello. After registering /mcp in a client, verify the complete read-only path.
Verify it works
After the client discovers the server, review and approve only this named read-only call:
Which Trello account is connected? Use auth_whoami and do not change anything.