最常见的MCP服务
1,网页爬取数据
注意,这个需要自己去注册账号然后给出api-key即可 https://www.firecrawl.dev/
{"mcpServers": {"firecrawl-mcp": {"command": "npx","args": ["-y", "firecrawl-mcp"],"env": {"FIRECRAWL_API_KEY": "你的密钥"}}}
}
2,高德地图
同样需要去官网申请apikey即可
{"mcpServers": {"amap-maps": {"command": "npx","args": ["-y","@amap/amap-maps-mcp-server"],"env": {"AMAP_MAPS_API_KEY": "api_key"}}}
}
3,MySQL
配置好自己本地的MySQL数据库信息:
"MYSQL_HOST": "localhost",
"MYSQL_USER": "root",
"MYSQL_PORT": "3306",
"MYSQL_PASSWORD": "123456",
"MYSQL_DATABASE": "你的数据库名称"
{"mcpServers": {"mysql": {"command": "npx","args": ["-y","@fhuang/mcp-mysql-server"],"env": {"MYSQL_HOST": "IP","MYSQL_USER": "USER","MYSQL_PORT": "PORT","MYSQL_PASSWORD": "password","MYSQL_DATABASE": "DATABASE"}}}
}
4,GitHub
先去https://github.com/settings/tokens申请自己的token,申请之后记得保存好自己的token,因为只会展示一次
然后配置即可:
"github" :{"isActive": true,"name": "github","command" :"cmd""args":["/c","npx","-y","@modelcontextprotocol/server-github'],"env" :{"GITHUB _PERSONAL ACCESS TOKEN": "YOUT TOKEN"}
}
5,Git
git":{"isActive": true,"command":"uvx',"args":["mcp-server-git"],"name":"git"}
6,记忆图谱memory
基于知识图谱的长期记忆系统用于维护上下文
使用本地知识图谱的持久内存的基本实现。这使 claude 可以在聊天中记住有关用户的信息。
{"name": "memory","isActive": true,"description": "Follow these steps for each interaction:\n\n1. User Identification:\n - You should assume that you are interacting with default_user\n - If you have not identified default_user, proactively try to do so.\n\n2. Memory Retrieval:\n - Always begin your chat by saying only \"Remembering...\" and retrieve all relevant information from your knowledge graph\n - Always refer to your knowledge graph as your \"memory\"\n\n3. Memory\n - While conversing with the user, be attentive to any new information that falls into these categories:\n a) Basic Identity (age, gender, location, job title, education level, etc.)\n b) Behaviors (interests, habits, etc.)\n c) Preferences (communication style, preferred language, etc.)\n d) Goals (goals, targets, aspirations, etc.)\n e) Relationships (personal and professional relationships up to 3 degrees of separation)\n\n4. Memory Update:\n - If any new information was gathered during the interaction, update your memory as follows:\n a) Create entities for recurring organizations, people, and significant events\n b) Connect them to the current entities using relations\n c) Store facts about them as observations","command": "npx","args": ["-y","@modelcontextprotocol/server-memory"]
}
7,控制台
{"mcpServers": {"desktop-commander": {"command": "cmd","args": ["/c","npx","-y","@smithery/cli@latest","run","@wonderwhy-er/desktop-commander","--key","cca951bf-4a7c-44a5-ad06-420e70567f14"]}}
}
8,该网址下继承了很多MCP工具供调用
https://github.com/punkpeye/awesome-mcp-servers