ChipsAI MCP Server

io.github.fgasparetto由 GitHub 帳號 fgasparetto 發布v1.0.1更新於 Nov 10, 2026

MCP server for ChipsAI — manage chatbots, conversations, and AI models

概覽

AI 產生的概覽

讓助理透過 ChipsAI API 管理 ChipsAI/ChipsBot 的聊天機器人、對話、RAG 設定、機器人路由與 AI 模型。

可以做什麼
將 MCP 用戶端連接到 ChipsAI 帳號,助理可以列出、建立、更新與停用聊天機器人,並查看其分析資料。它也能處理對話與網頁小工具工作階段歷史、傳送訊息取得 AI 回覆、把 PDF/DOC/DOCX 文件上傳到機器人的知識庫,並讀取或調整每個機器人的 RAG 設定,例如門檻、分塊、HyDE、L2 注入與重排序。可以設定機器人之間的路由,助理也能查詢點數餘額與可用 AI 模型。
適用情境
適合在 ChipsAI 上運行聊天機器人,並希望透過 MCP 用戶端而非控制台來管理機器人、知識庫與路由的情境。也適合查看對話歷史與分析資料,或以對話方式調整 RAG 參數。
執行需求
以 stdio 方式在本機執行;需要 Python 3.11+ 以及 uv 或 pip,並擁有 ChipsAI/ChipsBot 帳號。認證使用 CHIPSAI_API_KEY(建議)或舊版 CHIPSAI_USERNAME 與 CHIPSAI_PASSWORD;清單中還列出 CHIPSAI_EMAIL 和 CHIPSAI_PASSWORD。需要存取 ChipsAI API 的網路,CHIPSAI_API_URL 預設指向供應方的端點。
安裝前請注意
需要帳號憑證:CHIPSAI_API_KEY 或 CHIPSAI_PASSWORD(以及 CHIPSAI_EMAIL/CHIPSAI_USERNAME),應以環境變數保存,不要外流。多個工具會寫入或刪除資料,包括 create_chatbot、update_chatbot、delete_chatbot(軟刪除)、delete_conversation、upload_document 與 update_rag_config。傳送訊息與使用付費模型會依點數計費而消耗點數,大量使用前請先確認餘額。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ChipsAI MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

  • Python 3.11+
  • uv (recommended) or pip
  • A ChipsBot account (sign up)

Quick Start

No installation needed with uv:

bash
uv run --script server.py

Or install manually:

bash
pip install "mcp[cli]" httpxpython server.py

Configuration

The server uses environment variables for authentication. API key is the recommended method — generate one from your ChipsBot dashboard.

VariableDescriptionDefault
CHIPSAI_API_KEYYour ChipsAI API key (recommended)—
CHIPSAI_API_URLAPI base URLhttps://ai.chipsbuilder.com
Legacy: username/password authentication

If you don't have an API key, you can use username/password instead:

VariableDescription
CHIPSAI_USERNAMEYour ChipsAI username
CHIPSAI_PASSWORDYour ChipsAI password

Claude Code

Add to your project's .mcp.json:

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:

json
{  "mcpServers": {    "chipsai": {      "command": "uvx",      "args": ["chipsai-mcp"],      "env": {        "CHIPSAI_API_KEY": "chipsai_your_api_key_here"      }    }  }}

Available Tools

Chatbot Management

ToolDescription
list_chatbotsList all chatbots for the authenticated user
get_chatbotGet full chatbot details (prompt, model, colors, etc.)
create_chatbotCreate a new chatbot (returns embed script tag)
update_chatbotUpdate chatbot fields (name, prompt, model, theme, colors, etc.)
delete_chatbotSoft-delete (deactivate) a chatbot
get_chatbot_configGet public widget configuration
get_chatbot_analyticsGet analytics: messages, sessions, daily stats, devices, countries

Documents (RAG)

ToolDescription
upload_documentUpload PDF/DOC/DOCX to a chatbot's knowledge base (LlamaParse)

Conversations

ToolDescription
list_conversationsList conversations, optionally filtered by chatbot
create_conversationCreate a new conversation
get_conversationGet conversation details
update_conversationUpdate conversation title
delete_conversationDelete a conversation and all messages
get_conversation_messagesGet all messages from a conversation

Widget History

ToolDescription
list_conversation_historyList widget conversation sessions (paginated, filter by chatbot)
get_session_messagesGet all messages from a widget conversation session

Chat

ToolDescription
send_messageSend a message and get AI response (auto-creates conversation)

Bot-to-Bot Connections

ToolDescription
connect_botConnect a specialist bot to an orchestrator bot (role-based routing)
list_bot_connectionsList all specialist bots connected to an orchestrator
update_bot_connectionUpdate role, label, description, or active status of a connection
disconnect_botRemove a bot-to-bot connection

RAG Configuration

ToolDescription
get_rag_configGet RAG config: threshold, chunk settings, HyDE, L2, reranker, system instructions
update_rag_configUpdate RAG config (threshold, chunk_size, chunk_strategy, HyDE, L2, reranker, etc.)

User & Models

ToolDescription
get_user_planGet credit balance, unlimited status, usage stats
list_ai_modelsList 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\n split), 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:

TierCredits/msgModels
Free0Llama 4 Scout, Llama 3.3 70B, Llama 3.1 8B (Groq)
Economy0.5Mistral Nemo, DeepSeek Chat
Standard1.0GPT-4o-mini, Gemini 2.5 Flash, Mistral Small, Claude Haiku 4.5
Premium2.0GPT-4o, Mistral Large, DeepSeek Reasoner
Top3.0GPT-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

來源:README.md,提交 3543d24

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分