Skip to content

Cursor ​

The command and the Windows form are explained in The command to give your agent.

Add the server ​

Cursor reads MCP servers from a JSON file:

FileFor
.cursor/mcp.json in the projectthis project
~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json)every project
json
{
  "mcpServers": {
    "askrgarden": {
      "type": "stdio",
      "command": "/Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli",
      "args": ["mcp", "--root", "${workspaceFolder}"]
    }
  }
}

${workspaceFolder} is replaced by the open project folder, so the agent works in the project you have open. On Windows:

json
{
  "mcpServers": {
    "askrgarden": {
      "type": "stdio",
      "command": "C:\\Users\\you\\AppData\\Local\\Programs\\AskrGarden\\askrgarden-cli.exe",
      "args": ["mcp", "--root", "${workspaceFolder}"]
    }
  }
}

Check it ​

Open Cursor's settings, MCP section: the server should be listed with its tools. Cursor's documentation did not say how a connected server is shown when this page was written, nor whether a restart is needed after editing the file.

Source: Cursor: MCP.