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 local Compose file is the documented path because Docker publishes the host port to loopback by default.
git clone https://github.com/enthouan/trello-mcp.gitcd trello-mcpcp .env.example .env# Set TRELLO_API_KEY and TRELLO_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 keeps the host publication on loopback by default.
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. -
Add authorization when configured. Send
Authorization: Bearer <token>on every MCP request whenever the server setsMCP_AUTH_TOKEN.
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 and TRELLO_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/readyzWhat 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.