Botstar MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Botstar MCP or direct API to fetch bot analytics, send messages, update bot flows, and manage conversations through natural language.

Botstar logoBotstar
Api Key

BotStar is a comprehensive chatbot platform for designing, developing, and training chatbots visually on Messenger and websites. It helps businesses automate conversations and customer interactions without coding.

31 Tools

Try Botstar now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Botstar
Try asking
TOOLS

Supported Tools

Every Botstar action and event your agent gets out of the box.

Create Bot

Tool to create a new bot in BotStar.

Create Bot Attribute

Tool to create a new bot attribute in BotStar.

Create CMS Entity

Tool to create a CMS entity in BotStar with a name and optional fields.

Create Entity Fields

Tool to create entity field(s) in BotStar CMS.

Create Entity Item

Tool to create a new entity item in BotStar CMS.

Create User Attributes

Tool to create custom user attributes in BotStar.

Delete Bot Attribute

Tool to delete a bot attribute by ID.

Delete CMS Entity

Tool to delete a CMS entity by ID.

Delete Entity Fields

Tool to delete entity field(s) from a CMS entity.

Delete Entity Item

Tool to delete an entity item from a CMS entity.

Get Bot

Tool to get your bot by bot ID.

Get BotStar Application IDs

Tool to retrieve the BotStar application ID (`appId`).

Get CMS Entity

Tool to get a specific CMS entity by ID.

Get Entity Item

Tool to retrieve a specific item from a CMS entity with all field values.

List Bot Attributes

Tool to get all bot attributes from BotStar.

List Bots

Tool to get your list of bots.

List CMS Entities

Tool to retrieve all CMS entities for a bot.

List Entity Items

Tool to retrieve all entity items with pagination support.

Livechat boot

Tool to reinitialize the live chat widget with provided data.

Close BotStar Livechat Widget

Tool to hide the live chat window.

BotStar LiveChat onClose Callback

Tool to register a callback when the chat window is closed.

Livechat on open

Tool to register a callback when the chat window is opened.

Livechat open

Tool to show the live chat window.

Livechat update

Tool to update user details on the current live chat session.

Publish Bot to Live

Tool to publish a bot to live.

Update Bot Attribute

Tool to update a bot attribute in BotStar.

Update CMS Entity

Tool to update a CMS entity in BotStar.

Update Entity Fields

Tool to update entity field(s) in BotStar CMS.

Update Entity Item

Tool to update a CMS entity item in BotStar.

Get BotStar Webview Parameter

Tool to retrieve a parameter value passed from the BotStar chatbot to the webview.

Webview send response

Tool to send data from the webview back to the BotStar chatbot.

SETUP GUIDE

Connect Botstar MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Open the BotStar live chat window for the website visitor' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Botstar API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Botstar Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: '[A real, concrete use case specific to {TOOLKIT_NAME}]'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Botstar actions with your Agent

Why Use Composio?

AI Native Botstar Integration

  • Supports both Botstar MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Botstar data

Managed Auth

  • Built-in API key handling with secure storage
  • Central place to manage, scope, and revoke Botstar access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Botstar
  • Scoped, least privilege access to Botstar resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Botstar requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Botstar.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Botstar tool your agent needs.Free to start.

Start building