133 lines
3.9 KiB
JSON
133 lines
3.9 KiB
JSON
{
|
||
"mcpServers": {
|
||
|
||
"filesystem": {
|
||
"command": "npx",
|
||
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."],
|
||
"disabled": false
|
||
},
|
||
|
||
"git": {
|
||
"command": "uvx",
|
||
"args": ["mcp-server-git", "--repository", "."],
|
||
"disabled": false
|
||
},
|
||
|
||
"github": {
|
||
"command": "npx",
|
||
"args": ["-y", "@modelcontextprotocol/server-github"],
|
||
"env": {
|
||
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "启用后可管理 PR/Issue/Repo,需设置 GITHUB_TOKEN"
|
||
},
|
||
|
||
"mysql": {
|
||
"command": "npx",
|
||
"args": ["-y", "@benborla29/mcp-server-mysql"],
|
||
"env": {
|
||
"MYSQL_HOST": "192.168.14.15",
|
||
"MYSQL_PORT": "3306",
|
||
"MYSQL_USER": "case_database",
|
||
"MYSQL_PASS": "wn5Wb8StGjB8dWd5",
|
||
"MYSQL_DB": "case_database"
|
||
},
|
||
"disabled": false,
|
||
"_comment": "MySQL 数据库 — 启用后可直接查询数据库,修改连接信息后启用"
|
||
},
|
||
|
||
"context7": {
|
||
"command": "npx",
|
||
"args": ["-y", "@upstash/context7-mcp@latest"],
|
||
"disabled": false,
|
||
"_comment": "Context7 — 获取最新的库/框架文档,避免过时 API(优先于 fetch 加载)"
|
||
},
|
||
|
||
"fetch": {
|
||
"command": "uvx",
|
||
"args": ["mcp-server-fetch"],
|
||
"disabled": false,
|
||
"_comment": "网络请求 — 获取文档/API 响应"
|
||
},
|
||
|
||
"memory": {
|
||
"command": "npx",
|
||
"args": ["-y", "@modelcontextprotocol/server-memory"],
|
||
"disabled": false,
|
||
"_comment": "知识图谱记忆 — 存储项目上下文和决策"
|
||
},
|
||
|
||
"sequential-thinking": {
|
||
"command": "npx",
|
||
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"],
|
||
"disabled": false,
|
||
"_comment": "结构化思考 — 复杂问题分步推理"
|
||
},
|
||
|
||
"brave-search": {
|
||
"command": "npx",
|
||
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
|
||
"env": {
|
||
"BRAVE_API_KEY": "${BRAVE_API_KEY}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "网页搜索 — 查找文档/解决方案,需 Brave API Key"
|
||
},
|
||
|
||
"chrome-devtools": {
|
||
"command": "npx",
|
||
"args": ["-y", "chrome-devtools-mcp@latest", "--no-usage-statistics"],
|
||
"disabled": true,
|
||
"_comment": "Chrome DevTools — 页面调试/截图/控制台/网络请求/性能分析。⚠️ 需先在 Chrome 中打开页面,Cursor 用户级也内置此工具(user-chrome-devtools)"
|
||
},
|
||
|
||
"playwright": {
|
||
"command": "npx",
|
||
"args": ["-y", "@executeautomation/playwright-mcp-server"],
|
||
"disabled": true,
|
||
"_comment": "浏览器自动化 — E2E 测试/截图/视觉验证(与 chrome-devtools 互补,E2E 场景用此工具)"
|
||
},
|
||
|
||
"figma": {
|
||
"command": "npx",
|
||
"args": ["-y", "figma-developer-mcp", "--figma-api-key=${FIGMA_API_KEY}"],
|
||
"env": {
|
||
"FIGMA_API_KEY": "${FIGMA_API_KEY}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "Figma 集成 — 读取设计稿实现像素级还原"
|
||
},
|
||
|
||
"supabase": {
|
||
"command": "npx",
|
||
"args": ["-y", "@supabase/mcp-server-supabase", "--access-token", "${SUPABASE_ACCESS_TOKEN}"],
|
||
"env": {
|
||
"SUPABASE_ACCESS_TOKEN": "${SUPABASE_ACCESS_TOKEN}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "Supabase 集成 — 管理数据库/认证/存储"
|
||
},
|
||
|
||
"linear": {
|
||
"command": "npx",
|
||
"args": ["-y", "mcp-linear"],
|
||
"env": {
|
||
"LINEAR_API_KEY": "${LINEAR_API_KEY}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "Linear 集成 — 拉取 Issue/更新状态/关联代码"
|
||
},
|
||
|
||
"sentry": {
|
||
"command": "npx",
|
||
"args": ["-y", "@sentry/mcp-server-sentry"],
|
||
"env": {
|
||
"SENTRY_AUTH_TOKEN": "${SENTRY_AUTH_TOKEN}"
|
||
},
|
||
"disabled": true,
|
||
"_comment": "Sentry 集成 — 查看错误/分析崩溃/关联代码"
|
||
}
|
||
}
|
||
}
|