KosmoKrator

sales

Capsule CRM MCP, CLI, and Lua Integration for AI Agents

Capsule CRM integration docs for AI agents: MCP gateway setup, Capsule CRM CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write Bearer token auth

Capsule CRM 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
capsule
route_slug
capsule
package
capsule
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Capsule CRM MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Capsule CRM.

Capsule CRM CLI Matrix

Use these pages for direct Capsule CRM CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
capsule.capsule_list_contacts Read read 2 List contacts (people and organisations) from Capsule CRM. Returns paginated results with contact details.
capsule.capsule_get_contact Read read 1 Retrieve a single contact (person or organisation) from Capsule CRM by ID.
capsule.capsule_create_contact Write write 4 Create a new contact (person or organisation) in Capsule CRM. Provide at least a first name and last name for a person contact.
capsule.capsule_list_opportunities Read read 3 List sales opportunities from Capsule CRM. Optionally filter by status (OPEN, WON, LOST, CLOSED). Returns paginated results.
capsule.capsule_get_opportunity Read read 1 Retrieve a single sales opportunity from Capsule CRM by ID.
capsule.capsule_list_tasks Read read 3 List tasks from Capsule CRM. Optionally filter by status (OPEN, COMPLETED). Returns paginated results.
capsule.capsule_get_current_user Read read 0 Get the currently authenticated Capsule CRM user. Use this to verify credentials or identify the connected account.