> For AI agents: the complete documentation index is available at https://rsdoctor.rs/zh/llms.txt, the full documentation bundle is available at https://rsdoctor.rs/zh/llms-full.txt.

# MCP server

Rsdoctor 2.x 已不再包含 `@rsdoctor/mcp-server`。

- 当前 AI 构建分析流程请使用 [`@rsdoctor/agent-cli`](https://rsdoctor.rs/zh/guide/start/ai.md#agent-cli)。
- 迁移步骤请参阅 [Rsdoctor 2.0 迁移指南](https://rsdoctor.rs/zh/guide/migration/migration-v2.md#ai-%E5%B7%A5%E4%BD%9C%E6%B5%81%E8%BF%81%E7%A7%BB)。
- 旧版 MCP 使用说明请参阅 [v1 文档](https://v1.rsdoctor.rs/zh/guide/usage/mcp)。
