KosmoKrator

automation

Phantombuster MCP Integration for Vercel AI SDK

Connect Phantombuster to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

6 functions 5 read 1 write API key auth

Connect Phantombuster to Vercel AI SDK

Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.

Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with --write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.

Phantombuster MCP Config for Vercel AI SDK

Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.

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

Run the Gateway Manually

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

Why Use KosmoKrator Here

Scoped tools

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

Phantombuster Tools Visible to Vercel AI SDK

Vercel AI SDK sees stable MCP tool names generated from the Phantombuster integration catalog.

MCP toolSource functionTypeDescription
integration__phantombuster__phantombuster_list_agents phantombuster.phantombuster_list_agents Read List all Phantombuster agents in your account. Returns agent IDs, names, and status so you can inspect or launch them.
integration__phantombuster__phantombuster_get_agent phantombuster.phantombuster_get_agent Read Get details for a specific Phantombuster agent, including its configuration, last run status, and output.
integration__phantombuster__phantombuster_launch_agent phantombuster.phantombuster_launch_agent Write Launch a Phantombuster agent to start an automation. Returns the container ID for tracking execution progress.
integration__phantombuster__phantombuster_list_containers phantombuster.phantombuster_list_containers Read List all Phantombuster containers (execution runs). Returns container IDs, associated agent IDs, status, and timestamps.
integration__phantombuster__phantombuster_get_container phantombuster.phantombuster_get_container Read Get details for a specific Phantombuster container (execution run), including its status, output, and logs.
integration__phantombuster__phantombuster_get_current_user phantombuster.phantombuster_get_current_user Read Get the authenticated Phantombuster user profile, including account info and plan details.

Related Phantombuster Pages