ai
Anthropic MCP, CLI, and Lua Integration for AI Agents
Anthropic integration docs for AI agents: MCP gateway setup, Anthropic CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write API key auth
Anthropic 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
anthropic- route_slug
anthropic- package
anthropic- 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. Anthropic CLIHeadless setup and direct function calls. Anthropic 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.
Anthropic MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Anthropic.
Claude Code Anthropic MCP setup for Claude Code. Cursor Anthropic MCP setup for Cursor. Codex Anthropic MCP setup for Codex. OpenAI Agents Anthropic MCP setup for OpenAI Agents SDK. Claude Agent SDK Anthropic MCP setup for Claude Agent SDK. Vercel AI SDK Anthropic MCP setup for Vercel AI SDK. LangChain Anthropic MCP setup for LangChain. LangGraph Anthropic MCP setup for LangGraph. CrewAI Anthropic MCP setup for CrewAI. MCP clients Anthropic MCP setup for Generic MCP Clients.
Anthropic CLI Matrix
Use these pages for direct Anthropic CLI workflows in scripts, CI, cron, and agent wrappers.
CI Anthropic CLI for CI. Cron Jobs Anthropic CLI for cron jobs. Shell Scripts Anthropic CLI for shell scripts. Headless Automation Anthropic CLI for headless automation. Coding Agents Anthropic CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
anthropic.anthropic_list_messages | Read read | 4 | List messages in the Anthropic conversation history. Returns paginated message resources with optional filtering by model, date, and ID. |
anthropic.anthropic_create_message | Write write | 8 | Send a prompt to Claude and receive an AI-generated response. Supports multi-turn conversations, system prompts, temperature control, and configurable output length. |
anthropic.anthropic_list_models | Read read | 3 | List available Anthropic AI models. Returns model identifiers, creation dates, and display names. |
anthropic.anthropic_get_model | Read read | 1 | Get detailed information about a specific Anthropic model, including its display name, creation date, and capabilities. |
anthropic.anthropic_list_workspaces | Read read | 3 | List Anthropic workspaces. Returns workspace identifiers, names, and configuration details. |
anthropic.anthropic_get_workspace | Read read | 1 | Get detailed information about a specific Anthropic workspace, including its name, configuration, and usage settings. |
anthropic.anthropic_get_current_user | Read read | 0 | Get the authenticated user's profile and account information. |