Last updated: 2026-07-06 Core principles: Expose AgentChat's 8 AI Providers as MCP tools, so any MCP-compatible client can call them directly Provider layer:
AgentChat-OneWeb(single source of truth) Security policy: never close the user's Chrome
What it is
MCP (Model Context Protocol) Server wrapper layer. Allows MCP clients such as Claude Desktop, Cursor, and Continue.dev to directly discover and invoke AgentChat's AI Provider fallback chain.
Architecture
Claude Desktop / Cursor / 任何 MCP 客户端
│
│ MCP Protocol (stdio JSON-RPC)
▼
AgentChat MCP Server (本 skill, ~200 行)
│
│ child_process.spawn('node', ['AgentChat-OneWeb/index.js', ...])
▼
AgentChat-OneWeb (8 个 Provider)
│
│ playwright-core → Chrome CDP port 9222
▼
Chrome → Gemini / ChatGPT / Claude / Qwen / Kimi / MiniMax / MiMo / DeepSeek
Provided tools
| Tool | Function | Parameters |
|---|---|---|
gemini_think |
Pro Extended Thinking deep reasoning | prompt (required), timeout_ms (optional) |
gemini_chat |
Multi-turn conversation (reuse tab, preserve context) | prompt (required) |
web_ask |
Invoke any Provider through the fallback chain | prompt (required), provider (optional), timeout_ms (optional) |
web_smoke |
Check reachability of the 8 Providers | No parameters |
Configuration method
Claude Desktop
// claude_desktop_config.json
{
"mcpServers": {
"agentchat": {
"command": "node",
"args": ["path/to/AgentChat/skills/mcp-server/index.mjs"]
}
}
}
Cursor / Continue.dev
{
"mcpServers": {
"agentchat": {
"command": "node",
"args": ["skills/mcp-server/index.mjs"],
"cwd": "path/to/AgentChat"
}
}
}
Prerequisites
- Chrome CDP must be running on port 9222
- At least one Provider must already be logged in in Chrome
- Node.js >= 18
Dependencies
| Dependency | Description |
|---|---|
@modelcontextprotocol/sdk |
MCP protocol implementation |
AgentChat-OneWeb |
Provider implementation (within the same repository) |