[Overview](/index.md) › Self-host it

Open source

# Self-host the Google Search Console MCP server

The hosted instance runs the code that is on GitHub. Running your own keeps Google tokens on your hardware, and it is the only way to use the two indexing tools.

## Two ways to run it

|  | On your machine (stdio) | As your own remote server |
| --- | --- | --- |
| Who connects | You, from your own MCP client | Anyone you allow, each with their own Google account (or one shared token) |
| Where Google tokens live | Your machine, in `~/.gsc-mcp/` | Your server, encrypted at rest |
| Indexing tools | Yes, with `GSC_SCOPES=full` | Not in per-user sign-in mode, which is read-only |
| Runtime | Node 20+ | Node 20+; per-user sign-in needs Node 24+ |

## Run it on your machine

1. **Clone and build.** It is not on npm yet, so install from source:

   ```
   git clone https://github.com/kodotpro/gsc-mcp-remote.git && cd gsc-mcp-remote
   npm ci && npm run build
   ```
2. **Get a Google OAuth client.** In [Google Cloud Console](https://console.cloud.google.com), enable the **Google Search Console API**, then go to **Credentials → Create credentials → OAuth client ID → Desktop app** and download the JSON.
3. **Run the guided setup.** It signs you in, checks the connection with a live API call, and writes your Claude config:

   ```
   node dist/index.js setup
   ```

Restart Claude and ask *“list my Search Console properties”*. To configure it by hand, or to use a service account instead, see the [README](https://github.com/kodotpro/gsc-mcp-remote#readme). For Claude Code, the [Claude Code guide](/claude-code.md) has a one-line `claude mcp add-json` command.

`GSC_SCOPES=readonly` requests a single read-only Google permission and is the recommended setting. `full` adds the write tools: `submit_url`, `submit_sitemap`.

## Host it for other people

The same server runs as a remote MCP server, which is what `gsc.k-o.pro` is. Pick an auth mode first:

|  | `GSC_HTTP_AUTH=oauth` | `GSC_HTTP_AUTH=bearer` (default) |
| --- | --- | --- |
| Who connects | Anyone you allow, with their own Google account | Whoever holds the one token |
| What they see | Their own properties | Everything the server's single credential sees |
| claude.ai and Desktop connector UI | Yes, added by URL | No |
| Claude Code | Yes, through the OAuth flow | Yes, with an `Authorization` header |
| Runtime | Node 24+ | Node 20+ |

The [self-hosting documentation](https://github.com/kodotpro/gsc-mcp-remote/blob/main/docs/self-hosting.md) covers the rest: Docker deployment, the reverse proxy, turning on per-user sign-in, Google's app verification, backups, the capacity limits and troubleshooting.

## Licence and credit

Apache 2.0. The project is a fork of [Suganthan's GSC MCP](https://github.com/Suganthan-Mohanadasan/Suganthans-GSC-MCP) by [Suganthan Mohanadasan](https://suganthan.com), and the `NOTICE` file in the repository records what this fork changed. Issues and pull requests go to [github.com/kodotpro/gsc-mcp-remote](https://github.com/kodotpro/gsc-mcp-remote).

## About this page

Built and run by [Oleksii Khoroshun](https://k-o.pro/about), an SEO with nine years in the field who builds tools at [k-o.pro](https://k-o.pro/). It is a fork of [Suganthan's GSC MCP](https://github.com/Suganthan-Mohanadasan/Suganthans-GSC-MCP) by [Suganthan Mohanadasan](https://suganthan.com): the analysis logic and most of the tool set are his design, and this fork adds multi-property access, the remote server and per-user sign-in.

Version 3.11.0 · page updated 10 November 2026 · [changelog](https://github.com/kodotpro/gsc-mcp-remote#changelog)

## Related

- [Overview](/index.md)
- [Connect to Claude](/claude.md)
- [Use it in Claude Code](/claude-code.md)
- [All 32 tools](/tools.md)
- [Find opportunities](/tools/opportunities.md)
- [Diagnose drops](/tools/diagnostics.md)
- [Look things up](/tools/lookups.md)
- [Image search](/tools/image-search.md)
- [AI Mode queries](/ai-mode-queries.md)
- [How it compares](/compare.md)
- [Questions](/faq.md)

---

Not affiliated with or endorsed by Google or Anthropic. “Google” and “Google Search Console” are trademarks of Google LLC.
