MCP Server
MCP Server 是一个基于 Python或node 的开源项目,用于实现多模型多任务多场景的 LLM 服务。MCP Server 提供了基于 HTTP 的 API 接口,允许用户通过 HTTP 请求进行模型推理。MCP Server 支持多种模型,如 ChatGPT.
MCP应用市场:
Playwright MCP
安装Playwright MCP npm install -g @playwright/mcp
验证安装成功 npx @playwright/mcp --version
启动mcp server npx @playwright/mcp@latest --port 8931
配置代码
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"@playwright/mcp@latest"
]
}
}
}Context7 MCP
Context7 是一个基于 Upstash 的开源项目,用于实现多模型多任务多场景的 LLM 服务。Context7 提供了基于 HTTP 的 API 接口,允许用户通过 HTTP 请求进行模型推理。Context7 支持多种模型,如 ChatGPT。
{
"mcpServers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp@latest"
],
"gallery": true
}
}
}Browser MCP
Browser MCP 将 AI 应用程序连接到您的浏览器以自动执行测试和任务。可以利用浏览器记忆力(密码、cookies), 免去程序化认证。官网
1.安装 Browser MCP
{
"mcpServers": {
"browsermcp": {
"command": "npx",
"args": ["@browsermcp/mcp@latest"]
}
}
}2.安装Browser MCP浏览器插件
浏览器打开官网首页点击“install”安装插件。
## MySQL MCP
MySQL MCP 一个与MySQL数据库集成的MCP服务器实现,为大型语言模型(LLMs)提供安全的数据库访问能力。[地址](https://www.modelscope.cn/mcp/servers/@kevinwatt/mysql-mcp)
```json
{
"mcpServers": {
"mysql": {
"args": [
"-y",
"@kevinwatt/mysql-mcp"
],
"command": "npx",
"env": {
"MYSQL_DB": "database_name",
"MYSQL_HOST": "192.168.0.0",
"MYSQL_PASS": "password",
"MYSQL_PORT": "3306",
"MYSQL_USER": "username"
}
}
}
}Excel MCP
基于模型上下文协议(MCP)的Excel文件处理服务器,提供读取、写入和分析Excel文件的功能。地址
{
"mcpServers": {
"excel": {
"command": "npx",
"args": ["--yes", "@zhiweixu/excel-mcp-server"],
"env": {
"LOG_PATH": "[set an accessible absolute path]"
}
}
}