KosmoKrator

communication

BlandAI MCP Integration for Claude Code

Connect BlandAI to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

5 functions 4 read 1 write API key auth

Connect BlandAI to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

BlandAI MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "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

Scoped tools

Expose only BlandAI instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

BlandAI Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the BlandAI integration catalog.

MCP toolSource functionTypeDescription
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.

Related BlandAI Pages