常用MCP记录
作者:互联网
2026-04-18
MCP 广场
- 腾讯云开发者社区-腾讯云 开发者 MCP广场_开发者MCP服务_MCP 服务器- 腾讯云
- MCP 广场 · 魔搭社区
MCP 基本用法
{
"mcpServers": {
"xxxxx": {}
}
}
MCP 配置也区分全局配置和局部项目配置,以 kiro 为例,将项目特有的MCP 配置在文件 .kiro/setting/mcp.json 中。
使用记录
chrome-devtools 调试网页
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp@latest"
],
"disabled": false,
"autoApprove": [
"take_screenshot",
"navigate_page",
"evaluate_script",
"click",
"take_snapshot",
"list_pages",
"wait_for",
"list_console_messages",
"new_page",
"get_console_message",
"select_page",
"press_key",
"fill"
]
},
}
}
mastergo 读取UI设计
{
"mcpServers": {
"mastergo-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@mastergo/magic-mcp",
"--token=",
"--url=m"
],
"env": {
"MG_MCP_TOKEN": "mg_2b021b165bf34464aa4eb6ade9c9524f"
},
"disabled": false
},
}
}
lark_open_doc_search 读取飞书文档
{
"mcpServers": {
"lark_open_doc_search": {
"command": "npx",
"args": [
"-y",
"@larksuiteoapi/lark-mcp",
"recall-developer-documents"
]
},
}
}
fetch 网页内容抓取
这个需要先安装 python 环境 和 uvx
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
],
"env": {},
"disabled": false,
"autoApprove": []
},
}
}
apifox-mcp-server 读取接口json
通过 MCP 使用 OpenAPI/Swagger 文档 - Apifox 帮助文档
{
"mcpServers": {
"API 文档": {
"command": "npx",
"args": [
"-y",
"apifox-mcp-server@latest",
"--oas=n"
]
},
}
}
因为这个MCP是指定了接口文档地址,因此需要给每个前端项目单独配置。
swagger-mcp 读取接口json
- Swagger-MCP抓取器 · MCP
- swagger-mcp - npm
- swagger-mcp-tool - npm
因为这个MCP是指定了接口文档地址,因此需要给每个前端项目单独配置。因为使用了 npm 包,所以可以采用两种方式配置,一种是安装 npm 包,一种是不安装。
- 安装 npm 依赖包
先全局安装
npm i -g swagger-mcp。
{
"mcpServers": {
"API 文档": {
"command": "swagger-mcp",
"args": [
"--specUrl=n"
],
"autoApprove": [
"get_endpoint_details",
"fetch_swagger_info",
"list_endpoints",
"execute_api_request",
"validate_api_response"
]
},
}
}
- 不想安装依赖可以使用npx
{
"mcpServers": {
"API 文档": {
"command": "npx",
"disabled": false,
"args": [
"-y",
"swagger-mcp@latest",
"--specUrl=n"
],
"autoApprove": [
"get_endpoint_details",
"fetch_swagger_info",
"list_endpoints",
"execute_api_request",
"validate_api_response"
]
},
}
}
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
04|MCP 服务接口:让本地能力变成 Agent 可调用的 Tools
04/18
为什么需要KVCache?
04/18
Claude 一个插件,让全球软件股蒸发 2850 亿美元
04/18
如何创建一个 Agent Skill?
04/18
打造 GitHub 仓库智能推荐系统
04/18
挣脱上下文的枷锁:OpenViking,为 AI Agent 而生的开源上下文数据库
04/18
Claude Opus 4.6 和 GPT-5.3 Codex 同时发布,OpenAI 极限截杀 Opus 4.6!
04/18
数据库巡检进入智能时代:异常检测算法的落地实践
04/18
阿里开源AgentScope多智能体框架解析系列(十八)第18章:企业Skill系统实战 - 用户行为深度分析
04/18
2025年终总结:AI浪潮下的一年
04/18
AI精选
