KosmoKrator

other

Samsara MCP Gateway for AI Agents

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

6 functions 6 read 0 write Bearer token auth

Samsara MCP Gateway

Expose Samsara to MCP clients with `kosmokrator mcp:serve --integration=samsara`.

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=samsara --write=deny --json
{
  "mcpServers": {
    "kosmokrator-samsara": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=samsara",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__samsara__samsara_list_vehicles samsara.samsara_list_vehicles Read read
integration__samsara__samsara_get_vehicle samsara.samsara_get_vehicle Read read
integration__samsara__samsara_list_drivers samsara.samsara_list_drivers Read read
integration__samsara__samsara_get_driver samsara.samsara_get_driver Read read
integration__samsara__samsara_list_sensors samsara.samsara_list_sensors Read read
integration__samsara__samsara_get_current_user samsara.samsara_get_current_user 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.