跳到主要内容

前置

下载uvx

参考 https://docs.astral.sh/uv/getting-started/installation/

如果您使用的是 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

配置SPEC-mcp

项目地址: https://github.com/TokenRollAI/SPEC-mcp

在你使用的AI Ide的mcp配置中添加:

{
"mcpServers": {
"spec-mcp": {
"command": "uvx",
"args": [
"mcp-spec@latest"
]
}
}
}