productivity
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.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.
Agent Surfaces
Machine-Readable Metadata
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_count_message_tokens | Read read | 0 | Count input tokens for a Messages API payload. |
anthropic.anthropic_create_message_batch | Write write | 0 | Create an asynchronous Message Batch. |
anthropic.anthropic_list_message_batches | Read read | 0 | List Message Batches in the API key workspace. |
anthropic.anthropic_get_message_batch | Read read | 0 | Get processing status for one Message Batch. |
anthropic.anthropic_cancel_message_batch | Write write | 0 | Cancel an in-progress Message Batch. |
anthropic.anthropic_delete_message_batch | Write write | 0 | Delete a completed Message Batch. |
anthropic.anthropic_get_message_batch_results | Read read | 0 | Retrieve JSONL results for a completed Message Batch. |
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_files | Read read | 0 | List files in the API key workspace. |
anthropic.anthropic_get_file | Read read | 0 | Get metadata for one Anthropic file. |
anthropic.anthropic_delete_file | Write write | 0 | Delete one Anthropic file. |
anthropic.anthropic_download_file | Read read | 0 | Download content for a downloadable code-execution file. |
anthropic.anthropic_get_organization | Read read | 0 | Get organization information using the Admin API. |
anthropic.anthropic_list_workspaces | Read read | 4 | List Anthropic organization workspaces. Requires an Admin API key. |
anthropic.anthropic_get_workspace | Read read | 1 | Get details for a specific Anthropic organization workspace. Requires an Admin API key. |
anthropic.anthropic_list_users | Read read | 0 | List organization users using the Admin API. |
anthropic.anthropic_get_user | Read read | 0 | Get one organization user using the Admin API. |
anthropic.anthropic_update_user | Write write | 0 | Update an organization user role using the Admin API. |
anthropic.anthropic_remove_user | Write write | 0 | Remove an organization user using the Admin API. |
anthropic.anthropic_list_api_keys | Read read | 0 | List organization API keys using the Admin API. |
anthropic.anthropic_get_api_key | Read read | 0 | Get one organization API key metadata record using the Admin API. |
anthropic.anthropic_get_current_user | Read read | 0 | Backward-compatible alias for Anthropic organization information. Requires an Admin API key. |