Docker Compose — Streamable HTTP
Use the operator Compose file to run the published container image.
Stable releases are also available on Docker Hub.
The application listens on
0.0.0.0:3000 inside the container so Docker can forward the port, while the host publishes only
to 127.0.0.1 by default.
git clone https://github.com/enthouan/simplelogin-mcp.gitcd simplelogin-mcpcp .env.example .env# Set SL_API_KEY and MCP_AUTH_TOKEN in .env${EDITOR:-vi} .envgrep -Eq '^SL_API_KEY=.+$' .env || { echo 'Set SL_API_KEY in .env before starting.' >&2; exit 1; }grep -Eq '^MCP_AUTH_TOKEN=.+$' .env || { echo 'Set MCP_AUTH_TOKEN in .env before starting.' >&2; exit 1; }docker compose up -ddocker compose pscurl http://localhost:3000/healthCompose listens on 0.0.0.0:3000 inside the container, publishes only to 127.0.0.1 by default, and the normal startup guard requires MCP_AUTH_TOKEN. Only the explicit unsafe override bypasses that guard.
Configure the two credentials
Section titled “Configure the two credentials”-
Create
.env. Copy.env.example. To restrict the catalog, uncomment one of the tool selection examples. Leave unused settings commented out. Both Compose files accept these settings from.env, a file selected with--env-file, or the shell environment. Exported values take precedence. -
Set
SL_API_KEY. Create a dedicated key, then store it in.env. This authenticates the server to SimpleLogin and grants full account control. -
Generate
MCP_AUTH_TOKEN. Runopenssl rand -hex 32and store the result in.env. -
Start and verify. Run
docker compose up -d, inspectdocker compose ps, then requesthttp://localhost:3000/health. Rundocker compose up -dagain after changing the environment so Compose recreates the container.
Change host exposure deliberately
Section titled “Change host exposure deliberately”Use SIMPLELOGIN_MCP_HOST_PORT for the published host port. Set
SIMPLELOGIN_MCP_HOST_BIND_IP=0.0.0.0 or a LAN address only when wider access is intentional,
MCP_AUTH_TOKEN remains set, and a reverse proxy supplies TLS.
The container listener stays on port 3000; changing the host port does not require changing the
application PORT.
Verify through MCP
Section titled “Verify through MCP”Health only proves that the process is running. Connect an MCP client to http://127.0.0.1:3000/mcp
with the configured bearer token, then verify the exposed tools.
Verify it works
Connect your client to initialize the server, then open its tool list. InMCP Inspector, connect with the same stdio command and environment or the same HTTP URL and bearer token. OpenTools to see the names returned by tools/list. TheProtocol tab shows the response in the server's order.
Compare the returned names with your configured selection. For the alias inspection example, expect exactly alias_list, alias_get, and alias_activity_list, in that order. Discovery makes no SimpleLogin API request.
Use Operations for exact-version upgrades, rollback, credential rotation, inspection, and shutdown.