安装 uv 和 uvx。以下配置在 cc-switch(Claude Code 配置切换工具)中使用。 postgres-mcp配置内容: 123456789101112{ "postgres": { "command": "uvx", "args": [ "postgres-mcp", "--access-mode=unrestricted" ], "env": { "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname" } }} 在 cc-switch 中安装。 playwright配置内容: 12345678{ "playwright": { "command": "npx", "args": [ "@playwright/mcp@latest" ] }} 在 cc-switch 中安装。