data
Phantombuster MCP, CLI, and Lua Integration for AI Agents
Phantombuster integration docs for AI agents: MCP gateway setup, Phantombuster CLI commands, Lua API reference, credentials, and function schemas.Phantombuster for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
phantombuster.phantombuster_list_agents | Read read | 5 | List all Phantombuster agents in your account. Returns agent IDs, names, and status so you can inspect or launch them. |
phantombuster.phantombuster_get_agent | Read read | 6 | Get details for a specific Phantombuster agent, including its configuration, last run status, and output. |
phantombuster.phantombuster_launch_agent | Write write | 6 | Launch a Phantombuster agent to start an automation. Returns the container ID for tracking execution progress. |
phantombuster.phantombuster_save_agent | Write write | 8 | Create or update a Phantombuster agent using official /agents/save fields. |
phantombuster.phantombuster_stop_agent | Write write | 1 | Stop a running Phantombuster agent. |
phantombuster.phantombuster_delete_agent | Write write | 1 | Delete a Phantombuster agent by ID. |
phantombuster.phantombuster_list_deleted_agents | Read read | 0 | List deleted Phantombuster agents in the current organization. |
phantombuster.phantombuster_fetch_agent_output | Read read | 5 | Fetch output from the latest relevant container of a Phantombuster agent. |
phantombuster.phantombuster_list_containers | Read read | 5 | List Phantombuster containers (execution runs) for one agent. Returns container IDs, status, timestamps, and optional runtime events. |
phantombuster.phantombuster_get_container | Read read | 5 | Get details for a specific Phantombuster container (execution run), including its status, output, and logs. |
phantombuster.phantombuster_fetch_container_output | Read read | 2 | Fetch JSON or raw output for a Phantombuster container. |
phantombuster.phantombuster_fetch_container_result_object | Read read | 1 | Fetch the result object associated with a Phantombuster container. |
phantombuster.phantombuster_list_scripts | Read read | 0 | List scripts available to the authenticated Phantombuster user. |
phantombuster.phantombuster_get_script | Read read | 1 | Get a Phantombuster script by ID. |
phantombuster.phantombuster_save_script | Write write | 1 | Create or update a Phantombuster script using official /scripts/save fields. |
phantombuster.phantombuster_delete_script | Write write | 1 | Delete a Phantombuster script by ID. |
phantombuster.phantombuster_list_branches | Read read | 0 | List script branches in the current Phantombuster organization. |
phantombuster.phantombuster_get_organization | Read read | 4 | Get current Phantombuster organization metadata and optional configuration details. |
phantombuster.phantombuster_get_ip_location | Read read | 1 | Retrieve the country metadata for an IPv4 or IPv6 address. |
phantombuster.phantombuster_get_current_user | Read read | 0 | Get the authenticated Phantombuster user profile, including account info and plan details. |
phantombuster.phantombuster_api_get | Read read | 2 | Call a relative Phantombuster API GET path, such as "/agents/fetch-all". Absolute URLs are rejected. |
phantombuster.phantombuster_api_post | Write write | 2 | Call a relative Phantombuster API POST path. Absolute URLs are rejected. |
phantombuster.phantombuster_api_put | Write write | 2 | Call a relative Phantombuster API PUT path. Absolute URLs are rejected. |
phantombuster.phantombuster_api_delete | Write write | 2 | Call a relative Phantombuster API DELETE path. Absolute URLs are rejected. |