# Wonderchat

```json
{
  "name": "Wonderchat",
  "slug": "wonderchat",
  "url": "https://composio.dev/toolkits/wonderchat",
  "markdown_url": "https://composio.dev/toolkits/wonderchat.md",
  "logo_url": "https://logos.composio.dev/api/wonderchat",
  "categories": [
    "sales & customer support"
  ],
  "is_composio_managed": false,
  "updated_at": "2026-12-04T05:41:52.437Z"
}
```

![Wonderchat logo](https://logos.composio.dev/api/wonderchat)

## Description

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Wonderchat MCP or direct API to create chatbots, manage knowledge bases, update chatbot settings, and query your content through natural language.

## Summary

Wonderchat is an AI chatbot platform powered by your knowledge base and content.
It helps you build custom chatbots that answer questions using your own data.

## Categories

- sales & customer support

## Toolkit Details

- Tools: 10

## Images

- Logo: https://logos.composio.dev/api/wonderchat

## Authentication

- **Api Key**
  - Type: `api_key`
  - Description: Api Key authentication for Wonderchat.
  - Setup:
    - Configure Api Key credentials for Wonderchat.
    - Use the credentials when creating an auth config in Composio.

## Suggested Prompts

- List my Wonderchat chatbots and details
- Create a chatbot from my knowledge base
- Update my Wonderchat chatbot welcome message

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `WONDERCHAT_ADD_PAGES` | Add Pages | Add URLs to a chatbot knowledge base and start crawling them, including private pages when a session cookie is supplied. |
| `WONDERCHAT_ADD_TAGS_TO_CHATLOG` | Add Tags to Chatlog | Add one or more tags to a chatlog for categorization and filtering. |
| `WONDERCHAT_ASK_CHATBOT` | Ask Chatbot | Ask a chatbot a question without API-key authentication. The call is non-streaming and creates a new chatlog when chatlogId is omitted. |
| `WONDERCHAT_DELETE_PAGES` | Delete Pages | Delete URLs from a chatbot knowledge base. This permanently removes those pages. |
| `WONDERCHAT_DELETE_TAGS_FROM_CHATLOG` | Delete Tags from Chatlog | Remove specified tags from a chatlog. This destructively changes its tags. |
| `WONDERCHAT_EXPORT_CHATLOGS` | Export Chatlogs | Export one cursor-paginated page of historical chatlogs from accessible chatbots, optionally filtered by chatbot and date range. Results contain end-user PII such as names, email addresses, and phone numbers. Date filtering matches creation or last-message time; use nextCursor until hasMore is false for a complete export. |
| `WONDERCHAT_GET_MESSAGES` | Get Messages | Retrieve all user and bot messages from a chatlog, including timestamps. |
| `WONDERCHAT_UPDATE_CHATLOG_INFO` | Update Chatlog Info | Partially update contact and custom-field data on a chatlog. Requires a paid Wonderchat plan and an API key with ADMIN permission on the chatbot. |
| `WONDERCHAT_UPDATE_CHAT_FEEDBACK` | Update Chat Feedback | Set GOOD or BAD feedback on a chatlog for satisfaction tracking. |
| `WONDERCHAT_UPDATE_MESSAGE_FEEDBACK` | Update Message Feedback | Set helpfulness feedback and an optional comment on one chatbot message. |

## Supported Triggers

None listed.

## Installation and MCP Setup

### Path 1: SDK Installation

#### Path 1, Step 1: Install Composio

Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
```python
pip install composio composio_openai openai
```

```typescript
npm install @composio/core @composio/openai openai
```

#### Path 1, Step 2: Create a Composio session

Initialize Composio with the OpenAI Responses provider and create a session scoped to Wonderchat
```python
import json
from openai import OpenAI
from composio import Composio
from composio_openai import OpenAIResponsesProvider

composio = Composio(provider=OpenAIResponsesProvider())
client = OpenAI()

session = composio.create(user_id="your-user-id", toolkits=["wonderchat"])
tools = session.tools()
```

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

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["wonderchat"] });
const tools = await session.tools();
```

#### Path 1, Step 3: Run Wonderchat tools with your agent

Send a request, execute the Wonderchat tool calls through the session, and print the final answer
```python
response = client.responses.create(
    model="gpt-5.6-sol",
    tools=tools,
    input=[{"role": "user", "content": "List all chatbots in my Wonderchat account"}],
)

while True:
    tool_calls = [o for o in response.output if o.type == "function_call"]
    if not tool_calls:
        break
    results = composio.provider.handle_tool_calls(response=response, session=session)
    response = client.responses.create(
        model="gpt-5.6-sol",
        tools=tools,
        previous_response_id=response.id,
        input=[
            {"type": "function_call_output", "call_id": call.call_id, "output": json.dumps(results[i])}
            for i, call in enumerate(tool_calls)
        ],
    )

print(response.output_text)
```

```typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all chatbots in my Wonderchat account" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
```

### Path 2: MCP Server Setup

#### Path 2, Step 1: Install Composio

Install the Composio SDK and your agent framework
```python
pip install composio claude-agent-sdk
```

```typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
```

#### Path 2, Step 2: Create a session with MCP enabled

Create a session scoped to Wonderchat and read its MCP URL and headers
```python
from composio import Composio

composio = Composio()
session = composio.create(user_id="your-user-id", toolkits=["wonderchat"], mcp=True)
```

```typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["wonderchat"],
  mcp: true,
});
```

#### Path 2, Step 3: Connect your agent to the MCP server

Pass the session's MCP URL and headers to your agent and run a Wonderchat request
```python
import asyncio
from claude_agent_sdk import ClaudeSDKClient, ClaudeAgentOptions, AssistantMessage, TextBlock

options = ClaudeAgentOptions(
    mcp_servers={
        "composio": {
            "type": "http",
            "url": session.mcp.url,
            "headers": session.mcp.headers,
        }
    },
    system_prompt="You are a helpful assistant with access to Wonderchat tools.",
    tools=[],
    allowed_tools=["mcp__composio__*"],
)

async def main():
    async with ClaudeSDKClient(options=options) as client:
        await client.query("List all chatbots in my Wonderchat account")
        async for message in client.receive_response():
            if isinstance(message, AssistantMessage):
                for block in message.content:
                    if isinstance(block, TextBlock):
                        print(block.text)

asyncio.run(main())
```

```typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all chatbots in my Wonderchat account",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
```

## Why Use Composio?

### 1. AI Native Wonderchat Integration

- Supports both Wonderchat MCP and direct API based integrations
- Structured, LLM-friendly schemas for reliable chatbot and knowledge base operations
- Rich coverage for creating, reading, updating, and querying your Wonderchat resources

### 2. Managed Auth

- Securely stores your Wonderchat API key without hard-coding it into agent workflows
- Central place to manage, scope, and revoke Wonderchat access
- Per user and per environment credentials for safer development and production deployments

### 3. 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

### 4. Enterprise Grade Security

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

## Use Wonderchat with any AI Agent Framework

Choose a framework you want to connect Wonderchat with:

- [ChatGPT](https://composio.dev/toolkits/wonderchat/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/wonderchat/framework/claude-cowork)

## Related Toolkits

- [Aeroleads](https://composio.dev/toolkits/aeroleads) - Aeroleads is a B2B lead generation platform for finding business emails and phone numbers. Grow your sales pipeline faster with powerful prospecting tools.
- [Algomo MCP](https://composio.dev/toolkits/algomo_mcp) - Algomo MCP is a hosted MCP service for managing Algomo AI support and sales workspaces. It provides a secure, agent-ready way to connect tools, workflows, and staged changes.
- [Autobound](https://composio.dev/toolkits/autobound) - Autobound is an AI-powered sales engagement platform that crafts hyper-personalized outreach and insights. It helps sales teams boost response rates and close more deals through tailored content and recommendations.
- [Better proposals](https://composio.dev/toolkits/better_proposals) - Better Proposals is a web-based tool for crafting and sending professional proposals. It helps teams impress clients and close deals faster with slick, easy-to-use templates.
- [Bidsketch](https://composio.dev/toolkits/bidsketch) - Bidsketch is a proposal software that helps businesses create professional proposals quickly and efficiently. It streamlines the proposal process, saving time while boosting client win rates.
- [Bolna](https://composio.dev/toolkits/bolna) - Bolna is an AI platform for building conversational voice agents. It helps businesses automate support and streamline interactions through natural, voice-powered conversations.
- [Botdog](https://composio.dev/toolkits/botdog) - Botdog is a LinkedIn outreach platform for managing campaigns, leads, messages, analytics, and sending accounts. It helps sales teams run outbound workflows and track performance from one place.
- [BotPenguin](https://composio.dev/toolkits/botpenguin) - BotPenguin is an AI chatbot platform for customer messaging, contacts, and conversations. It helps teams manage bot-led support and lead engagement across channels.
- [Botsonic](https://composio.dev/toolkits/botsonic) - Botsonic is a no-code AI chatbot builder for easily creating and deploying chatbots to your website. It empowers businesses to offer conversational experiences without writing code.
- [Botstar](https://composio.dev/toolkits/botstar) - 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.
- [Callerapi](https://composio.dev/toolkits/callerapi) - CallerAPI is a white-label caller identification platform for branded caller ID and fraud prevention. It helps businesses boost customer trust while stopping spam, fraud, and robocalls.
- [Callingly](https://composio.dev/toolkits/callingly) - Callingly is a lead response management platform that automates immediate call and text follow-ups with new leads. It helps sales teams boost response speed and close more deals by connecting seamlessly with CRMs and lead sources.
- [Callpage](https://composio.dev/toolkits/callpage) - Callpage is a lead capture platform that lets businesses instantly connect with website visitors via callback. It boosts lead generation and increases your sales conversion rates.
- [Charla](https://composio.dev/toolkits/charla) - Charla is a live chat and AI customer-support platform for property teams. It helps manage guest conversations, property contacts, and support knowledge.
- [Chatforma](https://composio.dev/toolkits/chatforma) - Chatforma is a chatbot automation platform for building and managing bots. It helps teams run dialogs, segments, broadcasts, forms, and user updates from one place.
- [Clearout](https://composio.dev/toolkits/clearout) - Clearout is an AI-powered service for verifying, finding, and enriching email addresses. It boosts deliverability and helps you discover high-quality leads effortlessly.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Convolo ai](https://composio.dev/toolkits/convolo_ai) - Convolo ai is an AI-powered communications platform for sales teams. It accelerates lead response and improves conversion rates by automating calls and integrating workflows.
- [Crisp](https://composio.dev/toolkits/crisp) - Crisp is a customer messaging platform for live chat, contacts, helpdesk, and campaigns. It helps support teams manage customer conversations from one shared workspace.
- [DataForB2B](https://composio.dev/toolkits/dataforb2b) - DataForB2B is a B2B data service for searching and enriching people and companies. It helps sales and recruiting teams find accurate business contacts faster.

## Frequently Asked Questions

### Do I need my own developer credentials to use Wonderchat with Composio?

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

### Can I use multiple toolkits together?

Yes! Composio's Tool Router enables agents to use multiple toolkits. [Learn more](https://docs.composio.dev/tool-router/overview).

### Is Composio secure?

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. [Learn more](https://trust.composio.dev).

### What if the API changes?

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

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
