我的MCP相关配置记录

[复制链接]
发表于 5 小时前 | 显示全部楼层 |阅读模式
1.VSCode的Cline中的MCP
  1. {
  2.   "mcpServers": {
  3.     "github.com/modelcontextprotocol/servers/tree/main/src/github": {
  4.       "autoApprove": [],
  5.       "disabled": false,
  6.       "timeout": 60,
  7.       "command": "cmd",
  8.       "args": [
  9.         "/c",
  10.         "npx",
  11.         "-y",
  12.         "@modelcontextprotocol/server-github"
  13.       ],
  14.       "env": {
  15.         "GITHUB_PERSONAL_ACCESS_TOKEN": "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"
  16.       },
  17.       "transportType": "stdio"
  18.     },
  19.    
  20.     "filesystem": {
  21.       "timeout": 60,
  22.       "command": "cmd",
  23.       "args": [
  24.         "/c",
  25.         "npx",
  26.         "-y",
  27.         "@modelcontextprotocol/server-filesystem",
  28.         "C:\\Users\\21031\\Desktop"
  29.       ],
  30.       "transportType": "stdio"
  31.     },
  32.     "time": {
  33.       "timeout": 60,
  34.       "command": "python",
  35.       "args": [
  36.         "-m",
  37.         "mcp_server_time",
  38.         "--local-timezone=Asia/Shanghai"
  39.       ],
  40.       "transportType": "stdio"
  41.     },
  42.     "browser-tools-mcp": {
  43.       "autoApprove": [
  44.         "getConsoleLogs",
  45.         "getConsoleErrors",
  46.         "getSelectedElement",
  47.         "runAccessibilityAudit",
  48.         "getNetworkLogs",
  49.         "getNetworkErrors"
  50.       ],
  51.       "timeout": 60,
  52.       "command": "cmd",
  53.       "args": [
  54.         "/c",
  55.         "npx",
  56.         "-y",
  57.         "@agentdeskai/browser-tools-mcp@1.2.0"
  58.       ],
  59.       "transportType": "stdio"
  60.     },
  61.     "fetch": {
  62.       "timeout": 60,
  63.       "command": "uvx",
  64.       "args": [
  65.         "mcp-server-fetch"
  66.       ],
  67.       "transportType": "stdio"
  68.     },
  69.     "sequential-thinking": {
  70.       "timeout": 60,
  71.       "command": "cmd",
  72.       "args": [
  73.         "/c",
  74.         "npx",
  75.         "-y",
  76.         "@modelcontextprotocol/server-sequential-thinking"
  77.       ],
  78.       "transportType": "stdio"
  79.     },
  80.     "firecrawl-mcp": {
  81.       "timeout": 60,
  82.       "command": "cmd",
  83.       "args": [
  84.         "/c",
  85.         "npx",
  86.         "-y",
  87.         "firecrawl-mcp"
  88.       ],
  89.       "env": {
  90.         "FIRECRAWL_API_KEY": "fc-bb842f816a1d42ad8867e808d579bcdc"
  91.       },
  92.       "transportType": "stdio"
  93.     },
  94.     "puppeteer": {
  95.       "timeout": 60,
  96.       "command": "cmd",
  97.       "args": [
  98.         "/c",
  99.         "npx",
  100.         "-y",
  101.         "@modelcontextprotocol/server-puppeteer"
  102.       ],
  103.       "transportType": "stdio"
  104.     },
  105.     "mysqldb-mcp-server": {
  106.       "timeout": 60,
  107.       "command": "uvx",
  108.       "args": [
  109.         "mysqldb-mcp-server"
  110.       ],
  111.       "env": {
  112.         "MYSQL_HOST": "localhost",
  113.         "MYSQL_USER": "root",
  114.         "MYSQL_PASSWORD": "1234",
  115.         "MYSQL_DATABASE": "company",
  116.         "MYSQL_READONLY": "false"
  117.       },
  118.       "transportType": "stdio"
  119.     },
  120.     "desktop-commander": {
  121.       "disabled": false,
  122.       "timeout": 60,
  123.       "command": "cmd",
  124.       "args": [
  125.         "/c",
  126.         "npx",
  127.         "-y",
  128.         "@smithery/cli@latest",
  129.         "run",
  130.         "@wonderwhy-er/desktop-commander",
  131.         "--key",
  132.         "c1616ea0-7665-4811-81d1-0f634d17dd9a"
  133.       ],
  134.       "transportType": "stdio"
  135.     }
  136.   }
  137. }
复制代码
2.CheeryStudio中的MC配置
  1. {
  2.   "mcpServers": {
  3.     "filesystem": {
  4.       "name": "@cherry/filesystem",
  5.       "type": "inMemory",
  6.       "description": "实现文件系统操作的模型上下文协议(MCP)的 Node.js 服务器",
  7.       "isActive": true,
  8.       "args": [
  9.         "C:\\Users\\21031\\Desktop"
  10.       ]
  11.     },
  12.     "Z5QlEkkaow3lL-Ccl6pps": {
  13.       "isActive": false,
  14.       "name": "MCP 服务器",
  15.       "description": "",
  16.       "baseUrl": "",
  17.       "command": "",
  18.       "args": [],
  19.       "env": {}
  20.     },
  21.     "fetch": {
  22.       "isActive": true,
  23.       "name": "fetch-server",
  24.       "type": "stdio",
  25.       "description": "抓取网页",
  26.       "registryUrl": "",
  27.       "command": "uvx",
  28.       "args": [
  29.         "mcp-server-fetch"
  30.       ]
  31.     },
  32.     "amap-maps": {
  33.       "isActive": true,
  34.       "name": "amap-maps",
  35.       "type": "stdio",
  36.       "description": "高德地图",
  37.       "registryUrl": "",
  38.       "command": "npx",
  39.       "args": [
  40.         "-y",
  41.         "@amap/amap-maps-mcp-server"
  42.       ],
  43.       "env": {
  44.         "AMAP_MAPS_API_KEY": "20cd06f09910513998ed05e863f19282"
  45.       }
  46.     },
  47.     "sequential-thinking": {
  48.       "isActive": true,
  49.       "name": "sequential-thinking",
  50.       "type": "stdio",
  51.       "description": "赋予大模型推理能力,适合解决复杂问题",
  52.       "registryUrl": "",
  53.       "command": "npx",
  54.       "args": [
  55.         "-y",
  56.         "@modelcontextprotocol/server-sequential-thinking"
  57.       ]
  58.     },
  59.     "firecrawl": {
  60.       "isActive": true,
  61.       "name": "firecrawl",
  62.       "type": "stdio",
  63.       "description": "高级网页抓取与爬取(用于上下文)处理 JS 渲染、批量作业、提取结构化数据,并能在多个页面进行深度研究。",
  64.       "registryUrl": "",
  65.       "command": "npx",
  66.       "args": [
  67.         "-y",
  68.         "firecrawl-mcp"
  69.       ],
  70.       "env": {
  71.         "FIRECRAWL_API_KEY": "fc-bb842f816a1d42ad8867e808d579bcdc"
  72.       }
  73.     },
  74.     "puppeteer": {
  75.       "isActive": true,
  76.       "name": "puppeteer",
  77.       "type": "stdio",
  78.       "description": "自动化浏览器操作。与页面交互、截图以及在实际浏览器环境中执行 JavaScript,用于测试或自动化。",
  79.       "registryUrl": "",
  80.       "command": "npx",
  81.       "args": [
  82.         "-y",
  83.         "@modelcontextprotocol/server-puppeteer"
  84.       ]
  85.     },
  86.     "desktop-commander": {
  87.       "isActive": true,
  88.       "name": "desktop-commander",
  89.       "type": "stdio",
  90.       "description": "控制台,终端命令交互",
  91.       "registryUrl": "",
  92.       "command": "npx",
  93.       "args": [
  94.         "-y",
  95.         "@wonderwhy-er/desktop-commander"
  96.       ]
  97.     }
  98.   }
  99. }
复制代码
增补MCP文档
昨天,Cline发布了自己 MCP Marketplace 中最受接待的10款 MCP,以及四款荣誉提名的MCP(在最后):

假如你平时更常常用Cursor、Windsurf、Cherry Studio等MCP客户端,可以去之前提到的MCP资源站搜刮找到。固然,这篇文章也整理了这14款MCP在GitHub上的堆栈地点,大家根据需求自取即可:
1、GitHub:可以在 Cline 直接管理堆栈、文件、问题和 PR。将版本控制工作流程无缝集成到你的开发过程中的必备工具。
🔗:https://github.com/github/github-mcp-server

2、Browser Tools:通过 Chrome 扩展监控监控欣赏器活动、捕获屏幕截图、分析日志日志以及通过 DOM 进行交互。非常恰当可视化调试 Web 应用。
🔗:https://github.com/AgentDeskAI/browser-tools-mcp

3、File System:允许 Cline 以编程方式访问具体的文件元数据。使用 get_file_info 函数可以检索巨细、修改时间、权限和类型(文件/目录),用于脚本编写或分析。
🔗:https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem

4、Git Tools:使用状态、diff、提交、分支管理等命令与 Git 堆栈交互。可以以编程方式自动化常见的 Git 使命。
🔗:https://github.com/modelcontextprotocol/servers/tree/main/src/git

5、Sequential Thinking :有条不紊地解决复杂问题。这个 MCP 支持结构化、逐步推理,将复杂使命分解为可管理的部分,以实现更妥当的解决方案。
🔗:https://github.com/modelcontextprotocol/servers/tree/main/src/sequentialthinking

6、Fetch:直接将网页内容(HTML、JSON、文本、Markdown)作为上下文拉取到 Cline。适用于快速使用特定 URL 的信息让 Cline 定位。
🔗:https://github.com/zcaceres/fetch-mcp
🔗:https://github.com/modelcontextprotocol/servers/tree/main/src/fetch

7、FireCrawl:高级网页抓取与爬取*(用于上下文)*。处理 JS 渲染、批量作业、提取结构化数据,并能在多个页面进行深度研究。
🔗:https://github.com/mendableai/firecrawl-mcp-server

8、Browser Use:使用天然语言控制网络欣赏器。欣赏页面、填写表单、明白视觉内容——适用于自动化复杂的网络交互。
🔗:https://github.com/Saik0s/mcp-browser-use

9、Puppeteer:使用 Puppeteer 自动化欣赏器操纵。与页面交互、截图以及在实际欣赏器环境中实行 JavaScript,用于测试或自动化。
🔗:https://github.com/modelcontextprotocol/servers/tree/main/src/puppeteer

10、Playwright:另一个使用强大的欣赏器自动化服务器。支持交互、截图和 JS 实行,用于跨欣赏器测试和自动化。
🔗:https://github.com/microsoft/playwright-mcp

还有四个 MCP 获得荣誉提名(是Cline用户大量应用的MCP):
Context7(AI 友好的文档):https://github.com/upstash/context7
Perplexity(AI 研究):https://github.com/ppl-ai/modelcontextprotocol
21st Dev 的 Magic UI(UI 天生):https://github.com/21st-dev/magic-mcp
Supabase(后端集成):https://github.com/supabase-community/supabase-mcp

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
继续阅读请点击广告

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

×
登录参与点评抽奖,加入IT实名职场社区
去登录
快速回复 返回顶部 返回列表