Install guide · Cursor
Install MCP Retrieval for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Add to Cursor: MCP RetrievalInstall in VS Code: MCP RetrievalInstall in VS Code Insiders: MCP Retrieval
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "role1776-mcp-retrieval": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/role1776/mcp-retrieval:0.1.10" ], "env": { "MCP_TRANSPORT": "stdio", "MCP_NAME": "mcp-retrieval", "MCP_PATH": "/mcp", "SERVER_PORT": "8080", "SERVER_READ_TIMEOUT": "60s", "SERVER_WRITE_TIMEOUT": "60s", "LOG_MODE": "local", "MAX_IDLE_CONNS_PER_HOST": "100", "MAX_QUERIES": "10", "DEFAULT_RESULTS": "5", "MAX_RESULTS": "20", "DEFAULT_IMAGES": "5", "MAX_IMAGES": "10", "DEFAULT_TIMEOUT_MS": "5000", "MIN_TIMEOUT_MS": "1000", "MAX_TIMEOUT_MS": "10000", "DEFAULT_DOCUMENT_CHARS": "20000", "MAX_DOCUMENT_CHARS": "20000", "PROXY_SCHEME": "", "PROXY_HOST": "", "PROXY_PORT": "", "PROXY_LOGIN": "YOUR_PROXY_LOGIN", "PROXY_PASSWORD": "YOUR_PROXY_PASSWORD" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |