KosmoKrator

marketing

Autopilot MCP Integration for OpenAI Agents SDK

Connect Autopilot to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect Autopilot 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.

Autopilot MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "mcpServers": {
    "kosmokrator-autopilot": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=autopilot",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=autopilot --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Autopilot 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.

Autopilot Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Autopilot integration catalog.

MCP toolSource functionTypeDescription
integration__autopilot__autopilot_list_contacts autopilot.autopilot_list_contacts Read List contacts in your Autopilot account. Returns contact IDs, emails, and names.
integration__autopilot__autopilot_get_contact autopilot.autopilot_get_contact Read Get detailed information about a specific Autopilot contact by ID or email address.
integration__autopilot__autopilot_create_contact autopilot.autopilot_create_contact Write Create or update a contact in Autopilot. Requires an email address; other fields are optional.
integration__autopilot__autopilot_list_lists autopilot.autopilot_list_lists Read List all lists in your Autopilot account. Returns list IDs and titles.
integration__autopilot__autopilot_get_list autopilot.autopilot_get_list Read Get detailed information about a specific Autopilot list, including contacts.
integration__autopilot__autopilot_list_journeys autopilot.autopilot_list_journeys Read List all journeys in your Autopilot account. Returns journey IDs and names.
integration__autopilot__autopilot_get_current_user autopilot.autopilot_get_current_user Read Get the authenticated user's Autopilot account details.

Related Autopilot Pages