From 03ffc91764ed46dedcc9ea94847779236322fb4b Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sun, 19 Oct 2025 09:51:03 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E7=AE=80=E5=8C=96=20MCP=20=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E5=AE=89=E8=A3=85=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 主要变更: - INSTALL.md 和 INSTALL_CN.md - 简化 MCP 工具安装部分 - 只保留工具名称、用途和官方源代码库链接 - 移除具体安装步骤,让用户根据官方文档安装 - 保持表格格式清晰易读 改进原因: - MCP 工具安装方式可能随时更新 - 官方文档是最准确的安装指南 - 避免维护多份安装说明 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- INSTALL.md | 16 +++++++--------- INSTALL_CN.md | 16 +++++++--------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index dd33b618..771fd3d5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -210,17 +210,15 @@ These tools enhance file search and data processing capabilities. ### Model Context Protocol (MCP) Tools (Optional) -MCP tools provide advanced context retrieval from external sources, enhancing the AI's understanding. +MCP tools provide advanced context retrieval from external sources, enhancing the AI's understanding. For installation, please refer to the official documentation for each tool. + +| Tool | Purpose | Official Source | +|---|---|---| +| **Exa MCP** | For searching code and the web. | [mcp.js/packages/server-exa](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-exa) | +| **Code Index MCP** | For indexing and searching the local codebase. | [mcp.js/packages/server-code-index](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-code-index) | +| **Chrome DevTools MCP** | For interacting with web pages to extract layout and style information. | [mcp.js/packages/server-chrome-devtools](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-chrome-devtools) | - **Prerequisite**: Node.js and npm (or a compatible JavaScript runtime). -- **Installation**: - ```bash - npm install -g @modelcontextprotocol/server-exa @modelcontextprotocol/server-code-index @modelcontextprotocol/server-chrome-devtools - ``` -- **Tools Included**: - - **Exa MCP**: For searching code and the web. - - **Code Index MCP**: For indexing and searching the local codebase. - - **Chrome DevTools MCP**: For interacting with web pages to extract layout and style information. - **Verify**: After installation, check if the servers can be started (consult MCP documentation for details). ### Optional AI CLI Tools diff --git a/INSTALL_CN.md b/INSTALL_CN.md index b1e4b94b..57366e98 100644 --- a/INSTALL_CN.md +++ b/INSTALL_CN.md @@ -186,17 +186,15 @@ cd Dmsflow ### 模型上下文协议 (MCP) 工具 (可选) -MCP 工具从外部来源提供高级上下文检索,增强 AI 的理解能力。 +MCP 工具从外部来源提供高级上下文检索,增强 AI 的理解能力。关于安装,请参考各个工具的官方文档。 + +| 工具 | 用途 | 官方源码 | +|---|---|---| +| **Exa MCP** | 用于搜索代码和网络。 | [mcp.js/packages/server-exa](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-exa) | +| **Code Index MCP** | 用于索引和搜索本地代码库。 | [mcp.js/packages/server-code-index](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-code-index) | +| **Chrome DevTools MCP** | 用于与网页交互以提取布局和样式信息。 | [mcp.js/packages/server-chrome-devtools](https://github.com/modelcontextprotocol/mcp.js/tree/main/packages/server-chrome-devtools) | - **先决条件**: Node.js 和 npm (或兼容的 JavaScript 运行时)。 -- **安装**: - ```bash - npm install -g @modelcontextprotocol/server-exa @modelcontextprotocol/server-code-index @modelcontextprotocol/server-chrome-devtools - ``` -- **包含的工具**: - - **Exa MCP**: 用于搜索代码和网络。 - - **Code Index MCP**: 用于索引和搜索本地代码库。 - - **Chrome DevTools MCP**: 用于与网页交互以提取布局和样式信息。 - **验证**: 安装后,检查服务器是否可以启动 (具体请查阅 MCP 文档)。 ### 可选的 AI CLI 工具