productivity
Immigrant MCP, CLI, and Lua Integration for AI Agents
Immigrant integration docs for AI agents: MCP gateway setup, Immigrant CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
Immigrant 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
immigrant- route_slug
immigrant- package
immigrant- 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. Immigrant CLIHeadless setup and direct function calls. Immigrant 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.
Immigrant MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Immigrant.
Claude Code Immigrant MCP setup for Claude Code. Cursor Immigrant MCP setup for Cursor. Codex Immigrant MCP setup for Codex. OpenAI Agents Immigrant MCP setup for OpenAI Agents SDK. Claude Agent SDK Immigrant MCP setup for Claude Agent SDK. Vercel AI SDK Immigrant MCP setup for Vercel AI SDK. LangChain Immigrant MCP setup for LangChain. LangGraph Immigrant MCP setup for LangGraph. CrewAI Immigrant MCP setup for CrewAI. MCP clients Immigrant MCP setup for Generic MCP Clients.
Immigrant CLI Matrix
Use these pages for direct Immigrant CLI workflows in scripts, CI, cron, and agent wrappers.
CI Immigrant CLI for CI. Cron Jobs Immigrant CLI for cron jobs. Shell Scripts Immigrant CLI for shell scripts. Headless Automation Immigrant CLI for headless automation. Coding Agents Immigrant CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
immigrant.immigrant_list_applications | Read read | 3 | List immigration applications. Returns a paginated list of applications, optionally filtered by status. |
immigrant.immigrant_get_application | Read read | 1 | Get details of a specific immigration application by its ID. |
immigrant.immigrant_create_application | Write write | 3 | Create a new immigration application. Requires a type and applicant name. Optionally provide additional details. |
immigrant.immigrant_list_documents | Read read | 3 | List documents for a specific immigration application. Returns a paginated list of documents. |
immigrant.immigrant_get_document | Read read | 1 | Get details of a specific document by its ID. |
immigrant.immigrant_list_statuses | Read read | 0 | List all available immigration application statuses. Use this to understand valid status values for filtering. |
immigrant.immigrant_get_current_user | Read read | 0 | Get the profile of the currently authenticated Immigrant user. Use this to verify credentials and see user details. |