The PhantomBuster MCP connector routes your AI agent's tool calls to PhantomBuster's own MCP server through Scalekit. Each user signs in to PhantomBuster once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 62 tools.
- Tools
- 62
- What they doRead · write · destructive
- 27 · 29 · 627 read29 write6 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
What you can do
- Run automation agents: launch, schedule, stop, and fetch the output of PhantomBuster agents
- Manage agents: create, update, delete, and group agents across the organization
- Store leads and companies: save, search, and delete leads and company profiles in organization storage
- Organize lead lists: create, update, fetch, and delete lead lists and fetch leads by list
- Review run results: fetch run history, output data, and result objects for each agent execution
- Sync contacts to your CRM: save contacts with LinkedIn profile details to a connected HubSpot account
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the PhantomBuster MCP connection
In AgentKit > Connections, create a PhantomBuster MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for PhantomBuster, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'phantombustermcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize PhantomBuster MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'phantombustermcp_users_fetch_me',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "phantombustermcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize PhantomBuster MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="phantombustermcp_users_fetch_me",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolphantombustermcp_agents_fetchRetrieve a PhantomBuster agent by its unique ID.Read-onlyGetAgentById
Retrieve a PhantomBuster agent by its unique ID. Returns agent metadata and optionally includes the agent's manifest, object definition, script code, slave agents, and sub-slave agents depending on the query flags provided.
Inputs
idstringrequired- The unique identifier of the PhantomBuster agent to fetch. Required. Example: '1234567890'.
withAgentObjectstring- Set to "true" to include the full agent_object definition in the response. Useful when you need the agent's configuration object. Example: "true".
withCodestring- Set to "true" to include the agent's script source code in the response. Example: "true".
withManifeststring- Set to "true" to include the agent's manifest (capabilities and configuration schema) in the response. Example: "true".
withSlavesstring- Set to "true" to include the agent's slave agents (sub-automation agents linked to this agent) in the response. Example: "true".
withSubSlavesstring- Set to "true" to include the agent's sub-slave agents in the response. Requires withSlaves to also be set to "true". Example: "true".
phantombustermcp_agents_fetch_allRetrieves all agents belonging to the current user's organization on PhantomBuster.Read-onlyFetchAllAgents
Retrieves all agents belonging to the current user's organization on PhantomBuster. Supports filtering by input types, output types, and specific agent IDs.
Inputs
agentIdsstring- If set, only the agents with the provided IDs will be returned. Can be a single ID or an array of IDs
inputTypesstring- If set, the agents will be filtered by the provided input types. An input type represents a resource the agent is expected to consume (i.e. "profileUrl", "companyUrl" etc...). You may find them in the response of the endpoint /agents/fetch with manifest
outputTypesstring- If set, the agents will be filtered by the provided output types. An output type represents a resource the agent is expected to produce (i.e. "fullName", "job", "company" etc...). You may find them in the response of the endpoint /agents/fetch with manifest
withAgentSlotsFactorstring- Set to "true" if you want to include the agent's reservedAgentSlotsFactor from the script branch configuration in the response
withArgumentstring- Set to "true" if you want to include the agent's argument in the response
phantombustermcp_agents_fetch_deletedRetrieves all deleted agents belonging to the current user's organization on PhantomBuster.Read-onlyFetchDeletedAgents
Retrieves all deleted agents belonging to the current user's organization on PhantomBuster. Useful for auditing or recovering information about previously deleted automations.
Inputs
This tool takes no inputs.
phantombustermcp_agents_fetch_outputGets the output of the most recent container of an agent.Read-onlyFetchAgentOutput
Gets the output of the most recent container of an agent. Designed for incremental data retrieval — use fromOutputPos and prevContainerId to fetch only new output since your last call.
Inputs
idstringrequired- Id of the agent to fetch output from.
fromOutputPosnumber- If set, the returned output will start from the specified position.
prevContainerIdstring- If set, the output will be retrieved from the container after the specified previous container id.
prevRuntimeEventIndexnumber- If set, the container's runtime events will be returned in the response starting from the provided previous runtime event index.
prevStatusstring- If set, allows to define which status was previously retrieved on user-side.
phantombustermcp_branches_fetch_allRetrieve all script branches associated with the authenticated organization.Read-onlyListOrgBranches
Retrieve all script branches associated with the authenticated organization. Branches represent different versions (staging vs. release) of PhantomBuster agent scripts and are used for managing deployments.
Inputs
This tool takes no inputs.
phantombustermcp_buyers_personas_fetch_allFetch all buyer personas defined for the organization.Read-onlyBuyersPersonasFetchAll
Fetch all buyer personas defined for the organization. Returns the full list of buyer persona records without requiring any input parameters.
Inputs
This tool takes no inputs.
phantombustermcp_containers_fetchRetrieve a PhantomBuster container by its unique ID.Read-onlyGetContainerById
Retrieve a PhantomBuster container by its unique ID. Optionally include the result object, output data, runtime events, and navigation links to adjacent containers in the response.
Inputs
idstringrequired- The unique identifier of the container to retrieve. Required.
withNewerAndOlderContainerIdstring- If set, the response will include the IDs of the next newer and next older containers relative to this one.
withOutputstring- If set, the output produced by the container will be included in the response.
withResultObjectstring- If set, the container's result object will be included in the response.
withRuntimeEventsstring- If set, the runtime events associated with the container will be included in the response.
phantombustermcp_containers_fetch_allRetrieve all containers associated with a specified PhantomBuster agent.Read-onlyListContainersForAgent
Retrieve all containers associated with a specified PhantomBuster agent. Supports filtering by completion date, limiting result count, and optionally including runtime events. Containers represent individual executions of an agent.
Inputs
agentIdstringrequired- The unique identifier of the agent whose containers to retrieve. Required.
beforeEndedAtstring- If set, only containers that ended before this date will be returned. Use ISO 8601 date format.
limitstring- If set, limits the number of containers returned to this value.
modestring- Filter containers by status. 'all' returns all containers; 'finalized' returns only completed containers.one of
allfinalized withRuntimeEventsstring- If set, the response will include runtime events for each container.
phantombustermcp_containers_fetch_outputRetrieve the output data produced by a specific PhantomBuster container execution.Read-onlyGetContainerOutput
Retrieve the output data produced by a specific PhantomBuster container execution. The output can be returned as structured JSON or as raw plain text depending on the mode parameter.
Inputs
idstringrequired- The unique identifier of the container whose output to retrieve. Required.
modestring- Output format mode. Set to 'json' (default) to receive structured JSON output, or 'raw' to receive the output as plain text.one of
jsonraw
phantombustermcp_containers_fetch_result_objectRetrieve the result object associated with a specific PhantomBuster container execution.Read-onlyGetContainerResultObject
Retrieve the result object associated with a specific PhantomBuster container execution. The result object contains structured data about the outcome of the container run, including extracted data and execution summary.
Inputs
idstringrequired- The unique identifier of the container whose result object to retrieve. Required.
phantombustermcp_icps_fetch_allFetch all Ideal Customer Profiles (ICPs) configured for the authenticated organization.Read-onlyFetchAllIcps
Fetch all Ideal Customer Profiles (ICPs) configured for the authenticated organization. Returns the complete list of ICP definitions used for lead scoring and targeting.
Inputs
This tool takes no inputs.
phantombustermcp_identities_searchSearch for identities by ID, session cookie, profile ID, or identity type.Read-onlySearchIdentities
Search for identities by ID, session cookie, profile ID, or identity type. Returns matching identity records. Defaults to LinkedIn identity type when type is omitted.
Inputs
idstring- The internal id of the identity to search.
profileIdstring- The profile id of the identity to search.
sessionCookiestring- Session cookie to search by.
typestring- The type of identity to search. Defaults to 'linkedin' when omitted.one of
linkedingoogle
phantombustermcp_org_storage_companies_objects_searchSearch company objects in org storage using a filter expression and optional pagination.Read-onlySearchCompanyObjects
Search company objects in org storage using a filter expression and optional pagination. Supports complex AND/OR filter trees. Use the org_storage_filter_help tool for the full operator and field reference.
Inputs
filterstringrequired- Filter object for org-storage queries (leads, companies, lead_objects, company_objects). ALWAYS wrap in a top-level `{ "and": [ ... ] }`, even for a single condition (bare `{ filter: ... }` at the top will not render). Field keys are plain identifiers — write `"location"`, not `"lead.location"`; the entity is set via the `entity` property inside the operator clause. Casing matters: lead/lead_object filter keys are snake_case (`linkedin_job_title`, NOT `linkedinJobTitle`); company entity filter keys are mostly camelCase (`employeeCount`, `websiteUrl`). For the full operator reference, field lists, frontend-compat rules, and worked examples, call the `org_storage_filter_help` tool.
paginationOptionsobject- Pagination options
phantombustermcp_org_storage_filter_helpReturns the full reference for constructing org-storage filter objects: operator table, field lists for lead and company entities, lead-object property-change patterns, social-signal patterns, common pitfalls (boolean fields, regions, multi-field property changes), and worked examples.Read-onlyOrgStorageFilterHelp
Returns the full reference for constructing org-storage filter objects: operator table, field lists for lead and company entities, lead-object property-change patterns, social-signal patterns, common pitfalls (boolean fields, regions, multi-field property changes), and worked examples. Call this when you need to build or edit the `filter` field on any org-storage tool (e.g. org_storage_lists_save, org_storage_leads_objects_search, org_storage_companies_objects_search) and the short pointer description on that field is not enough.
Inputs
This tool takes no inputs.
phantombustermcp_org_storage_leads_by_list_listidFetch leads by their list id.Read-onlyOrgStorageLeadsByListListId
Fetch leads by their list id.
Inputs
listIdstringrequired- Id of the lead list.
paginationOptionsobject- Options for pagination
withCompaniesboolean- Option for retrieving the company associated to the lead
withLeadObjectsOfTypesarray- Array of lead object types
phantombustermcp_org_storage_leads_objects_searchSearch leads objects.Read-onlyOrgStorageLeadsObjectsSearch
Search leads objects.
Inputs
filterstringrequired- Filter object for org-storage queries (leads, companies, lead_objects, company_objects). ALWAYS wrap in a top-level { "and": [ ... ] }, even for a single condition (bare { filter: ... } at the top will not render). Field keys are plain identifiers — write "location", not "lead.location"; the entity is set via the entity property inside the operator clause. Casing matters: lead/lead_object filter keys are snake_case (linkedin_job_title, NOT linkedinJobTitle); company entity filter keys are mostly camelCase (employeeCount, websiteUrl). For the full operator reference, field lists, frontend-compat rules, and worked examples, call the org_storage_filter_help tool.
paginationOptionsobject- Pagination options
withLeadsboolean- Whether to include the parent lead data in the result
phantombustermcp_org_storage_lists_fetchGet one list by ID (Beta).Read-onlyOrgStorageListsFetch
Get one list by ID (Beta).
Inputs
idstringrequired- Id of the lead list to fetch.
phantombustermcp_org_storage_lists_fetch_allGet all the lists (Beta).Read-onlyOrgStorageListsFetchAll
Get all the lists (Beta).
Inputs
This tool takes no inputs.
phantombustermcp_orgs_fetchRetrieves the current organization's details including account information, settings, and plan data.Read-onlyGetCurrentOrganization
Retrieves the current organization's details including account information, settings, and plan data. Optionally returns the organization's global object, proxy configurations, CRM integrations, and custom AI prompts.
Inputs
withCrmIntegrationsstring- If set, the organization's CRM integration configurations will be returned in the response.
withCustomPromptsstring- If set, the organization's custom AI prompt (customPromptOrg) will be returned in the response.
withGlobalObjectstring- If set, the organization's globalObject will be returned in the response.
withProxiesstring- If set, the organization's proxy pool configurations will be returned in the response.
phantombustermcp_orgs_fetch_agent_groupsRetrieves the agent groups and their ordering for the current user's organization.Read-onlyGetOrganizationAgentGroups
Retrieves the agent groups and their ordering for the current user's organization. Returns the full list of agent groups with their names, IDs, and the agents assigned to each group.
Inputs
This tool takes no inputs.
phantombustermcp_orgs_fetch_crm_accessRetrieve the CRM access credentials and connection details for the authenticated organization.Read-onlyGetOrgCrmAccess
Retrieve the CRM access credentials and connection details for the authenticated organization. Use this to verify CRM connectivity before attempting to fetch CRM resources.
Inputs
This tool takes no inputs.
phantombustermcp_orgs_fetch_crm_resourcesRetrieve a specific type of CRM resource for the authenticated organization.Read-onlyGetOrgCrmResources
Retrieve a specific type of CRM resource for the authenticated organization. Supports fetching account info, contact lists, or contact properties depending on the specified resource type.
Inputs
resourceTypestringrequired- The type of CRM resource to retrieve from the organization. Must be one of: 'account_info', 'contact_lists', or 'contact_properties'.one of
account_infocontact_listscontact_properties
phantombustermcp_orgs_fetch_resourcesRetrieves the current organization's resource allocations and usage statistics.Read-onlyGetOrganizationResources
Retrieves the current organization's resource allocations and usage statistics. Returns information about available and consumed resources such as agent execution time, storage, and other plan-based limits.
Inputs
This tool takes no inputs.
phantombustermcp_orgs_fetch_running_containersRetrieve all currently running containers for the authenticated organization.Read-onlyGetOrgRunningContainers
Retrieve all currently running containers for the authenticated organization. Returns a list of active container instances, including their IDs, statuses, and associated agent information.
Inputs
This tool takes no inputs.
phantombustermcp_scripts_fetchGets a PhantomBuster script by its ID.Read-onlyFetchScript
Gets a PhantomBuster script by its ID. Optionally retrieve the script from a specific branch or environment, and include the script's source code in the response.
Inputs
idstringrequired- Id of the script.
branchstring- If set, the specified branch will be used to retrieve the script.
environmentstring- If set, the specified environment will be used to retrieve the script.
withCodestring- If set, the code will be returned in the response.
phantombustermcp_scripts_fetch_allGets all scripts associated with the current user.Read-onlyFetchAllScripts
Gets all scripts associated with the current user. Optionally filter by organization, branch, script type (modules vs non-modules), or specific script IDs.
Inputs
branchstring- If set, only the specified branch will be fetch.
excludestring- If set to "modules", module scripts will not be retrieved. If set to "non-modules", only modules will be retrieved.
orgstring- Name of the org to fetch scripts from.
scriptIdsstring- If set, only the specified script ids will be retrieved.
phantombustermcp_users_fetch_meRetrieves the current authenticated user's profile information including account details and session data.Read-onlyGetCurrentUser
Retrieves the current authenticated user's profile information including account details and session data. If a sessionId is not provided, the endpoint will create a new session and return the newly created session ID. Optionally returns detailed organization info and custom AI prompts.
Inputs
detailedOrgIdstring- If set, the corresponding detailed organization object will be returned in the response.
withCustomPromptsstring- If set to "true", includes customPromptUser and customPromptOrg fields in the response.
phantombustermcp_agents_launchAdd a PhantomBuster agent to the launch queue to trigger a new execution.WriteLaunchAgent
Add a PhantomBuster agent to the launch queue to trigger a new execution. Supports passing arguments, bonus arguments (single-use overrides), controlling instance limits, and tagging the resulting container with metadata.
Inputs
idstringrequired- The unique identifier of the agent to launch. Required.
argumentstring- Agent argument passed to the execution. Can be a JSON string or a plain object. Accessible in the agent's script via buster.argument.
argumentsstring- Agent argument (alias for 'argument'). Can be a JSON string or a plain object. Accessible in the agent's script via buster.argument.
bonusArgumentstring- Single-use bonus argument for this launch only. Can be a JSON string or a plain object. Merged with the main argument to form the effective argument available via buster.argument in the agent's script.
internalMetadatastring- PhantomBuster-managed key-value pairs used for internal container tagging. Can be null.
manualLaunchboolean- If true, the agent will be marked as 'launched manually' rather than via automation.
maxInstanceCountnumber- If set, the agent will only be launched if the current number of running instances is below this threshold. Minimum value: 1.
saveArgumentboolean- If true, the provided argument will be saved as the default launch options for this agent.
saveArgumentsboolean- Alias for 'saveArgument'. If true, the provided argument will be saved as the default launch options for this agent.
userCustomMetadatastring- User-defined key-value pairs for tagging the resulting container. Can be null.
phantombustermcp_agents_launch_soonSchedules an agent to launch before a specific time.WriteScheduleAgentLaunch
Schedules an agent to launch before a specific time. The agent will automatically start within the specified number of minutes unless it is launched manually before then.
Inputs
idstringrequired- Id of the agent to schedule for launch.
minutesintegerrequired- Determines in how many minutes the agent will launch. If the agent is launched manually before the expected launch time, the agent will not launch automatically.
argumentstring- Agent argument. Can either be a JSON string or a plain object. The argument can be retrieved with buster.argument in the agent’s script.
argumentsstring- Agent argument. Can either be a JSON string or a plain object. The argument can be retrieved with buster.argument in the agent’s script.
saveArgumentboolean- If true, argument will be saved as the default launch options for the agent.
saveArgumentsboolean- If true, argument will be saved as the default launch options for the agent.
phantombustermcp_agents_saveCreates a new PhantomBuster agent or updates an existing one.WriteSaveAgent
Creates a new PhantomBuster agent or updates an existing one. If an id is provided the corresponding agent will be updated. Otherwise a new agent will be created. Supports configuring script assignment, scheduling, notifications, proxy settings, and more.
Inputs
agentObjectstring- Sets the agent's object. Should be a JSON string.
applyScriptManifestDefaultSettingsboolean- If true, the manifest's default settings will be applied to the agent.
argumentstring- Default argument used to launch the agent.
branchstring- If set, the upserted agent will be assigned to the specified branch.
environmentstring- If set, the upserted agent will be assigned to the specified environment.
executionTimeLimitnumber- When set, the execution time of the agent will be limited by the provided value. If this limit is exceeded, the agent will be stopped.
expireAtnumber- The date when the agent will be deleted.
fileMgmtstring- Agent file management type. The type 'folders' means create new files. The type 'mix' means combine new and previous files. The type 'delete' means delete previous files.
fileMgmtMaxFoldersnumber- Max amount of folders for file management.
idstring- If set, the agent with the corresponding id will be updated.
idempotencyKeystring- Optional key for idempotent operations - only for creating an agent.
internalMetadatastring- Key-value pairs reserved for PhantomBuster internal use.
launchAfterAgentIdstring- Must be set when launchType is set to "after agent". Sets the id of the agent which will trigger the launch of this agent.
launchOnceAtnumber- Must be set when launchType is set to "once". Sets the launch time of the agent.
launchTypestring- Sets how the agent will be launched. Either "manually", "repeatedly", "once" or "after agent".one of
manuallyrepeatedlyonceafter agent masterAgentLaunchAfternumber- Defines when the agent will launch once a slave agent finishes. When not set, the platform chooses a value between 10 and 15 minutes randomly.
masterAgentLaunchOnExitCodesstring- When set, the agent will be launched automatically if the finishing slave agent’s exit code is found in the array or if the value is set to "all".
maxParallelismnumber- Sets the maximum amount of concurrent executions of the agent.
maxRetryNumbernumber- Sets the maximum amount of retries the agent will do before aborting.
namestring- Name of the agent.
notificationsstring- Sets the notification settings of the agent.
orgstring- Organization the upserted agent is linked to. Set to "phantombuster" to use a script from Phantombuster's public script catalog (official scripts like "LinkedIn Profile Scraper"); otherwise the API returns "Script not found" for those scripts.
proxyAddressstring- When "proxyType" is set to "http", this should be the http address of the proxy. When set to "pool" this should be the name of the proxy pool you wish to use.
proxyPasswordstring- Sets the password used to authenticate the proxy. Should be used when "proxyType" is set to "http".
proxyTypestring- If set to "none", no proxy will be used. If set to "http" a single http proxy will be used. If set to "pool" the proxies from the pool will be used.one of
nonehttppoolsquid lease proxyUsernamestring- Sets the username used to authenticate the proxy. Should be used when "proxyType" is set to "http".
repeatedLaunchPresetstring- Automatically sets the agent's launch schedule according to a preset.
repeatedLaunchTimesstring- Must be set when launchType is set to "repeatedly". Schedules when the agent will be launched automatically.
scriptstring- If set, the upserted agent will be assigned to the specified script.
shouldPropagateUpdatedSettingsToWorkersRegardlessOfSessionTypeboolean- If true, the updated settings will be propagated to the workers regardless of the session type.
squidLeaseIdentifierstring- Sets the agent's Squid lease configuration.
userCustomMetadatastring- User-defined key-value pairs for tagging and filtering agents.
wasSetupValidWhenSubmittedByTheFrontendboolean- If true, the agent's setup is considered complete.
phantombustermcp_agents_stopStops a running PhantomBuster agent.WriteStopAgent
Stops a running PhantomBuster agent. Supports soft abort, cascading stop to slave agents, disabling next scheduled launch, and switching to manual launch mode.
Inputs
idstringrequired- The unique identifier of the agent to stop.
cascadeToAllSlavesboolean- If true, all slave agents linked to this agent will also be recursively stopped, including nested slaves.
dontLaunchSoonboolean- If true, disables the next scheduled 'launch soon' for this agent after stopping.
softAbortboolean- If true, attempts to softly abort the agent rather than forcefully stopping it.
switchToManualLaunchboolean- If true, switches the agent to manual launch mode after stopping.
phantombustermcp_agents_unschedule_allDisables the automatic launch schedule for all agents in the current organization.WriteUnscheduleAllAgents
Disables the automatic launch schedule for all agents in the current organization. After calling this, no agents will launch automatically until re-scheduled.
Inputs
This tool takes no inputs.
phantombustermcp_branches_createCreates a new script branch in PhantomBuster.WriteCreateBranch
Creates a new script branch in PhantomBuster. Branches allow you to develop and test script changes in isolation before releasing them to production.
Inputs
namestringrequired- Name of the branch to create. Must be 1-50 characters and contain only word characters and hyphens (matching pattern ^[\w-]{1,50}$).
phantombustermcp_branches_diffRetrieve the length difference between the staging and release branches for all scripts in the organization, optionally filtered by a specific script branch name.WriteGetBranchDiff
Retrieve the length difference between the staging and release branches for all scripts in the organization, optionally filtered by a specific script branch name. Use this to understand what changes are pending deployment.
Inputs
namestring- The name of the script branch to fetch the diff for. Must be 1-50 characters, containing only word characters and hyphens.
phantombustermcp_branches_releaseReleases one or more scripts from a named branch to production.WriteReleaseBranch
Releases one or more scripts from a named branch to production. Scripts listed in scriptIds will be promoted from the specified branch into the release environment.
Inputs
namestringrequired- Name of the branch to release. Must be 1-50 characters and contain only word characters and hyphens.
scriptIdsarrayrequired- Array of script IDs to release from the specified branch.
phantombustermcp_identities_events_saveSave an event associated with an identity.WriteSaveIdentityEvent
Save an event associated with an identity. Records an event of a specific type for a given profile ID, with arbitrary event data and an optional timestamp.
Inputs
event_dataobjectrequired- The event data of the identity event. Required. A free-form key-value map with event details.
event_typestringrequired- The type of the identity event. Required.
identity_typestringrequired- The identity type of the identity event. Required.
profile_idstringrequired- The profile id of the identity event. Must be non-empty and not whitespace-only. Required.
timestampnumber- Optional timestamp of the identity event in milliseconds since epoch. Must be between 1000000000000 and 9999999999999.
phantombustermcp_identities_generate_tokenGenerate a new identity token for the authenticated session.WriteGenerateIdentityToken
Generate a new identity token for the authenticated session. This token can be used with the identities_save_with_token tool to associate a session token with an identity record.
Inputs
This tool takes no inputs.
phantombustermcp_identities_saveSave an identity record.WriteSaveIdentity
Save an identity record. Creates or updates a LinkedIn or Google identity with profile information such as name, profile URL, headline, and subscription titles.
Inputs
profileIdstringrequired- profile id of the identity to save
typestringrequired- type of the identity to saveone of
linkedingoogle firstNamestring- first name of the identity to save
headlinestring- headline of the identity to save
idstring- id of the identity to save
lastNamestring- last name of the identity to save
profilePictureUrlstring- profile picture url of the identity to save
profileUrlstring- profile url of the identity to save
subscriptionTitlesstring- subscription titles of the identity to save
userIdstring- user id of the identity to save
phantombustermcp_identities_save_with_tokenSave an identity record along with its authentication token and active credentials.WriteSaveIdentityWithToken
Save an identity record along with its authentication token and active credentials. Use this after generating a token with identities_generate_token to persist the full identity including session cookies.
Inputs
orgIdstringrequired- org_id of the identity to save
profileIdstringrequired- profile id of the identity to save
tokenstringrequired- identity token
typestringrequired- type of the identity to saveone of
linkedingoogle activeCredentialobject- active credential of the identity to save - will replace activeCredentials soon
activeCredentialsarray- active credentials of the identity to save - FFR - will be removed soon
firstNamestring- first name of the identity to save
headlinestring- headline of the identity to save
idstring- id of the identity to save
lastNamestring- last name of the identity to save
profilePictureUrlstring- profile picture url of the identity to save
profileUrlstring- profile url of the identity to save
subscriptionTitlesstring- subscription titles of the identity to save
userIdstring- user id of the identity to save
phantombustermcp_org_storage_companies_objects_saveSave one company object to org storage.WriteSaveCompanyObject
Save one company object to org storage. Creates or updates a single company record identified by its LinkedIn company ID, type, and slug.
Inputs
linkedinCompanyIdstringrequired- The external id of the company scraped from LinkedIn. Required.
propertiesobjectrequired- The properties of the company object. Required. A free-form key-value map of company attributes.
slugstringrequired- The slug of the company object. Maximum 470 characters. Required.
typestringrequired- The type of company object. Maximum 500 characters. Required.
idstring- The internal id of the company object.
orgIdstring- The org id associated with the company object.
phantombustermcp_org_storage_companies_objects_save_manySave many company objects to org storage in a single batch operation.WriteSaveManyCompanyObjects
Save many company objects to org storage in a single batch operation. Each item in the array represents a company record to create or update.
Inputs
itemsarrayrequired- Array of company objects to insert or update. Required.
phantombustermcp_org_storage_leads_objects_saveSave one lead object.WriteOrgStorageLeadsObjectsSave
Save one lead object.
Inputs
agentIdstringrequired- id of an agent
propertiesobjectrequired- properties of the object
slugstringrequired- slug of the object to save
typestringrequired- type of object to save
leadIdstring- id of a lead
leadObjectIdstring- id of a lead object
leadSlugstring- slug of a lead
leadUrnstring- urn of a lead
phantombustermcp_org_storage_leads_objects_save_manySave many lead objects.WriteOrgStorageLeadsObjectsSaveMany
Save many lead objects.
Inputs
agentIdstringrequired- id of an agent
propertiesobjectrequired- properties of the object
slugstringrequired- slug of the object to save
typestringrequired- type of object to save
leadIdstring- id of a lead
leadObjectIdstring- id of a lead object
leadSlugstring- slug of a lead
leadUrnstring- urn of a lead
phantombustermcp_org_storage_leads_saveSaves a single lead to PhantomBuster organization storage (Beta).WriteSaveLead
Saves a single lead to PhantomBuster organization storage (Beta). Requires a LinkedIn profile URL. Supports enrichment fields including contact info, company details, CRM account mappings, and AI-generated properties.
Inputs
linkedinProfileUrlstringrequired- LinkedIn profile URL of the lead. Required.
aiGeneratedPropertiesobject- AI-generated properties for the lead, as a map of property name to string value.
audienceOfLeadsarray- List of lead IDs that this lead is an audience of.
civilitystring- Lead's civility/title (e.g. Mr, Ms, Dr).
companyIndustrystring- Industry of the lead's company.
companyNamestring- Lead's current company name.
companyWebsitestring- Lead's company website URL.
crmAccountRelativePropertiesarray- Collection of CRM-related properties grouped by CRM name (one item per CRM: hubspot, pipedrive, or salesforce).
customResultsFileNamestring- Custom name for the results file associated with this lead.
errorstring- Error message from the agent script, if any.
firstNamestring- Lead's first name.
lastNamestring- Lead's last name.
linkedinAccountRelativePropertiesarray- Collection of lead LinkedIn properties grouped by the scraping LinkedIn user (source account), including connection degree.
linkedinCompanyIdstring- LinkedIn company ID for the lead's employer.
linkedinCompanySlugstring- Lead's company LinkedIn slug identifier.
linkedinCompanyUrlstring- LinkedIn company URL (deprecated, use linkedinCompanySlug instead).
linkedinDescriptionstring- Lead's LinkedIn profile description/summary.
linkedinFollowersCountnumber- Number of followers the lead has on LinkedIn.
linkedinHeadlinestring- Lead's LinkedIn profile headline.
linkedinIsHiringBadgeboolean- Whether the lead has the 'hiring' badge on LinkedIn.
linkedinIsOpenToWorkBadgeboolean- Whether the lead has the 'open to work' badge on LinkedIn.
linkedinJobDateRangestring- Date range of the lead's current LinkedIn job.
linkedinJobDescriptionstring- Description of the lead's current LinkedIn job.
linkedinJobLocationstring- Location associated with the lead's current LinkedIn job.
linkedinJobTitlestring- Lead's current job title from LinkedIn.
linkedinOpenProfileboolean- Whether the lead's LinkedIn profile is an Open Profile.
linkedinPreviousCompanyUrlstring- LinkedIn URL of the lead's previous company.
linkedinPreviousJobDateRangestring- Date range of the lead's previous LinkedIn job.
linkedinPreviousJobDescriptionstring- Description of the lead's previous LinkedIn job.
linkedinPreviousJobLocationstring- Location associated with the lead's previous LinkedIn job.
linkedinPreviousJobTitlestring- Lead's previous job title on LinkedIn.
linkedinPreviousSchoolCompanyUrlstring- LinkedIn company URL of the lead's previous school.
linkedinPreviousSchoolDateRangestring- Date range of the lead's previous school on LinkedIn.
linkedinPreviousSchoolDegreestring- Degree obtained by the lead at their previous school on LinkedIn.
linkedinPreviousSchoolDescriptionstring- Description of the lead's previous school on LinkedIn.
linkedinPreviousSchoolNamestring- Name of the lead's previous school on LinkedIn.
linkedinProfileIdstring- Lead's LinkedIn profile ID.
linkedinProfileImageUrlstring- URL of the lead's LinkedIn profile picture.
linkedinProfileImageUrnstring- LinkedIn URN of the lead's profile picture image.
linkedinProfileUrnstring- LinkedIn URN of the lead's profile.
linkedinSchoolCompanyUrlstring- LinkedIn company URL of the lead's current school.
linkedinSchoolDateRangestring- Date range of the lead's current school on LinkedIn.
linkedinSchoolDegreestring- Degree obtained by the lead at their current school on LinkedIn.
linkedinSchoolDescriptionstring- Description of the lead's current school on LinkedIn.
linkedinSchoolNamestring- Name of the lead's current school on LinkedIn.
linkedinSkillsLabelstring- Label summarizing the lead's LinkedIn skills.
locationstring- Lead's geographic location.
metadataobject- Metadata from the agent script, wrapped in a 'data' object.
personalEmailsarray- Lead's personal email addresses.
phoneNumbersarray- Lead's phone numbers.
previousCompanyNamestring- Name of the lead's previous company.
professionalEmailsarray- Lead's professional email addresses.
salesNavigatorProfileUrlstring- Lead's LinkedIn Sales Navigator profile URL.
twitterProfileUrlstring- Lead's Twitter/X profile URL.
websitesarray- Lead's associated websites.
phantombustermcp_org_storage_leads_save_manySaves multiple leads to PhantomBuster organization storage (Beta).WriteSaveManyLeads
Saves multiple leads to PhantomBuster organization storage (Beta). Accepts a batch of 1-20 leads with LinkedIn profile URLs and associated metadata. Each lead must include a LinkedIn profile URL.
Inputs
leadsarrayrequired- Array of 1-20 lead objects to save. Each lead must have a linkedinProfileUrl.
phantombustermcp_org_storage_lists_saveSave a list (Beta).WriteOrgStorageListsSave
Save a list (Beta). Creates a new list or updates an existing one. For more information, see the Creating and updating leads lists using filters page in the Developer Guides.
- Idempotent
Inputs
filterstringrequired- Filter object for org-storage queries (leads, companies, lead_objects, company_objects). ALWAYS wrap in a top-level `{ "and": [ ... ] }`, even for a single condition (bare `{ filter: ... }` at the top will not render). Field keys are plain identifiers — write `"location"`, not `"lead.location"`; the entity is set via the `entity` property inside the operator clause. Casing matters: lead/lead_object filter keys are snake_case (`linkedin_job_title`, NOT `linkedinJobTitle`); company entity filter keys are mostly camelCase (`employeeCount`, `websiteUrl`). For the full operator reference, field lists, frontend-compat rules, and worked examples, call the `org_storage_filter_help` tool.
namestringrequired- Name of the list (1-100 chars)
descriptionstring- Description of the list
idstring- ID of an existing list (omit to create a new one)
listProcessorConfigurationstring- List processor configuration object (free-form)
tagsarray- Tags for the list
phantombustermcp_orgs_export_agent_usageExports a CSV file containing agent usage data for the current user's organization.WriteExportOrganizationAgentUsage
Exports a CSV file containing agent usage data for the current user's organization. The export includes details on how agents have been used over the specified number of days. The number of days should not exceed 6 months (approximately 180 days).
Inputs
daysstringrequired- Number of days of agent usage data to export. Must not exceed 6 months (approximately 180 days).
phantombustermcp_orgs_export_container_usageExports a CSV file containing container usage data for the current user's organization.WriteExportOrganizationContainerUsage
Exports a CSV file containing container usage data for the current user's organization. The export includes details on container execution over the specified number of days. Optionally filter by a specific agent ID. The number of days should not exceed 6 months (approximately 180 days).
Inputs
daysstringrequired- Number of days of container usage data to export. Must not exceed 6 months (approximately 180 days).
agentIdstring- If set, the data will only be exported for this specific agent ID.
phantombustermcp_orgs_saveUpdates the current organization's profile and settings.WriteUpdateCurrentOrganization
Updates the current organization's profile and settings. Allows modifying the organization name, display name, timezone, company info, billing details, proxy pools, CRM integration options, and custom AI prompt. Only web or MCP sessions are allowed to call this endpoint. Do not include the X-Phantombuster-Org header when calling this endpoint.
Inputs
additionalInvoiceInformationstring- New additional invoice information.
billingAddressstring- New billing address.
billingFirstNamestring- New billing first name.
billingLastNamestring- New billing last name.
billingMailstring- New billing email address.
companystring- New company name.
crmIntegrationOptionsobject- New organization's CRM integration options.
customPromptOrgstring- Custom AI prompt at workspace level.
displayNamestring- New organization display name.
globalObjectstring- New organization's global object.
namestring- New organization name.
proxiesstring- New organization's proxy pools.
timezonestring- New organization timezone. Changing your timezone will affect your agent's automatic scheduling.
vatIdstring- New organization's VAT id.
phantombustermcp_orgs_save_agent_groupsUpdates the agent groups and their ordering for the current user's organization.WriteSaveOrganizationAgentGroups
Updates the agent groups and their ordering for the current user's organization. The order of the groups and agents within each group will be preserved as provided. Each group can be referenced either by its string ID or as a full object with id, name, and agents array.
Inputs
agentGroupsarrayrequired- New agent groups configuration. Order of groups and agents within each group will be preserved. Each item can be a group ID string or a full group object with id, name, and agents.
phantombustermcp_orgs_save_crm_contactSave a new contact to a connected CRM integration (currently HubSpot).WriteSaveCrmContact
Save a new contact to a connected CRM integration (currently HubSpot). Creates or updates a contact record with profile information such as name, LinkedIn URL, email, phone, job title, and company.
Inputs
contactobjectrequired- Contact information for creation or update. Required.
crmNamestringrequired- The CRM integration name. Currently only 'hubspot' is supported. Required.
phantombustermcp_scripts_access_listUpdates the access list of a script branch on PhantomBuster.WriteUpdateScriptAccessList
Updates the access list of a script branch on PhantomBuster. Allows adding or removing an organization or user from the script's access list.
- Idempotent
Inputs
branchstringrequired- Name of the branch to update the access list of.
namestringrequired- Name of the script to update the access list of.
addstring- Org or user to add in the access list.
removestring- Org or user to remove from the access list.
phantombustermcp_scripts_codeGets the source code of a PhantomBuster script by name.WriteFetchScriptCode
Gets the source code of a PhantomBuster script by name. Optionally fetch from a specific organization, branch, or environment (staging or release).
Inputs
scriptstringrequired- Name of the script to fetch the code from.
branchstring- If set, the specified branch will be used to fetch the code.
environmentstring- If set, the specified environment will be used to fetch the code.
orgstring- If set, the specified org will be used to fetch the code.
phantombustermcp_scripts_saveCreates a new script or updates an existing one on PhantomBuster.WriteSaveScript
Creates a new script or updates an existing one on PhantomBuster. If an id is provided, the corresponding script will be updated. Otherwise, a new script will be created.
Inputs
branchstring- Name of the branch to associate with the script.
codestring- Javascript source code of the script.
idstring- If set, the script with the corresponding id will be updated.
manifeststring- JSON script manifest.
markdownstring- Markdown description of the script.
namestring- Name of the script. Prepend your name with "lib-" to define your script as a module.
phantombustermcp_scripts_visibilityUpdates the visibility of a script branch on PhantomBuster.WriteUpdateScriptVisibility
Updates the visibility of a script branch on PhantomBuster. Controls whether the script is private, semi-public, public, semi open source, or open source.
Inputs
branchstringrequired- Name of the branch to change visibility for.
namestringrequired- Name of the script to change visibility for. Must match pattern like 'myscript.js' or 'my-script.coffee'.
visibilitystringrequired- New visibility level to set for the branch. Options: private, semi public, public, semi open source, open source.one of
privatesemi publicpublicsemi open sourceopen source
phantombustermcp_users_update_meUpdates the current authenticated user's profile information.WriteUpdateCurrentUser
Updates the current authenticated user's profile information. Allows modifying personal details such as name, phone, company, job title, team, and preferences including newsletter subscription, developer mode, and beta experiments. Also supports setting a custom AI prompt at the user level.
Inputs
companystring- New company name.
customPromptUserstring- Custom AI prompt at user level.
developerModeboolean- If set, developer-specific features will be enabled.
enabledExperimentsstring- Experiments you wish to enable on your account.
firstNamestring- New user first name.
jobstring- New job name.
lastNamestring- New user last name.
newsletterboolean- If set, you agree to subscribe to the newsletter.
phonestring- New phone number.
userCompanySizestring- New user company size.
userGoalstring- New user goal.
userMainPlatformstring- New user main platform.
userReferralSourcestring- How the user heard about PhantomBuster.
userTeamstring- New user team.
phantombustermcp_agents_deletePermanently deletes a PhantomBuster agent by its unique ID.DestructiveDeleteAgent
Permanently deletes a PhantomBuster agent by its unique ID. This action is irreversible and will remove the agent and all associated data.
Inputs
idstringrequired- Unique ID of the agent to delete.
phantombustermcp_branches_deletePermanently deletes a script branch by its ID.DestructiveDeleteBranch
Permanently deletes a script branch by its ID. This action cannot be undone — all scripts associated with the branch will be removed from that branch.
Inputs
idstringrequired- The unique identifier of the branch to delete.
phantombustermcp_org_storage_leads_delete_manyDelete many leads.DestructiveOrgStorageLeadsDeleteMany
Delete many leads.
Inputs
idsarrayrequired- Ids of the leads to delete
phantombustermcp_org_storage_leads_objects_deleteDelete one or more leads objects.DestructiveOrgStorageLeadsObjectsDelete
Delete one or more leads objects.
Inputs
leadObjectIdstring- id of a lead object to delete
slugstring- slug of the object to delete
typestring- type of object to delete
phantombustermcp_org_storage_lists_deleteDelete a list (Beta).DestructiveOrgStorageListsDelete
Delete a list (Beta).
- Idempotent
Inputs
idstringrequired- Id of the list to delete
phantombustermcp_scripts_deleteDeletes a PhantomBuster script by its ID.DestructiveDeleteScript
Deletes a PhantomBuster script by its ID. This action is irreversible. Optionally specify a branch and environment to target a specific version.
Inputs
idstringrequired- Id of the script to delete.
branchstring- Branch of the script to delete.
environmentstring- Environment of the script to delete.one of
stagingrelease
No tools match.