ClickFunnels MCP server for AI agents

Live

BEARER TOKEN

FUNNELS

Marketing

ClickFunnels gives your agent funnel marketing in your ClickFunnels workspaces: read funnels, forms, orders, and stats, manage contacts, tags, and opportunities, and create and send email broadcasts.

  • Per-user credentials: each call uses the actual user's access token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
ClickFunnels
agent · Acme Q3
Run
How did my webinar funnel perform in the last 30 days?
S
clickfunnels_funnel_stats_get
267ms
Funnel agent
Over the last 30 days the webinar funnel had 4,820 views, 1,136 opt-ins, and 74 sales, with per-step numbers attached.
Sources: ClickFunnels funnel stats, 1 funnel
clickfunnels
3 steps
18:29
Message Claude...

Tools your funnel marketing agent reaches for on ClickFunnels, scoped per user.

CALL ANY TOOL
56 tools for funnel marketing in ClickFunnels: read funnels, forms, orders, products, and stats, manage contacts, tags, and opportunities, and create and send email broadcasts.
clickfunnels_broadcast_create
Create broadcast
Create an email broadcast as a draft. Returns an object with id, public_id, workspace_id, name, subject, preheadline, status, origination_channel_type, origination_channel_id, external_id, and more. Use clickfunnels_broadcast_create to draft an email, then clickfunnels_broadcast_send to send it.
Parameters
Name
Type
Required
Description
from_email
string
Required
Sender email address. Required on create. Must be an email address that belongs to the workspace, and it must have usable_as_sender: true or the send is rejected with 422. Do not pick by the sending domain's verified flag: that covers email transport only. See GET /workspaces/<workspace_id>/emails/addresses, where a shared workspace-default address is usable only while the workspace has no ready custom sender. Example: jane@example.com
name
string
Required
Internal name for the broadcast (required) Example: Example name
workspace_id
string
Required
Workspace ID (numeric id or public id), from clickfunnels_team_workspaces_list. Example: 42000
external_id
string
Optional
An optional external identifier for your own tracking. Example: abc123
filter_id
string
Optional
Contact filter for the broadcast audience. Accepts any of three forms: the numeric id or the public id (string) of a saved contact filter (Refine::StoredFilter) in this workspace, or a serialized contact filter. The supplied filter is copied onto the broadcast, the broadcast points at its own copy, so later edits to (or deletion of) the saved filter never change this broadcast's audience. Example: abc123
html_body
string
Optional
HTML email body. If provided without a template_id, a template is automatically created from this content. Example: example
preheadline
string
Optional
Preview text shown in email clients before opening. Maximum 150 characters. Example: example
recipients
array
Optional
List of recipients (maximum 1,000). Contacts are created or matched by email address. Example: [{"key": "value"}]
reply_to_email
string
Optional
Reply-to email address. Must be an address in the workspace if provided. Pick one whose usable_as_sender is true. Example: jane@example.com
send_at
string
Optional
Scheduled send date. Required when send_immediately is false. Example: 2026-01-31T12:00:00Z
send_at_local_time
string
Optional
Scheduled send time in HH:MM:SS format. Defaults to 18:00:00. Example: example
send_immediately
boolean
Optional
Set to true to send the broadcast immediately upon creation. If false, use send_at, send_at_local_time, and time_zone to schedule. Example: true
smart_sending
boolean
Optional
Smart Sending. When true the broadcast is delivered gradually across a window rather than all at once, which protects deliverability. Defaults to true: send false explicitly to deliver the whole audience in one go. Above 5,000 recipients Smart Sending is mandatory: sending false is accepted and may be stored as true. The send batches at that size regardless of the stored value. Example: true
smart_sending_time
number
Optional
How many smart_sending_units the delivery window spans, for example 2 with hour. Must be between 0.5 and 100, and must be sent together with smart_sending_unit. Omit both to size the window from the audience, which is the recommended default. Example: 10
smart_sending_unit
string
Optional
The unit of the Smart Sending delivery window. Must be sent together with smart_sending_time. Omit both to size the window from the audience, which is the recommended default. One of: hour, day. Example: hour. One of: `hour`, `day`.
split_test
boolean
Optional
Enable a subject-line split test. Requires exactly one alternate in variants. When enabled without stored settings, percentage defaults to 100 and wait time defaults to 0 hours. Must be a JSON boolean - string spellings such as "true" return 422. Example: true
split_test_percentage
integer
Optional
Whole-number share of the audience used for the test sends. The share is divided evenly between variant A and variant B. Example: 10
split_test_wait_time
integer
Optional
Whole hours to wait before choosing the subject-line winner. Example: 10
subject
string
Optional
Email subject line seen by recipients. Example: Q4 renewal
template_id
integer
Optional
Numeric id of an existing email template in this workspace to use. Alternative to providing html_body/text_body directly; takes precedence when both are given. The broadcast references this template (it is not copied). Example: 12345
text_body
string
Optional
Plain text email body. Example: example
time_zone
string
Optional
Time zone for scheduling (defaults to workspace time zone) Example: America/New_York
topic_ids
array
Optional
Topic IDs to associate. Only topics belonging to the workspace are accepted. Example: [1, 2]
variants
array
Optional
Zero or one alternate subject-line variant B. The top-level subject and preheadline are variant A. Supplying B does not enable testing by itself. Example: [{"key": "value"}]
clickfunnels_broadcast_delete
Delete broadcast
clickfunnels_broadcast_get
Get broadcast
clickfunnels_broadcast_send
Send broadcast
clickfunnels_broadcast_update
Update broadcast
clickfunnels_broadcasts_list
List broadcasts
clickfunnels_contact_create
Create contact
clickfunnels_contact_delete
Delete contact
clickfunnels_contact_get
Get contact
clickfunnels_contact_notes_list
List contact notes
clickfunnels_contact_tag_apply
Apply contact tag
clickfunnels_contact_tag_remove
Remove contact tag
clickfunnels_contact_upsert
Upsert contact
clickfunnels_contacts_list
List contacts
clickfunnels_course_enrollment_create
Create course enrollment
clickfunnels_courses_list
List courses
clickfunnels_forms_list
List forms
clickfunnels_funnel_get
Get funnel
clickfunnels_funnels_list
List funnels
clickfunnels_me_get
Get me
clickfunnels_opportunities_list
List opportunities
clickfunnels_opportunity_update
Update opportunity
clickfunnels_order_get
Get order
clickfunnels_order_transactions_list
List order transactions
clickfunnels_pipeline_stages_list
List pipeline stages
clickfunnels_product_create
Create product
clickfunnels_product_prices_list
List product prices
clickfunnels_products_list
List products
clickfunnels_tags_list
List tags
clickfunnels_workspace_get
Get workspace

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// ClickFunnels tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clickfunnels"], toolNames: [
    "clickfunnels_funnels_list",
    "clickfunnels_funnel_stats_get",
    "clickfunnels_broadcast_create"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find my webinar funnel, show its stats for the last 30 days, and draft a broadcast announcing the sale" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clickfunnels"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find my webinar funnel, show its stats for the last 30 days, and draft a broadcast announcing the sale" }],
  tools,
});

// Execute the tool call with the user's vaulted ClickFunnels access token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clickfunnels"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find my webinar funnel, show its stats for the last 30 days, and draft a broadcast announcing the sale" }],
  tools,
});

// Tool call runs with the user's vaulted ClickFunnels access token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["clickfunnels"] }, pageSize: 100,
});

const agent = new Agent({
  name: "funnel_agent",
  model: "gemini-2.5-pro",
  instruction: "ClickFunnels tools scoped to this user",
  tools,
});

await agent.run("Find my webinar funnel, show its stats for the last 30 days, and draft a broadcast announcing the sale");
Try these prompts
Copy any prompt into your agent. Each maps directly to a ClickFunnels tool. Click to copy, paste into your agent, done.
Funnels and stats
Copy the prompt
Copied
List the funnels in my workspace.
Copy the prompt
Copied
Show views, opt-ins, and sales for each step of this funnel.
Copy the prompt
Copied
Get revenue, orders, and contacts for my workspace this month.
Contacts and sales
Copy the prompt
Copied
Find the contact with this email and show their activity.
Copy the prompt
Copied
Create or update a contact and tag them as webinar-lead.
Copy the prompt
Copied
Move this sales opportunity to the next pipeline stage.
Orders and email
Copy the prompt
Copied
List this week's orders and their transactions.
Copy the prompt
Copied
Create a draft broadcast announcing the sale.
Copy the prompt
Copied
Send the saved broadcast to 3 test recipients.
SEE HOW AUTH WORKS
Each user connects their own ClickFunnels access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
ClickFunnels
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
ClickFunnels
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
ClickFunnels
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
ClickFunnels
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other marketing and CRM connectors.
GTM and RevOps Teams
CRM AI agent
Reads the Granola transcript after every call, extracts next steps and updates the HubSpot record, drafts the follow-up in Gmail, and confirms in Slack, all on the rep's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other marketing and CRM connectors.
GTM
HubSpot to Slack updates agent
Watch HubSpot deal stage changes and post structured updates to the right Slack channel. Reps stop checking the CRM all day.
GTM
CRM AI agent
Turn each Granola call transcript into a HubSpot record update, a drafted Gmail follow-up, and a Slack recap.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared ClickFunnels access token looks fine in a demo. In production every broadcast sent and contact change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
ClickFunnels today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access ClickFunnels as the user or through a shared token?
As the user. Each user connects their own ClickFunnels access token once, and Scalekit sends it with every call. Audit logs attribute every contact change and broadcast sent to that user, not a shared service account.
Where is the ClickFunnels access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in ClickFunnels?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and stats tools without clickfunnels_broadcast_send, which sends an email broadcast to its audience, or clickfunnels_contact_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes ClickFunnels access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent send email broadcasts in ClickFunnels?
Yes, if you expose those tools. clickfunnels_broadcast_create saves a draft and clickfunnels_broadcast_test_send sends it to 1 to 5 test recipients. clickfunnels_broadcast_send sends it to its audience now or at a scheduled time.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""clickfunnels"": {
""url"": ""https://mcp.scalekit.com/clickfunnels"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.clickfunnels]
url = ""https://mcp.scalekit.com/clickfunnels""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""clickfunnels"": {
""url"": ""https://mcp.scalekit.com/clickfunnels"",
""type"": ""http""
}
}
}