MCP服务自用
{
"servers": {
// add your MCP servers configuration here.
// support both local(stdio) and remote(SSE/Streamable HTTP) servers.
// reference: https://docs.github.com/en/copilot/customizing-copilot/extending-copilot-chat-with-mcp?tool=jetbrains
// example:
// "my-mcp-server": {
// "type": "stdio",
// "command": "my-command",
// "args": [],
// "env": {
// "TOKEN": "my_token"
// }
// },
// "github": {
// "url": "https://api.githubcopilot.com/mcp/",
// "requestInit": {
// "headers": {
// "Authorization": "Bearer my_token"
// }
// }
// }
"context7": {
"type": "streamhttp",
"url": "https://mcp.context7.com/mcp",
"requestInit": {
"headers": {
"CONTEXT7_API_KEY": "ctx7sk-964bdcbc-04f9-4c79-b157-93f3d8b9bc8c"
}
},
"tools": ["get-library-docs", "resolve-library-id"]
},
"fetch": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"playwright": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@playwright/mcp@latest"
],
"timeout": 120000,
"env": {
// 可选: 指定浏览器缓存目录,避免重复下载 (自行调整路径)
// "PLAYWRIGHT_BROWSERS_PATH": "C:/playwright-browsers",
// 如已预装浏览器且不想再下载,可开启: "PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD": "1"
}
},
"sequential-thinking": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
},
"time": {
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-time"]
},
"memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
},
"寸止": {
"type": "stdio",
"command": "寸止"
},
"mcp-server-oracle": {
"command": "uvx",
"args": [
"mcp-server-oracle"
],
"env": {
"ORACLE_CONNECTION_STRING": "MYCIMLED/MYCIMLED@10.138.110.12/hfmesdb"
}
}
}
}
本文来自博客园,作者:云辰,转载请注明原文链接:https://www.cnblogs.com/yunchen/p/19100785