ai
Devin MCP, CLI, and Lua Integration for AI Agents
Devin integration docs for AI agents: MCP gateway setup, Devin CLI commands, Lua API reference, credentials, and function schemas.
5 functions 3 read 2 write API key auth
Devin 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
devin- route_slug
devin- package
devin- auth_strategy
api_keyAPI key- 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. Devin CLIHeadless setup and direct function calls. Devin 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.
Devin MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Devin.
Claude Code Devin MCP setup for Claude Code. Cursor Devin MCP setup for Cursor. Codex Devin MCP setup for Codex. OpenAI Agents Devin MCP setup for OpenAI Agents SDK. Claude Agent SDK Devin MCP setup for Claude Agent SDK. Vercel AI SDK Devin MCP setup for Vercel AI SDK. LangChain Devin MCP setup for LangChain. LangGraph Devin MCP setup for LangGraph. CrewAI Devin MCP setup for CrewAI. MCP clients Devin MCP setup for Generic MCP Clients.
Devin CLI Matrix
Use these pages for direct Devin CLI workflows in scripts, CI, cron, and agent wrappers.
CI Devin CLI for CI. Cron Jobs Devin CLI for cron jobs. Shell Scripts Devin CLI for shell scripts. Headless Automation Devin CLI for headless automation. Coding Agents Devin CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
devin.devin_create_session | Write write | 2 | Create a new Devin AI session. Provide a task prompt describing what you want Devin to do. Optionally provide an idempotency key to prevent duplicate sessions. |
devin.devin_get_session | Read read | 1 | Retrieve details and current status of a Devin session. Use this to check progress on a task, view the session state, or get the output. |
devin.devin_list_sessions | Read read | 0 | List all Devin sessions. Returns an overview of all sessions including their IDs, statuses, and creation times. |
devin.devin_send_message | Write write | 2 | Send a message to an existing Devin session. Use this to provide additional instructions, ask questions, or guide the AI during an active session. |
devin.devin_get_current_user | Read read | 0 | Get information about the currently authenticated Devin user. Use this to verify the API connection and identify which account is being used. |