Skip to content

Claude Code and Claude Desktop ​

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

Claude Code ​

Add the server from a terminal. Everything after -- is the server's own command line:

sh
claude mcp add --transport stdio --scope user askrgarden -- /Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli mcp --root /Users/you/trees

On Windows, with the installed program:

sh
claude mcp add --transport stdio --scope user askrgarden -- C:\Users\you\AppData\Local\Programs\AskrGarden\askrgarden-cli.exe mcp --root C:\Users\you\Trees

--scope decides where the entry is stored:

ScopeWhereFor
local (default)your user settings, for the current project onlyyou, in this project
project.mcp.json at the project rooteveryone who clones the project
useryour user settingsyou, in every project

A project's .mcp.json looks like this:

json
{
  "mcpServers": {
    "askrgarden": {
      "command": "/Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli",
      "args": ["mcp", "--root", "/Users/you/trees"]
    }
  }
}

Check it: claude mcp list shows Connected or Failed to connect; inside a session, /mcp shows the server and its tools. A server from .mcp.json waits for your approval the first time you start claude in that folder.

Source: Claude Code: MCP.

Claude Desktop ​

  1. Open Settings from the Claude menu of the system menu bar (not the settings inside the window), go to the Developer tab and click Edit Config. It opens claude_desktop_config.json, creating it if needed:

    SystemFile
    macOS~/Library/Application Support/Claude/claude_desktop_config.json
    Windows%APPDATA%\Claude\claude_desktop_config.json
  2. Add the server:

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

    On macOS, "command": "/Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli" and "args": ["mcp", "--root", "/Users/you/trees"]. In JSON, every \ of a Windows path is written \\.

  3. Quit Claude Desktop completely and start it again.

Check it: in a chat, open the menu at the bottom left of the message box (Add files, connectors, and more), then Connectors: askrgarden is listed with its tools.

Source: MCP: Connect to local MCP servers.