communication
BlandAI MCP Integration for Claude Agent SDK
Connect BlandAI to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect BlandAI to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
BlandAI MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-blandai": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=blandai",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=blandai --write=deny Why Use KosmoKrator Here
Expose only BlandAI 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.
BlandAI Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the BlandAI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__blandai__blandai_make_call | blandai.blandai_make_call | Write | Initiate an AI-powered phone call via BlandAI. The AI agent will follow the provided task instructions and speak using the specified voice. |
integration__blandai__blandai_get_call | blandai.blandai_get_call | Read | Retrieve details for a specific BlandAI phone call, including status, transcript, duration, and metadata. |
integration__blandai__blandai_list_calls | blandai.blandai_list_calls | Read | List BlandAI phone calls with optional pagination. Returns call summaries including status, duration, and phone numbers. |
integration__blandai__blandai_analyze_call | blandai.blandai_analyze_call | Read | Analyze a BlandAI call transcript with a custom prompt. Extract insights, summarize the conversation, or evaluate call outcomes. |
integration__blandai__blandai_get_current_user | blandai.blandai_get_current_user | Read | Get the authenticated BlandAI user's account information. Useful for verifying credentials and checking account details. |