sales
Actively MCP Integration for LangChain
Connect Actively to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Actively to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Actively MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-actively": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=actively",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=actively --write=deny Why Use KosmoKrator Here
Expose only Actively instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Actively Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Actively integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__actively__actively_list_organizations | actively.actively_list_organizations | Read | List organizations you have access to in Actively. Returns organization names and UUIDs needed for campaign and contact operations. Paginate with limit and page parameters. |
integration__actively__actively_get_current_user | actively.actively_get_current_user | Read | Get the authenticated user's profile from Actively. Returns user name, email, role, and organization memberships. |
integration__actively__actively_list_campaigns | actively.actively_list_campaigns | Read | List campaigns for an organization in Actively. Returns campaign details including title, type, status, and date range. Paginate with limit and page parameters. |
integration__actively__actively_get_campaign | actively.actively_get_campaign | Read | Get details of a specific campaign in Actively. Returns the campaign title, type, status, date range, and all associated metadata. |
integration__actively__actively_create_campaign | actively.actively_create_campaign | Write | Create a new campaign for an organization in Actively. Specify the campaign title, type (e.g., "email", "social", "ads"), and the start and end dates. |
integration__actively__actively_list_contacts | actively.actively_list_contacts | Read | List contacts for an organization in Actively. Returns contact details including name, email, phone, and any associated metadata. Paginate with limit and page parameters. |
integration__actively__actively_get_contact | actively.actively_get_contact | Read | Get details of a specific contact in Actively. Returns the contact's name, email, phone, and all associated metadata. |