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_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Samsara CLIHeadless setup and direct function calls. Samsara MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Samsara MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Samsara.
Claude Code Samsara MCP setup for Claude Code. Cursor Samsara MCP setup for Cursor. Codex Samsara MCP setup for Codex. OpenAI Agents Samsara MCP setup for OpenAI Agents SDK. Claude Agent SDK Samsara MCP setup for Claude Agent SDK. Vercel AI SDK Samsara MCP setup for Vercel AI SDK. LangChain Samsara MCP setup for LangChain. LangGraph Samsara MCP setup for LangGraph. CrewAI Samsara MCP setup for CrewAI. MCP clients Samsara MCP setup for Generic MCP Clients.
Samsara CLI Matrix
Use these pages for direct Samsara CLI workflows in scripts, CI, cron, and agent wrappers.
CI Samsara CLI for CI. Cron Jobs Samsara CLI for cron jobs. Shell Scripts Samsara CLI for shell scripts. Headless Automation Samsara CLI for headless automation. Coding Agents Samsara CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |