# Pinky MCP reference Pinky's gateway serves one MCP server, `pinky`, with 20 tools. Agents launch `pinkyctl mcp` (Pinky's executable with the argument `mcp`), a stdio shim that forwards to the running gateway over its user-only Unix socket, a named pipe on Windows (and starts the gateway first when none runs: the Pinky app on macOS, `pinky daemon` elsewhere). Agents that cannot start a command can use Streamable HTTP instead (below). The agent-facing guide is [SKILL.md](SKILL.md); the design is in [DESIGN.md](DESIGN.md), section "Agent interface". ## Connecting an agent ### With a click Settings › Agents › Connect an agent lists the agents Pinky finds on this computer, each with Connect, and connects one with a click. Until some agent can reach Pinky (its settings have Pinky, or one has connected), a card in the sidebar offers the same: Connect when Pinky found one agent, Choose… for several, and where to get one (Claude Code, Claude Desktop) when there is none; the Tasks list says no agent is connected. Connect adds an MCP server named `pinky` to the agent's own settings, which starts this Pinky by its full path with the argument `mcp` (as `/Applications/Pinky.app/Contents/MacOS/Pinky mcp`): no other program can stand in for a path, and agents started from the Dock or the Start menu find it without the terminal's `PATH`. - Pinky changes nothing until the person clicks Connect (or Update, Fix or Remove) for that agent. - Where the agent has a command for its MCP servers, Pinky runs it, found on the `PATH` of the person's login shell and where installers put it: `claude mcp add --scope user pinky -- mcp`, `codex mcp add pinky -- mcp`, `copilot mcp add pinky -- mcp`, `gemini mcp add --scope user pinky mcp`, and `… mcp remove` for Remove. Otherwise Pinky changes the settings file itself, in Pinky's entry only: the rest of the file stays as it was, comments, order and formatting included. Pinky reads the file again after the change and refuses one that would alter anything else, and it leaves a file with a mistake in it alone: Settings says what is wrong where, with Show the file. - Before any change Pinky keeps a copy of the file as it was in its data folder, `agents/backups//