productivity
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.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.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
devin.devin_create_session | Write write | 19 | Create a Devin session from a task prompt. Current v3 accounts can pass tags, repositories, playbooks, knowledge IDs, secrets, attachments, title, and user attribution options. |
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 | 17 | List Devin sessions. Current v3 accounts support cursor and timestamp filters; legacy v1 accounts support basic pagination and tag filters. |
devin.devin_send_message | Write write | 3 | 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_terminate_session | Write write | 2 | Terminate an active Devin session by ID. |
devin.devin_list_session_messages | Read read | 3 | List messages for a Devin v3 session with optional cursor pagination. |
devin.devin_list_session_attachments | Read read | 3 | List attachments for a Devin v3 session with optional cursor pagination. |
devin.devin_get_session_tags | Read read | 1 | Get tags attached to a Devin v3 session. |
devin.devin_append_session_tags | Write write | 2 | Append tags to a Devin session. |
devin.devin_get_session_insights | Read read | 1 | Get generated insights for a Devin v3 session. |
devin.devin_generate_session_insights | Write write | 1 | Generate insights for a Devin v3 session. |
devin.devin_get_current_user | Read read | 0 | Get information about the authenticated Devin API principal. Use this to verify the current account, user, or service user. |
devin.devin_list_secrets | Read read | 2 | List Devin v3 organization secrets with optional cursor pagination. Secret values are not returned. |
devin.devin_create_secret | Write write | 5 | Create a Devin v3 organization secret for use in sessions. |
devin.devin_delete_secret | Write write | 1 | Delete a Devin v3 organization secret by ID. |