ChipsAI MCP Server
Enables managing ChipsBot chatbots, conversations, documents, RAG configuration, bot-to-bot routing, and AI models through natural language.
README
<!-- mcp-name: io.github.fgasparetto/chipsai-mcp -->
ChipsAI MCP Server
MCP (Model Context Protocol) server for ChipsBot — manage chatbots, conversations, documents, bot-to-bot routing, RAG configuration, and AI models from Claude Code, Claude Desktop, or any MCP client.
Requirements
Quick Start
No installation needed with uv:
uv run --script server.py
Or install manually:
pip install "mcp[cli]" httpx
python server.py
Configuration
The server uses environment variables for authentication. API key is the recommended method — generate one from your ChipsBot dashboard.
| Variable | Description | Default |
|---|---|---|
CHIPSAI_API_KEY |
Your ChipsAI API key (recommended) | — |
CHIPSAI_API_URL |
API base URL | https://ai.chipsbuilder.com |
<details> <summary>Legacy: username/password authentication</summary>
If you don't have an API key, you can use username/password instead:
| Variable | Description |
|---|---|
CHIPSAI_USERNAME |
Your ChipsAI username |
CHIPSAI_PASSWORD |
Your ChipsAI password |
</details>
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"chipsai": {
"command": "uvx",
"args": ["chipsai-mcp"],
"env": {
"CHIPSAI_API_KEY": "chipsai_your_api_key_here"
}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"chipsai": {
"command": "uvx",
"args": ["chipsai-mcp"],
"env": {
"CHIPSAI_API_KEY": "chipsai_your_api_key_here"
}
}
}
}
Available Tools
Chatbot Management
| Tool | Description |
|---|---|
list_chatbots |
List all chatbots for the authenticated user |
get_chatbot |
Get full chatbot details (prompt, model, colors, etc.) |
create_chatbot |
Create a new chatbot (returns embed script tag) |
update_chatbot |
Update chatbot fields (name, prompt, model, theme, colors, etc.) |
delete_chatbot |
Soft-delete (deactivate) a chatbot |
get_chatbot_config |
Get public widget configuration |
get_chatbot_analytics |
Get analytics: messages, sessions, daily stats, devices, countries |
Documents (RAG)
| Tool | Description |
|---|---|
upload_document |
Upload PDF/DOC/DOCX to a chatbot's knowledge base (LlamaParse) |
Conversations
| Tool | Description |
|---|---|
list_conversations |
List conversations, optionally filtered by chatbot |
create_conversation |
Create a new conversation |
get_conversation |
Get conversation details |
update_conversation |
Update conversation title |
delete_conversation |
Delete a conversation and all messages |
get_conversation_messages |
Get all messages from a conversation |
Widget History
| Tool | Description |
|---|---|
list_conversation_history |
List widget conversation sessions (paginated, filter by chatbot) |
get_session_messages |
Get all messages from a widget conversation session |
Chat
| Tool | Description |
|---|---|
send_message |
Send a message and get AI response (auto-creates conversation) |
Bot-to-Bot Connections
| Tool | Description |
|---|---|
connect_bot |
Connect a specialist bot to an orchestrator bot (role-based routing) |
list_bot_connections |
List all specialist bots connected to an orchestrator |
update_bot_connection |
Update role, label, description, or active status of a connection |
disconnect_bot |
Remove a bot-to-bot connection |
RAG Configuration
| Tool | Description |
|---|---|
get_rag_config |
Get RAG config: threshold, chunk settings, HyDE, L2, reranker, system instructions |
update_rag_config |
Update RAG config (threshold, chunk_size, chunk_strategy, HyDE, L2, reranker, etc.) |
User & Models
| Tool | Description |
|---|---|
get_user_plan |
Get credit balance, unlimited status, usage stats |
list_ai_models |
List available AI models by provider with credit costs |
RAG Pipeline
ChipsBot supports a full Retrieval-Augmented Generation pipeline configurable per-bot:
- Semantic routing (L1): pgvector + Jina Embeddings v3 — routes queries to the best specialist based on cosine similarity (HNSW index)
- HyDE: for sparse/short queries, generates a hypothetical answer with Haiku and re-embeds it for better retrieval
- Chunk injection (L2): at response time, injects only the top-K relevant KB chunks instead of the full prompt — reduces token usage, improves quality
- Reranking: optional Jina cross-encoder reranker (
jina-reranker-v2-base-multilingual) applied after cosine retrieval - Chunking strategies:
char(fixed size),paragraph(semantic\n\nsplit),sentence(.!?split) - Document upload: PDF/DOC/DOCX parsed via LlamaParse, extracted text stored as KB
Use get_rag_config / update_rag_config to tune all parameters per-bot.
Bot-to-Bot Routing
An orchestrator bot can route questions to specialist bots based on role/description. The orchestrator detects [ROUTE:uuid] tags in its own response and delegates to the matching specialist, passing recent chat history as context.
Use connect_bot to link specialists to an orchestrator, list_bot_connections to inspect the routing table, and update_bot_connection to adjust roles or toggle connections on/off.
Credit System
ChipsAI uses a credit-based pricing model:
| Tier | Credits/msg | Models |
|---|---|---|
| Free | 0 | Llama 4 Scout, Llama 3.3 70B, Llama 3.1 8B (Groq) |
| Economy | 0.5 | Mistral Nemo, DeepSeek Chat |
| Standard | 1.0 | GPT-4o-mini, Gemini 2.5 Flash, Mistral Small, Claude Haiku 4.5 |
| Premium | 2.0 | GPT-4o, Mistral Large, DeepSeek Reasoner |
| Top | 3.0 | GPT-4.1, Claude Sonnet 4.6, Gemini 2.5 Pro |
Credit packages: 150 credits for €5 | 700 for €20 | 2000 for €50. Credits never expire. Bring your own API key to use any model for free (no credits consumed).
Usage Examples
Once configured, use natural language in Claude:
- "List my chatbots"
- "Create a chatbot called Support Bot"
- "Upload the product catalog PDF to my chatbot"
- "Send a test message to my chatbot"
- "Show analytics for the last 7 days"
- "Change the chatbot model to Claude Sonnet 4.6"
- "What's my credit balance?"
- "What AI models are available?"
- "Connect the billing bot as a specialist of my main orchestrator"
- "List all specialist bots connected to my orchestrator"
- "Show the RAG config for my chatbot"
- "Set the RAG threshold to 0.5 and enable reranking"
- "Enable L2 chunk injection with top_k=5"
Authentication
API Key (recommended): Set CHIPSAI_API_KEY with a key generated from your dashboard. The key is sent as a Bearer token — no token management needed.
JWT (legacy): If using username/password, tokens are obtained via JWT and refreshed transparently.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。