# ChatGen MCP MCP

> ChatGen MCP connects your AI agent directly to your conversational marketing engine. It lets you manage chatbots, analyze real-time visitor conversations, and qualify leads as they happen. Instead of relying on manual forms, this MCP routes prospects into your sales workflow automatically, giving you a single view of the entire customer journey.

## Overview
- **Category:** customer-support
- **Price:** Free
- **Tags:** conversational-marketing, lead-capture, chatbot, visitor-engagement, sales-automation, real-time-routing

## Description

ChatGen turns website chat interactions into actionable data. Your agent connects to this MCP to handle everything from initial visitor questions to full lead qualification. It manages the whole cycle: monitoring who chats with the bot, understanding what they talked about, and then syncing that information directly with your sales records. When a conversation indicates high interest—say, someone asking about pricing or an enterprise plan—the system qualifies them instantly. You get clear reports on recent chat sessions and full lead profiles, all without lifting a finger. Because it’s managed through the Vinkius catalog, you can use this capability alongside any other tool your team uses, keeping all your operational data in one place.

## Tools

### create_bot
Creates a brand new chatbot instance within your ChatGen account.

### delete_bot
Removes an existing bot, taking it offline.

### get_bot
Retrieves all configuration details for a specific chatbot by name or ID.

### get_lead_details
Fetches the full record and qualification status of one specific lead.

### list_bots
Shows a list of all active chatbots you currently manage.

### list_conversations
Retrieves recent chat sessions so you can review user interactions and bot performance logs.

### list_leads
Provides a list of all the captured leads waiting in your system for qualification.

### list_teams
Lists the organizational teams set up within your account structure.

### update_bot
Makes changes to an existing bot's settings without deleting it first.

## Prompt Examples

**Prompt:** 
```
List all my ChatGen bots.
```

**Response:** 
```
I've retrieved your bots. You have 3 bots: 'Sales Bot', 'Support Assistant', and 'Lead Gen 2024'.
```

**Prompt:** 
```
Show me details for the lead 'lead_999'.
```

**Response:** 
```
Lead 'lead_999' is Robert Fox (robert@example.com). They were captured by the 'Sales Bot' and expressed interest in the Enterprise plan.
```

**Prompt:** 
```
Find recent bot conversations.
```

**Response:** 
```
I found 10 recent conversations. Most users are asking about pricing and integration options. Would you like a summary of the latest one?
```

## Capabilities

### Manage Chatbots
Programmatically list, create, and update every chatbot instance connected to the platform.

### Track Conversations
Pull logs of recent chat sessions to review user interactions and track bot performance over time.

### Retrieve Lead Profiles
Get detailed information on a specific lead, including all the data captured during their initial chats.

### List Captured Leads
View an entire list of leads that have been successfully qualified and captured by your bots.

### Understand Team Structure
See the organizational teams set up within your ChatGen account for better departmental insights.

## Use Cases

### Onboarding a New Bot
A marketing team member needs to launch three new campaign bots. Instead of logging into the dashboard manually, they ask their agent to `list_bots` first, then use `create_bot` and `update_bot` sequentially to set up the initial configuration for all three.

### Auditing Lead Quality
Sales needs to know if a lead from last week is still interested. They ask their agent to `list_leads`, find the ID, and then run `get_lead_details` to see the latest qualification notes and interest level.

### Investigating Bot Failure
Support noticed a lead dropped off after asking about payment. They ask their agent to `list_conversations`, find the chat from yesterday, review the transcript, and understand exactly where the bot failed to qualify them.

### Account Cleanup
A team is sunsetting an old campaign. Instead of manually logging in and deleting it, they use `get_bot` to confirm its settings first, then run `delete_bot` via their agent.

## Benefits

- Stop guessing about lead quality. By calling `get_lead_details`, you see exactly what information was captured and whether the bot qualified them correctly for sales follow-up.
- Keep your chatbot inventory clean and organized. Use `list_bots` to quickly audit all active bots, or use `update_bot` if a bot needs a small rule change without downtime.
- Never lose context again. The ability to run `list_conversations` lets you review the actual chat transcript whenever a lead gets stuck in the pipeline.
- Sync your data flow. If you need to see all available leads, running `list_leads` gives you an immediate roster of prospects ready for assignment.
- Maintain system structure easily. Need to check who owns which bot? Use `list_teams` to understand your account hierarchy and reporting lines.

## How It Works

The bottom line is: you get real-time visibility into who's talking to your website bots and what that means for sales.

1. Subscribe to this MCP and input your unique ChatGen API key into your agent's settings.
2. Your AI client uses the connection to call out, checking your bot list or pulling specific lead data when prompted.
3. The conversation history and resulting qualification details appear directly in your agent’s output for immediate action.

## Frequently Asked Questions

**How do I check if a bot is running correctly using ChatGen MCP?**
Use `list_bots` to get an overview of all available bots. If you need deeper status, run `get_bot` with the specific name or ID to pull its current configuration metadata.

**Can I find out who talked to the bot and what they asked?**
Yes, running `list_conversations` retrieves recent chat sessions. This lets you quickly review user interactions and see how the bot performed during those chats.

**How do I update a chatbot's rules without downtime using ChatGen MCP?**
Use the `update_bot` tool. This allows you to make specific changes, like tweaking qualification criteria or updating routing logic, on an existing bot instance.

**What is the best way to check a lead's status after they chat with the bot?**
You should call `get_lead_details` using their identifier. This gives you the most complete picture, showing who they are and what information was captured during their conversation.

**What steps should I take to verify my permissions after running `list_bots` on ChatGen MCP?**
You need to check your account scope using the `list_teams` tool. This confirms which organizational teams and data segments your agent can access, preventing unauthorized attempts to manage leads or bots.

**If I accidentally run the `delete_bot` tool, is there a way to restore the chatbot configuration?**
No. The `delete_bot` function performs an irreversible deletion of the bot from ChatGen's system immediately upon execution. Always test destructive commands in a controlled environment first.

**Using `list_bots`, how do I compare detailed metadata across multiple chatbots?**
The output of `list_bots` provides the full configuration data for every bot. You must process this structured JSON data within your AI client to effectively compare specific settings or versions.

**Is there a rate limit if I try to query many leads using `list_leads`?**
Yes, ChatGen enforces standard API rate limits. If you hit the limit while listing leads, your agent will receive an HTTP 429 error. Implement exponential backoff in your workflow for bulk querying.

**Can I list all my active chatbots using my AI agent?**
Yes! Use the `list_bots` tool to retrieve a comprehensive list of all bots configured in your ChatGen account.

**How do I check details for a captured lead?**
Simply provide the Lead ID to the `get_lead_details` tool. Your agent will fetch the full profile and captured field values.

**Is it possible to update a bot's name through this integration?**
Yes, you can use the `update_bot` action to modify the name or other attributes of an existing chatbot.