other
Samsara MCP Integration for OpenAI Agents SDK
Connect Samsara to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Samsara to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Samsara MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-samsara": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=samsara",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=samsara --write=deny Why Use KosmoKrator Here
Expose only Samsara instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Samsara Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Samsara integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__samsara__samsara_list_vehicles | samsara.samsara_list_vehicles | Read | List fleet vehicles from Samsara. Returns vehicle details including name, VIN, make, model, year, and GPS location. Supports pagination. |
integration__samsara__samsara_get_vehicle | samsara.samsara_get_vehicle | Read | Get detailed information about a specific vehicle by its Samsara ID, including name, VIN, make, model, year, GPS location, and odometer reading. |
integration__samsara__samsara_list_drivers | samsara.samsara_list_drivers | Read | List fleet drivers from Samsara. Returns driver details including name, username, email, phone, and driver license info. Supports pagination. |
integration__samsara__samsara_get_driver | samsara.samsara_get_driver | Read | Get detailed information about a specific driver by their Samsara ID, including name, username, email, phone, and driver license details. |
integration__samsara__samsara_list_sensors | samsara.samsara_list_sensors | Read | List IoT sensors from Samsara. Returns sensor details including name, type, model, connectivity, and current readings. Supports pagination. |
integration__samsara__samsara_get_current_user | samsara.samsara_get_current_user | Read | Get the currently authenticated Samsara user profile, including name, email, role, and organization details. |