打包下载源码并解压:https://github.com/modelcontextprotocol/servers
这里除了sqlite外还有其他的mcp服务,包括redis、memory、github、time、fetch、search、filesystem等,都可以通过uv进行操作,
先安装uv
pip install uv
安装完成后再这个路径
C:\Users\<用户名>\AppData\Local\Programs\Python\Python<版本>\Scripts\
复制上面的路径
添加到环境变量中
打开命令行,输入uv -help
生效了
在cursor等支持mcp聊天软件中配置mcp
# Add the server to your claude_desktop_config.json "mcpServers": { "sqlite": { "command": "uv", "args": [ "--directory", "parent_of_servers_repo/servers/src/sqlite", "run", "mcp-server-sqlite", "--db-path", "~/test.db" ] } }parent_of_servers_repo/servers/src/sqlite就是下载的源码位置
我们在cursor中测试下效果
网友回复