communication
BlandAI MCP Integration for OpenAI Agents SDK
Connect BlandAI to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect BlandAI to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
BlandAI MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |