Skip to content

Local stdio

Local stdio is the smallest trust boundary: the MCP client launches the compiled server and communicates over its standard input and output streams. No network listener is opened.

Local stdio configuration
{
"mcpServers": {
"simplelogin": {
"command": "node",
"args": ["/absolute/path/to/simplelogin-mcp/dist/index.js"],
"env": {
"TRANSPORT": "stdio",
"SL_API_KEY": "sl-your-key-here"
}
}
}
}

This JSON illustrates Claude Desktop's stdio shape; other clients use different configuration formats. Run pnpm install --filter simplelogin-mcp --frozen-lockfile && pnpm build first. Stdio does not use MCP_AUTH_TOKEN; keep the client config private because it contains your API key. Use the recipe for your MCP client.

  1. Get and build the server. Clone the project if you do not already have a checkout, then build it:

    Terminal window
    git clone https://github.com/enthouan/simplelogin-mcp.git
    cd simplelogin-mcp
    corepack enable
    pnpm install --filter simplelogin-mcp --frozen-lockfile
    pnpm build
  2. Use an absolute entry path. Point the client at this checkout’s dist/index.js.

  3. Set the transport and key. Create a dedicated key, then pass TRANSPORT=stdio and SL_API_KEY in the server’s child-process environment. To restrict its tools, set SIMPLELOGIN_ENABLED_TOOLS or SIMPLELOGIN_DISABLED_TOOLS there too. Direct Node.js launches do not automatically load .env.

  4. Restart the client. Reopen it so the process configuration is reloaded.

The server writes diagnostics to stderr because stdout is reserved for MCP messages.

The default is the full catalog. See Tool selection for the alias inspection example and other subsets.

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 when upgrading or rolling back the source checkout used by this client configuration.