Formbricks MCP server for AI agents

Live

API KEY

SURVEYS

Analytics

Formbricks gives your agent survey data in your Formbricks account: read surveys, responses, and contacts, create and update surveys, record responses, and manage webhooks and contact attributes.

  • Per-user credentials: each call uses the actual user's API key, 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.
Formbricks
agent · Acme Q3
Run
Show the latest responses to our onboarding survey.
S
formbricks_responses_list
219ms
Survey feedback agent
Listed the 25 most recent responses to the onboarding survey, with answers and metadata.
Sources: Formbricks responses, 1 survey
formbricks
25 responses
18:29
Message Claude...

Tools your survey feedback agent reaches for on Formbricks, scoped per user.

CALL ANY TOOL
34 tools for survey feedback in Formbricks: read surveys, responses, and contacts, create and update surveys, generate personalized survey links, and manage webhooks.
formbricks_action_class_create
Create action class
Create a code action (tracked by key from your app) or a no-code action (page view, click, exit intent) in a workspace. Code actions need key; no-code actions need no_code_config. Get the workspace ID from formbricks_me_get.
Parameters
Name
Type
Required
Description
name
string
Required
Name of the action class. Example: NPS survey
type
string
Required
Type of action class. One of: code, noCode. Example: code. One of: `code`, `noCode`.
workspace_id
string
Required
The workspace ID where the action class will be created. Example: clx9k2m3n0000abcd1234efgh
description
string
Optional
Optional description of the action class. Example: Customer's subscription tier
key
string
Optional
Required when type is 'code'. A unique identifier for the action. Not needed for 'noCode' type. Example: plan_tier
no_code_config
object
Optional
Configuration object required when type is 'noCode'. Defines the conditions for triggering the action. Not needed for 'code' type. Example: {"type": "click", "elementSelector": {"cssSelector": ".buy-button"}, "urlFilters": []}
formbricks_action_class_delete
Delete action class
formbricks_action_class_get
Get action class
formbricks_action_classes_list
List action classes
formbricks_contact_attribute_key_create
Create contact attribute key
formbricks_contact_attribute_key_delete
Delete contact attribute key
formbricks_contact_attribute_key_get
Get contact attribute key
formbricks_contact_attribute_key_update
Update contact attribute key
formbricks_contact_attribute_keys_list
List contact attribute keys
formbricks_contact_attributes_list
List contact attributes
formbricks_contact_create
Create contact
formbricks_contact_get
Get contact
formbricks_contacts_bulk_upload
Upload contacts bulk
formbricks_contacts_list
List contacts
formbricks_me_get
Get me
formbricks_response_create
Create response
formbricks_response_delete
Delete response
formbricks_response_get
Get response
formbricks_response_update
Update response
formbricks_responses_list
List responses
formbricks_roles_list
List roles
formbricks_survey_contact_link_get
Get survey contact link
formbricks_survey_create
Create survey
formbricks_survey_delete
Delete survey
formbricks_survey_get
Get survey
formbricks_survey_segment_links_list
List survey segment links
formbricks_survey_single_use_links_get
Get survey single use links
formbricks_survey_update
Update survey
formbricks_surveys_list
List surveys
formbricks_webhook_update
Update webhook

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);

// Formbricks tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["formbricks"], toolNames: [
    "formbricks_surveys_list",
    "formbricks_survey_get",
    "formbricks_responses_list"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my surveys, open the onboarding survey, and show its responses from the last 7 days" }] });
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: ["formbricks"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my surveys, open the onboarding survey, and show its responses from the last 7 days" }],
  tools,
});

// Execute the tool call with the user's vaulted Formbricks API key
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: ["formbricks"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my surveys, open the onboarding survey, and show its responses from the last 7 days" }],
  tools,
});

// Tool call runs with the user's vaulted Formbricks API key
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: ["formbricks"] }, pageSize: 100,
});

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

await agent.run("List my surveys, open the onboarding survey, and show its responses from the last 7 days");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Formbricks tool. Click to copy, paste into your agent, done.
Surveys and responses
Copy the prompt
Copied
List my surveys and their status.
Copy the prompt
Copied
Show the responses to this survey from the last 7 days.
Copy the prompt
Copied
Create a link survey with 3 questions.
Contacts
Copy the prompt
Copied
List the contacts in this workspace.
Copy the prompt
Copied
Create a contact with these attributes.
Copy the prompt
Copied
Get a personalized survey link for this contact.
Webhooks and actions
Copy the prompt
Copied
List the webhooks on this survey.
Copy the prompt
Copied
Create a webhook that posts new responses to this URL.
Copy the prompt
Copied
List the actions that trigger app surveys.
SEE HOW AUTH WORKS
Each user connects their own Formbricks API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Formbricks
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
Formbricks
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
Formbricks
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
Formbricks
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 analytics and marketing connectors.
Support and Ops Teams
Support triage agent
Fetches new Zendesk tickets, classifies them by type and urgency, searches the Notion knowledge base for an answer, and routes what it cannot resolve to Slack. Every call runs on the support agent's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other analytics and marketing connectors.
SUPPORT
Support triage agent
Classify new Zendesk tickets, search the Notion knowledge base for an answer, and route what it cannot resolve to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Formbricks API key looks fine in a demo. In production every survey and response 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 key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Formbricks 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 Formbricks as the user or through a shared API key?
As the user. Each user connects their own Formbricks API key once, and Scalekit sends it with every call. Every survey and response change in your audit trail is attributed to that user, not a shared service account.
Where is the Formbricks API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Formbricks?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without formbricks_survey_delete and formbricks_response_delete, which delete a survey with its responses or a single response. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Formbricks 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.
Which workspaces can the agent see?
Only the workspaces the API key can access. formbricks_me_get returns the workspaces and organization the key can access, with its permissions.
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"": {
""formbricks"": {
""url"": ""https://mcp.scalekit.com/formbricks"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.formbricks]
url = ""https://mcp.scalekit.com/formbricks""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""formbricks"": {
""url"": ""https://mcp.scalekit.com/formbricks"",
""type"": ""http""
}
}
}