KosmoKrator

other

Strava MCP Gateway for AI Agents

Expose Strava tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

6 functions 5 read 1 write Bearer token auth

Strava MCP Gateway

Expose Strava to MCP clients with `kosmokrator mcp:serve --integration=strava`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=strava --write=deny --json
{
  "mcpServers": {
    "kosmokrator-strava": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=strava",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

kosmokrator mcp:serve --integration=strava --write=deny

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__strava__strava_create_activity strava.strava_create_activity Write write
integration__strava__strava_get_activity strava.strava_get_activity Read read
integration__strava__strava_get_athlete strava.strava_get_athlete Read read
integration__strava__strava_get_current_user strava.strava_get_current_user Read read
integration__strava__strava_list_activities strava.strava_list_activities Read read
integration__strava__strava_list_clubs strava.strava_list_clubs Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.