BotStar MCP server for AI agents

Live

BEARER TOKEN

CHATBOTS

Communication

BotStar gives your agent chatbot management in your BotStar account: list and create bots, publish drafts to live, manage CMS entities and items, update chat user attributes, and send Messenger messages.

  • 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.
BotStar
agent · Acme Q3
Run
What products are in my bot's CMS catalog?
S
botstar_cms_items_list
142ms
Chatbot agent
The Products entity has 18 items. 15 are published and 3 are drafts.
Sources: BotStar CMS entity, 18 items
botstar
18 items
18:29
Message Claude...

Tools your chatbot agent reaches for on BotStar, scoped per user.

CALL ANY TOOL
25 tools for chatbots in BotStar: list and create bots, publish draft changes, manage bot attributes and CMS entities and items, update chat user attributes, and send Messenger messages.
botstar_bot_attribute_create
Create bot attribute
Create a bot attribute, optionally with a value per language for multilingual bots. Returns the created attribute. Use botstar_bot_attribute_create for a new bot-wide variable. Use botstar_bot_attribute_update to change its value.
Parameters
Name
Type
Required
Description
bot_id
string
Required
Bot ID, from botstar_bots_list or the Bot Builder URL. Example: s5d8f1c2a-3b4e-4f6a-9c1d-2e7f8a9b0c1d
data_type
string
Required
string, number or date. One of: string, number, date. Example: string. One of: `string`, `number`, `date`.
name
string
Required
Attribute name, at most 250 characters. Example: support_phone
desc
string
Optional
Description. Example: Support phone shown in the menu
env
string
Optional
Which version to change: draft, or draft,live to change both at once. One of: draft, draft,live. Example: draft,live. One of: `draft`, `draft,live`.
language_values
object
Optional
Values for other bot languages, keyed value_<language code>. Example: {"value_es": "+34 555 0100"}
value
string
Optional
Value (YYYY-MM-DD for date attributes). Example: +1 555 0100
botstar_bot_attribute_delete
Delete bot attribute
botstar_bot_attribute_update
Update bot attribute
botstar_bot_attributes_list
List bot attributes
botstar_bot_create
Create bot
botstar_bot_get
Get bot
botstar_bot_publish
Publish bot
botstar_bots_list
List bots
botstar_cms_entities_list
List cms entities
botstar_cms_entity_create
Create cms entity
botstar_cms_entity_delete
Delete cms entity
botstar_cms_entity_fields_create
Create cms entity fields
botstar_cms_entity_fields_delete
Delete cms entity fields
botstar_cms_entity_fields_update
Update cms entity fields
botstar_cms_entity_get
Get cms entity
botstar_cms_entity_update
Update cms entity
botstar_cms_item_create
Create cms item
botstar_cms_item_delete
Delete cms item
botstar_cms_item_get
Get cms item
botstar_cms_item_update
Update cms item
botstar_cms_items_list
List cms items
botstar_message_send
Send message
botstar_user_attribute_create
Create user attribute
botstar_user_attributes_update
Update user attributes
botstar_user_get
Get user
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);

// BotStar tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["botstar"], toolNames: [
    "botstar_bots_list",
    "botstar_cms_item_create",
    "botstar_bot_publish"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my bots, add an item to the FAQ CMS entity, and publish the bot" }] });
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: ["botstar"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my bots, add an item to the FAQ CMS entity, and publish the bot" }],
  tools,
});

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

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my bots, add an item to the FAQ CMS entity, and publish the bot" }],
  tools,
});

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

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

await agent.run("List my bots, add an item to the FAQ CMS entity, and publish the bot");
Try these prompts
Copy any prompt into your agent. Each maps directly to a BotStar tool. Click to copy, paste into your agent, done.
Bots
Copy the prompt
Copied
List the bots in my BotStar account.
Copy the prompt
Copied
Publish my bot's draft changes to live.
Copy the prompt
Copied
Create a new empty bot called Support Helper.
CMS content
Copy the prompt
Copied
List the items in my Products CMS entity.
Copy the prompt
Copied
Create a new item in the FAQ entity.
Copy the prompt
Copied
Add a price field to the Products entity.
Users and messages
Copy the prompt
Copied
Show the attributes of this chat user.
Copy the prompt
Copied
Update this chat user's custom attributes.
Copy the prompt
Copied
Send a Messenger message to this user.
SEE HOW AUTH WORKS
Each user connects their own BotStar 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
BotStar
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
BotStar
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
BotStar
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
BotStar
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 communication and customer support connectors.
Support and Ops Teams
Support ticket automation agent
Fetches new Zendesk tickets, drafts a reply from Notion knowledge base articles, digests what it cannot answer to Slack, and archives the rest, acting as the support agent rather than a shared API key.
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 communication and customer support connectors.
SUPPORT
Support ticket automation (Google ADK)
Fetch, annotate, and archive Zendesk tickets with Notion context, digesting anything it cannot answer to Slack.
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 BotStar access token looks fine in a demo. In production every bot publish 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.
BotStar 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 BotStar as the user or through a shared token?
As the user. Each user connects their own BotStar access token once, and Scalekit sends it with every call. Audit logs attribute every bot, CMS, and user change to that user, not a shared service account.
Where is the BotStar 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 BotStar?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the read tools without botstar_bot_publish, which pushes draft changes live, or botstar_cms_entity_delete, which deletes a CMS entity and its items. Scalekit also enforces scope checks before every API call.
What happens when a user revokes BotStar 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 message a Messenger user?
Yes. botstar_message_send sends a message to a Facebook Messenger user of a bot, including outside the 24-hour window. Leave it out of toolNames if the agent should only read and edit content.
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"": {
""botstar"": {
""url"": ""https://mcp.scalekit.com/botstar"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.botstar]
url = ""https://mcp.scalekit.com/botstar""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""botstar"": {
""url"": ""https://mcp.scalekit.com/botstar"",
""type"": ""http""
}
}
}