KosmoKrator

other

Samsara MCP, CLI, and Lua Integration for AI Agents

Samsara integration docs for AI agents: MCP gateway setup, Samsara CLI commands, Lua API reference, credentials, and function schemas.

6 functions 6 read 0 write Bearer token auth

Samsara for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
samsara
route_slug
samsara
package
samsara
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Samsara MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Samsara.

Samsara CLI Matrix

Use these pages for direct Samsara CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
samsara.samsara_list_vehicles Read read 2 List fleet vehicles from Samsara. Returns vehicle details including name, VIN, make, model, year, and GPS location. Supports pagination.
samsara.samsara_get_vehicle Read read 1 Get detailed information about a specific vehicle by its Samsara ID, including name, VIN, make, model, year, GPS location, and odometer reading.
samsara.samsara_list_drivers Read read 2 List fleet drivers from Samsara. Returns driver details including name, username, email, phone, and driver license info. Supports pagination.
samsara.samsara_get_driver Read read 1 Get detailed information about a specific driver by their Samsara ID, including name, username, email, phone, and driver license details.
samsara.samsara_list_sensors Read read 2 List IoT sensors from Samsara. Returns sensor details including name, type, model, connectivity, and current readings. Supports pagination.
samsara.samsara_get_current_user Read read 0 Get the currently authenticated Samsara user profile, including name, email, role, and organization details.