# IconJar's MCP server

IconJar 3 has a built-in MCP server. It lets AI apps like Claude and Codex search the icon sets in your IconJar library and hand you the actual icon, instead of guessing at one or drawing their own. It runs inside IconJar, on your Mac, and only answers apps on that Mac.

## Step 1: Start the server

1. Open IconJar and go to **Settings → Integrations**.
2. Under **MCP**, click **Start**.
3. Copy the **Endpoint**: `http://127.0.0.1:39876/mcp`. That's the address your AI app connects to. If IconJar shows a different one, use that instead.

## Step 2: Connect your AI app

### Claude Code

Run this in Terminal:

```bash
claude mcp add --transport http iconjar http://127.0.0.1:39876/mcp
```

### Claude Desktop

Claude Desktop starts local servers from its config file, so it reaches IconJar through the small `mcp-remote` bridge, which needs Node.js. In Claude, open **Settings → Developer → Edit Config** and add IconJar to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "iconjar": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://127.0.0.1:39876/mcp"
      ]
    }
  }
}
```

Then restart Claude.

### Codex

Add IconJar to `~/.codex/config.toml`:

```toml
[mcp_servers.iconjar]
url = "http://127.0.0.1:39876/mcp"
```

### Cursor

Add IconJar to `~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "iconjar": {
      "url": "http://127.0.0.1:39876/mcp"
    }
  }
}
```

### GitHub Copilot

In VS Code, run **MCP: Open User Configuration** from the Command Palette and add IconJar to `mcp.json`:

```json
{
  "servers": {
    "iconjar": {
      "type": "http",
      "url": "http://127.0.0.1:39876/mcp"
    }
  }
}
```

Copilot Chat can then use it in agent mode.

### Gemini CLI

Add IconJar to `~/.gemini/settings.json`:

```json
{
  "mcpServers": {
    "iconjar": {
      "httpUrl": "http://127.0.0.1:39876/mcp"
    }
  }
}
```

### Windsurf

Add IconJar to `~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "iconjar": {
      "serverUrl": "http://127.0.0.1:39876/mcp"
    }
  }
}
```

### Other apps

Any app on your Mac that supports MCP over HTTP (Streamable HTTP) can connect to `http://127.0.0.1:39876/mcp`. Apps that only run in the cloud, like Lovable, v0 or ChatGPT on the web, can't: your icons stay on your Mac, and so does the server.

## Step 3: Test the connection

Ask your AI one of these to check it can reach IconJar:

- "Find a settings icon in my sets."
- "Use the arrow-left from my outline set in this button."
- "Show me heart icons from my sets so I can pick one."

If it's set up, your AI searches your sets through IconJar and gets the actual icon file back. No luck? Email info@geticonjar.com and say which app you're connecting.
