1. 安裝UV
Installation | uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
將安裝路徑添加到環境變量
C:\Users\xxxxxx\.local\bin
2. git clone 代碼
git clone https://github.com/blazickjp/arxiv-mcp-server.git
cd arxiv-mcp-server
uv venv
.venv\Scripts\Activate.ps1
uv pip install -e ".[test]"
3. 下載0.47版本以上的Cursor
Cursor - The AI Code Editor
4. 配置MCP
在「Cursor Settings」菜單欄中點擊「MCP」,然后點擊「+ Add new global MCP server」按鈕,會彈出一個mcp.json文件,把arxiv-mcp-server中的配置信息添加到json文件中去。?
{"mcpServers": {"arxiv-mcp-server": {"command": "uv","args": ["tool","run","arxiv-mcp-server","--storage-path", "/path/to/paper/storage"]}}
}
顯示綠色表示能用