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:
claude mcp add --transport stdio --scope user askrgarden -- /Applications/AskrGarden.app/Contents/MacOS/askrgarden-cli mcp --root /Users/you/treesOn Windows, with the installed program:
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:
| Scope | Where | For |
|---|---|---|
local (default) | your user settings, for the current project only | you, in this project |
project | .mcp.json at the project root | everyone who clones the project |
user | your user settings | you, in every project |
A project's .mcp.json looks like this:
{
"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
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:System File macOS ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows %APPDATA%\Claude\claude_desktop_config.jsonAdd 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\\.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.