前置
下载uvx
- macOS & Linux
- Windows
如果您使用的是 macOS 并且安装了 Homebrew,您可以使用:
brew install uv
或者,您也可以使用 curl:
curl -LsSf https://astral.sh/uv/install.sh | sh
如果没有安装curl的话, 可以使用wget
wget -qO- https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
配置SPEC-mcp
在你使用的AI Ide的mcp配置中添加:
{
"mcpServers": {
"spec-mcp": {
"command": "uvx",
"args": [
"mcp-spec@latest"
]
}
}
}