mcp-server

mcp-server is a skill for Claude Code, Codex from ziwang-Physics/AgentChat. It costs 37 tokens per session (662 once invoked), scanned A, original, MIT.

A configuration guide and wrapper that exposes eight AI providers through MCP, a standard way for AI applications to find and use tools.

In plain words
What is it for?
Use it to configure AI chat, extended reasoning, multi-turn Gemini conversations, provider availability checks, and requests routed to services including ChatGPT, Claude, Qwen, and DeepSeek.
Why use it?
It lets MCP clients such as Claude Desktop, Cursor, and Continue.dev call several providers through one interface and fallback chain.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for continue.dev. Also seen: built for continue.dev.

Good fit Use it to configure AI chat, extended reasoning, multi-turn Gemini conversations, provider availability checks, and requests routed to services including ChatGPT, Claude, Qwen, and DeepSeek.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ziwang-physics/agentchat/mcp-server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ziwang-Physics/AgentChat --skill mcp-server
Clone the repo
git clone --depth 1 https://github.com/ziwang-Physics/AgentChat

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/ziwang-physics/agentchat/mcp-server/github.svg)](https://agentmods.dev/skills/ziwang-physics/agentchat/mcp-server)
Your own site
<a href="https://agentmods.dev/skills/ziwang-physics/agentchat/mcp-server"><img src="https://agentmods.dev/badge/skills/ziwang-physics/agentchat/mcp-server/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/ziwang-physics/agentchat/mcp-server"><img src="https://agentmods.dev/badge/skills/ziwang-physics/agentchat/mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00662
Opus 5.5 $0.00015 $0.00265
Sonnet 5.5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

Measured 3mo ago against content hash 58faa6ffb791, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-server scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

│ child_process.spawn('node', ['AgentChat-OneWeb/index.js', ...])
skills/mcp-server/SKILL.md · 86 lines

What it actually says

AgentChat MCP Server

最后更新: 2026-07-06 核心原则: 将 AgentChat 的 8 个 AI Provider 暴露为 MCP 工具,任何 MCP 兼容客户端可直接调用 Provider 层: AgentChat-OneWeb(单源真相) 安全策略: 永不关闭用户 Chrome

是什么

MCP(Model Context Protocol)Server 包装层。让 Claude Desktop、Cursor、Continue.dev 等 MCP 客户端直接发现并调用 AgentChat 的 AI Provider 降级链。

架构

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

提供的工具

工具 功能 参数
gemini_think Pro Extended Thinking 深度推理 prompt (必需), timeout_ms (可选)
gemini_chat 多轮对话(复用 tab,保留上下文) prompt (必需)
web_ask 通过降级链调用任意 Provider prompt (必需), provider (可选), timeout_ms (可选)
web_smoke 检查 8 个 Provider 可达性 无参数

配置方式

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"
    }
  }
}

前提条件

  • Chrome CDP 必须在 9222 端口运行
  • 至少一个 Provider 已在 Chrome 中登录
  • Node.js >= 18

依赖

依赖 说明
@modelcontextprotocol/sdk MCP 协议实现
AgentChat-OneWeb Provider 实现(同一仓库内)
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 86 lines · 37 tokens per session scan A 58faa6ffb791

Subscribe to this mod's changes

mcp-server is a skill published in the GitHub repository ziwang-Physics/AgentChat (779 stars, last pushed 12d ago), licensed MIT. It adds 37 tokens to every session and 662 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

mcp-server compared with skills from other repositories

mcp-server next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-serverziwang-Physics/AgentChatSkill77912d agoMITA37Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code