# MCP

Source: https://grounder.net/docs/mcp

> Connect an agent to Grounder over MCP and sign in.

## Connect an agent

Agents connect to `https://api.grounder.net/mcp` over streamable HTTP. Add that address to your client; when it opens Grounder’s screen, sign in with Google, GitHub or Apple and allow it. There’s no key to copy; to send a key instead, see [Search keys](https://grounder.net/docs/mcp#search-keys).

Or in one click: [Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=grounder&connectorUrl=https%3A%2F%2Fapi.grounder.net%2Fmcp), [Install in VS Code](https://vscode.dev/redirect/mcp/install?name=grounder&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.grounder.net%2Fmcp%22%7D) or [Add to Cursor](https://cursor.com/install-mcp?name=grounder&config=eyJ1cmwiOiJodHRwczovL2FwaS5ncm91bmRlci5uZXQvbWNwIn0%3D).

### Claude

**Connectors** (Claude)

```
# Customize, Connectors, + Add,
# Add custom connector
Name  grounder
URL   https://api.grounder.net/mcp
# Add, then Connect and sign in.
# No key needed.
```

### ChatGPT

**Plugins** (ChatGPT)

```
# chatgpt.com/plugins, +,
# Add custom MCP server
Name  grounder
URL   https://api.grounder.net/mcp
Auth  OAuth
# Create and sign in, then type
# @grounder in a new chat.
```

### Claude Code

**terminal** (Shell)

```sh
claude mcp add --transport http \
  grounder \
  https://api.grounder.net/mcp
# then /mcp, grounder, Authenticate
```

### Codex

**terminal** (Shell)

```sh
codex mcp add grounder \
  --url https://api.grounder.net/mcp
codex mcp login grounder
```

### Copilot CLI

**terminal** (Shell)

```sh
copilot mcp add --transport http \
  grounder \
  https://api.grounder.net/mcp
# then start copilot and sign in
```

### Gemini CLI

**terminal** (Shell)

```sh
gemini mcp add -s user -t http \
  grounder \
  https://api.grounder.net/mcp
# then /mcp auth grounder in a session
```

### OpenCode

**opencode.json** (JSON)

```json
{
  "mcp": {
    "grounder": {
      "type": "remote",
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// then opencode mcp auth grounder
```

### OpenClaw

**terminal** (Shell)

```sh
openclaw mcp add grounder \
  --url https://api.grounder.net/mcp \
  --transport streamable-http \
  --auth oauth
openclaw mcp login grounder
```

### Hermes

**terminal** (Shell)

```sh
hermes mcp add grounder \
  --url https://api.grounder.net/mcp \
  --auth oauth --connect-timeout 300
# sign in as it adds
```

### Pi

**terminal** (Shell)

```sh
pi mcp add grounder \
  --url https://api.grounder.net/mcp \
  --exposure direct
pi mcp login grounder
```

### Goose

**~/.config/goose/config.yaml** (YAML)

```yaml
extensions:
  grounder:
    enabled: true
    type: streamable_http
    name: grounder
    uri: https://api.grounder.net/mcp
    timeout: 300
# sign in when a session starts
```

### Factory Droid

**terminal** (Shell)

```sh
droid mcp add grounder https://api.grounder.net/mcp --type http
droid mcp auth
droid mcp list
```

### Kilo Code

**~/.config/kilo/kilo.json** (JSON)

```json
{
  "mcp": {
    "grounder": {
      "type": "remote",
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// then kilo mcp auth grounder
```

### Crush

**crush.json** (JSON)

```json
{
  "mcp": {
    "grounder": {
      "type": "http",
      "url": "https://api.grounder.net/mcp",
      "oauth": true
    }
  }
}
// sign in from Crush's interface
```

### Qwen Code

**terminal** (Shell)

```sh
qwen mcp add --transport http grounder https://api.grounder.net/mcp
# then /mcp auth grounder in a session
```

### Cline

**terminal** (Shell)

```sh
cline mcp add grounder https://api.grounder.net/mcp --transport http --yes
# then Authenticate in the MCP panel
```

### Amp

**terminal** (Shell)

```sh
amp mcp add grounder https://api.grounder.net/mcp
# sign in when Amp starts
```

### LiteLLM

**config.yaml** (YAML)

```yaml
mcp_servers:
  grounder:
    url: https://api.grounder.net/mcp
    transport: http
    auth_type: bearer_token
    auth_value: os.environ/GROUNDER_API_KEY
    allowed_tools: ["search"]
    access_groups: ["web-search"]
# keys in the web-search group see it
```

### VS Code

**.vscode/mcp.json** (JSON)

```json
{
  "servers": {
    "grounder": {
      "type": "http",
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// sign in when VS Code starts it
```

### Cursor

**~/.cursor/mcp.json** (JSON)

```json
{
  "mcpServers": {
    "grounder": {
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// then Cursor Settings, MCP, grounder
```

### Zed

**settings.json** (JSON)

```json
{
  "context_servers": {
    "grounder": {
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// then Authenticate, beside grounder
```

### Warp

**MCP servers** (Warp)

```
// Settings, MCP, Add, then paste:
{
  "grounder": {
    "url": "https://api.grounder.net/mcp"
  }
}
// sign in when it starts
```

### Windsurf

**~/.config/devin/mcp_config.json** (JSON)

```json
{
  "mcpServers": {
    "grounder": {
      "serverUrl": "https://api.grounder.net/mcp"
    }
  }
}
// saving the file starts sign-in
```

### Kiro

**~/.kiro/settings/mcp.json** (JSON)

```json
{
  "mcpServers": {
    "grounder": {
      "url": "https://api.grounder.net/mcp"
    }
  }
}
// Kiro signs in on its own
```

### MCP config

**.mcp.json** (JSON)

```json
{
  "mcpServers": {
    "grounder": {
      "type": "http",
      "url": "https://api.grounder.net/mcp"
    }
  }
}
```

### mcp-remote

**.mcp.json** (JSON)

```json
{
  "mcpServers": {
    "grounder": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.grounder.net/mcp"
      ]
    }
  }
}
// for clients without remote sign-in
```

## Tools

Use `search` to search, `report_sources` to report citations and `user_info` to read your account and saved settings. Sign in to connect.

A `search` is routed by Grounder; there is no mode to choose. Send `urls` or a `site` to have Grounder direct read pages. A Grounder direct search is one search, at the one price, even if its page could not be read. Pages you name by address can be read free with Grounder direct.

The directory connector at `/mcp/directory` searches the same way. It ignores page addresses and sites sent in the request. It is the address MCP directories list, as on [Grounder’s Glama page](https://glama.ai/mcp/connectors/net.grounder/search).

`user_info` reports your saved page format and user agent. To change them, use [Routing](https://grounder.net/account/routing) or [the settings endpoint](https://grounder.net/docs/routing#saved-search).

## Search keys

Prefer a key? Make one under [Search keys](https://grounder.net/account/keys) on your account and send it as `Authorization: Bearer <key>` instead of signing in. The same key calls the [HTTP API](https://grounder.net/docs/api).
