.cursor/skills/mcp-manager/SKILL.md
按需开启/关闭 MCP 服务。当用户说"开启 xxx MCP"、"关闭 yyy MCP"、"MCP 太多了"、"管理 MCP"、"禁用 MCP"时触发。
npx skillsauth add Aafff623/pet-adoption-app mcp-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
触发词:开启 MCP、关闭 MCP、禁用 MCP、MCP 太多了、管理 MCP、按需开启、enable MCP、disable MCP
| 作用域 | 路径 |
|--------|------|
| 全局(所有项目) | C:\Users\Lenovo\.cursor\mcp.json |
| 项目级 | .cursor/mcp.json(项目根目录) |
优先使用全局配置管理所有服务的开关状态。
| 服务名 | 用途 | 默认状态 |
|--------|------|----------|
| context7 | 库/框架文档实时查询 | 开启 |
| cursor-ide-browser | 浏览器自动化、网页测试 | 关闭 |
| pinecone | 向量数据库、语义检索 | 关闭 |
| supabase | Supabase 数据库操作 | 关闭 |
| firebase | Firebase 项目管理 | 关闭 |
| figma | 设计稿查看与代码生成 | 关闭 |
| greptile | AI 代码审查 | 关闭 |
| Notion | Notion 工作区读写 | 关闭 |
编辑 mcp.json,为服务添加或删除 "disabled": true:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
},
"supabase": {
"command": "npx",
"args": ["-y", "@supabase/mcp-server-supabase@latest", "--access-token", "<TOKEN>"],
"disabled": true
}
}
}
"disabled": true 这一行(或设为 false)"disabled": true修改后必须重启 Cursor 才能生效(按 Ctrl+Shift+P → Reload Window)。
用户要求开启/关闭某个 MCP 时,按以下步骤执行:
C:\Users\Lenovo\.cursor\mcp.json,查看当前配置"disabled": true已修改,请重启 Cursor(Ctrl+Shift+P → Reload Window)生效常用场景的快速配置见 presets.md。
对话示例:
figma 条目,删除 "disabled": true"disabled": truedisabled 标志mcp.json 中某服务条目不存在,需先补全完整配置(见 presets.md)再设置 disabledtools
Guides Supabase usage in petconnect-app including MCP tool calls, migrations, RLS, and API layer conventions. Use when working with Supabase, executing SQL, applying migrations, list_tables, execute_sql, RLS policies, or database schema changes.
tools
项目仓库瘦身与规范。Use when cleaning repo, optimizing .gitignore, removing large files, or organizing project structure. 约定:脚本仅用 PowerShell / npm 跨平台命令,不生成 .sh 文件。
development
Generates professional README files by synthesizing standard-readme, Best-README-Template, Google styleguide, and GitHub best practices. Use when creating or redesigning README.md, documenting projects, or when the user asks for README templates or best practices.
development
专业处理 README 与部署文档。Use when writing README, deployment guides, environment variable docs, or project structure documentation. 约定:README 必须包含环境变量表、获取 API Key 的链接、部署步骤、项目结构。