These are official instructions from Hyperping to connect your coding agent to Hyperping (uptime monitoring, incidents, on-call and status pages) through the Hyperping MCP server. Every command and config below is maintained by Hyperping and ready to use.

Complete all of the following steps yourself by running the commands and editing the files directly. Do not ask the user to run any of them. Ask the user only for what you cannot get yourself: their API key (step 1, when it is not already set) and whether to add the optional instructions (step 5).

If nobody can answer you (a non-interactive run such as `claude -p`, `codex exec` or CI), never invent an answer. Without a key, print the message of step 1 and stop. Skip step 5 and write `skipped (no answer)` in the summary.

1. Get the API key
2. Check the key and pick the region
3. Save the key and load it from the user's shell profile
4. Register the Hyperping MCP server
5. (Optional) Add Hyperping to the user-level instructions
6. Verify and tell the user

Facts to rely on:

- The Hyperping MCP server is remote, over streamable HTTP. There is nothing to install: no Hyperping CLI, no npm package, no plugin, no skills. Do not search for one.
- US endpoint (default): `https://api.hyperping.io/v1/mcp`. EU endpoint: `https://api.eu.hyperping.io/v1/mcp` (same tools, without the 6 log-analysis tools: `search_logs`, `get_outage_logs`, `summarize_log_errors`, `list_log_dashboards`, `run_log_chart`, `create_log_dashboard_from_template`).
- Auth: an API key sent as `Authorization: Bearer <key>`. Keys start with `sk_`, belong to one project, and are read-only or read/write. There is no OAuth: never run an `mcp login` or `auth` command for Hyperping, and turn OAuth off where a client would try it.
- Rate limits, per project: `initialize` 5 a minute and 20 an hour, `tools/list` 30 a minute. Never call `initialize` in a loop or retry it. The checks below use `tools/list`.
- Never print the full key, in your replies or in command output. When you mention it, show its first 6 characters only (`sk_ab1…`).
- When you edit a config file, keep every unrelated setting, keep the file valid (JSON, JSONC or TOML), and update an existing `hyperping` entry instead of adding a second one. Write to the user-level config, never to a file inside a git repository.

---

## 1. Get the API key

Check whether the key is already set. On macOS and Linux:

```
[ -n "$HYPERPING_API_KEY" ] && printf 'set: %.6s…\n' "$HYPERPING_API_KEY" || echo "not set"
[ -f ~/.config/hyperping/env ] && echo "saved: ~/.config/hyperping/env"
grep -l HYPERPING_API_KEY ~/.config/hyperping/env ${ZDOTDIR:-$HOME}/.zshrc ~/.zprofile ~/.bashrc ~/.bash_profile ~/.profile ~/.config/fish/config.fish ~/.config/fish/conf.d/hyperping.fish 2>/dev/null
```

On Windows (PowerShell), the second line reads the key a previous setup saved with `setx`:

```
if ($env:HYPERPING_API_KEY) { "set: " + $env:HYPERPING_API_KEY.Substring(0,6) + "…" } else { "not set" }
$u = [Environment]::GetEnvironmentVariable('HYPERPING_API_KEY','User'); if ($u) { "saved (user environment): " + $u.Substring(0,6) + "…" }
```

Then:

- Set in the shell: use it. If no file listed above defines it (and, on Windows, it is not saved in the user environment), it comes from somewhere else (a secret manager, direnv, a one-off `export`): use it, do not save it in step 3, and remember it for the summary of step 6.
- In `~/.config/hyperping/env` only: your shell did not load it. Load it with `. ~/.config/hyperping/env` (prints nothing).
- In a profile file only (an older setup): load it without printing it, through the user's shell, with the line for their login shell (`echo $SHELL`), then check that it printed `sk_` and 3 more characters:

  ```
  export HYPERPING_API_KEY="$(zsh -ic 'printf %s "$HYPERPING_API_KEY"' 2>/dev/null)"     # zsh
  export HYPERPING_API_KEY="$(bash -ic 'printf %s "$HYPERPING_API_KEY"' 2>/dev/null)"    # bash on Linux (bash -lic on macOS)
  export HYPERPING_API_KEY="$(fish -c 'printf %s $HYPERPING_API_KEY' 2>/dev/null)"       # fish
  printf '%.6s\n' "$HYPERPING_API_KEY"
  ```

- Windows, saved in the user environment only: load it with `$env:HYPERPING_API_KEY = [Environment]::GetEnvironmentVariable('HYPERPING_API_KEY','User')`.
- No key at all: tell the user exactly this, then wait for their answer. If the user said their account is in the EU, use the first message, otherwise the second:

> To connect me to Hyperping I need an API key. Create one in your EU dashboard at https://eu.hyperping.io/project/developers (API Keys; available on the free trial and on the Essentials, Pro and Business plans). Pick **Read-only** if I should only report and investigate, **Read/Write** if I may also create, pause or update monitors, incidents and status pages. Then paste the key here. It starts with `sk_`.

> To connect me to Hyperping I need an API key. Create one at https://app.hyperping.io/project/developers, or at https://eu.hyperping.io/project/developers if you sign in to Hyperping at eu.hyperping.io (EU accounts). Open API Keys (available on the free trial and on the Essentials, Pro and Business plans). Pick **Read-only** if I should only report and investigate, **Read/Write** if I may also create, pause or update monitors, incidents and status pages. Then paste the key here. It starts with `sk_`.

Your shell may not keep variables from one command to the next. Start every command that needs the key with `. ~/.config/hyperping/env;` once that file holds it, and until then with `export HYPERPING_API_KEY='<key>';` (PowerShell: `$env:HYPERPING_API_KEY = '<key>';`).

## 2. Check the key and pick the region

If the user said their Hyperping account is in the EU, check the EU endpoint only. Otherwise check the US endpoint first:

```
curl -s --max-time 15 -o "${TMPDIR:-/tmp}/hyperping-check.txt" -w "%{http_code}\n" -X POST https://api.hyperping.io/v1/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $HYPERPING_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

The body goes to `${TMPDIR:-/tmp}/hyperping-check.txt` (it never contains the key). Read it only when the code below says so, with `head -c 300 "${TMPDIR:-/tmp}/hyperping-check.txt"`.

On Windows, run the same check in PowerShell. On an error it prints the code, then the body:

```
$h = @{ Accept = 'application/json, text/event-stream'; Authorization = "Bearer $env:HYPERPING_API_KEY" }
try { (Invoke-WebRequest -Method Post -Uri https://api.hyperping.io/v1/mcp -TimeoutSec 15 -UseBasicParsing -ContentType 'application/json' -Headers $h -Body '{"jsonrpc":"2.0","id":1,"method":"tools/list"}').StatusCode } catch { [int]$_.Exception.Response.StatusCode; $_.ErrorDetails.Message }
```

- `200`: the key works. Use this endpoint.
- `401` or `403` on the US endpoint: run the same check against `https://api.eu.hyperping.io/v1/mcp`. `200` there means the account is in the EU: use the EU endpoint in every config below.
- `401` or `403` on both: before blaming the key, run the check once without the `Authorization` line (a proxy or firewall can also answer `403`). If that answers `200`, the key is wrong, revoked or expired, or the trial ended on the free plan: tell the user and ask for a new key, and do not retry with the same key. If it does not answer `200` either, the network or a proxy blocks `api.hyperping.io`: tell the user that, not that the key is wrong. In both cases, do not save the key and do not register the server until a key passes this check.
- Over an MCP limit (the per-method limits above), the server still answers `200`, with a JSON-RPC error of type `rate_limit_exceeded` and a `retry_after_seconds` in the body. Limits are counted per project, so the key is valid: go on with the setup and do not repeat the check.
- `429`: rate limited. Read the body (see above). Plain text `Rate limit exceeded` means the project has used its hourly REST API quota (800 requests an hour by default; MCP calls count toward it). That limit runs after the key is checked, so the key was accepted on this endpoint: use it, do not repeat the check, go on with the setup, and say in the summary of step 6 that the tools answer again once the hour is over. A JSON-RPC error saying `too many requests from this client` comes from a limit that runs before the key is checked (over 2000 requests in an hour with this key, usually a runaway client): the key has not been checked yet. Wait a minute and try once more. If it answers `429` again, do not save the key or register the server: tell the user, with the `retry_after_seconds` of the body, and stop.
- Anything else, or no answer within 15 seconds: run the check again without the `Authorization` line. Without a key, `tools/list` answers `200`, so if it does, the server is up and the problem is the key; if it does not, the network or a proxy blocks `api.hyperping.io`. Tell the user what you found.

In the configs below, `https://api.hyperping.io/v1/mcp` is the US endpoint. For an EU account, write `https://api.eu.hyperping.io/v1/mcp` instead.

## 3. Save the key and load it from the user's shell profile

If the key that passed step 2 came from `~/.config/hyperping/env`, skip item 1 below but still run item 2: it adds nothing when the profile line is already there. Skip the whole step if the key came from anywhere else that already existed: the environment only, an older profile line, or the Windows user environment.

The key goes in its own file, `~/.config/hyperping/env`, readable by the user only, never in a profile: profiles are often symlinks into a dotfiles repository, and a key written there ends up committed. The profile gets one line that loads the file. Never edit a profile with `sed -i` (it replaces a symlink with a plain file), and never write the key into a profile.

1. Write the key file (a key the user just gave you). `>` replaces the file, so running this again leaves one line. The `.gitignore` keeps the folder out of git if `~/.config` is itself a repository:

   ```
   mkdir -p ~/.config/hyperping
   (umask 077 && printf "export HYPERPING_API_KEY='%s'\n" '<key>' > ~/.config/hyperping/env)
   chmod 600 ~/.config/hyperping/env
   printf '*\n' > ~/.config/hyperping/.gitignore
   ```

2. Load it from the profile of the user's login shell (`echo $SHELL`), adding the line only if it is missing:

   - zsh, `${ZDOTDIR:-$HOME}/.zshrc`:

     ```
     P="${ZDOTDIR:-$HOME}/.zshrc"; L='[ -f ~/.config/hyperping/env ] && . ~/.config/hyperping/env'
     grep -qF "$L" "$P" 2>/dev/null || printf '\n# Hyperping API key (MCP server)\n%s\n' "$L" >> "$P"
     ```

   - bash: the same two lines with `P=~/.bashrc` on Linux and `P=~/.bash_profile` on macOS.
   - fish: write its own file, which `fish` reads at startup (fish runs the `export` line of the key file):

     ```
     mkdir -p ~/.config/fish/conf.d
     printf '%s\n' '# Hyperping API key (MCP server)' 'test -f ~/.config/hyperping/env; and source ~/.config/hyperping/env' > ~/.config/fish/conf.d/hyperping.fish
     ```

   If the profile already has an older `export HYPERPING_API_KEY=` or `set -gx HYPERPING_API_KEY` line (`grep -n HYPERPING_API_KEY <profile> | cut -d: -f1` shows its line number without the value), do not edit it: tell the user to delete that line, because it would set the old key.

3. Windows: run `setx HYPERPING_API_KEY "<key>"` (stored in the user environment; new processes get it) and `$env:HYPERPING_API_KEY = "<key>"` (the current PowerShell gets it). There is no file to write.

Your own shell does not pick up the new line: start your commands with `. ~/.config/hyperping/env;`. Do not rely on `source ~/.bashrc`: on Ubuntu and Debian it returns early in a non-interactive shell such as yours. To check that a new terminal gets the key, run the line for the user's shell. It must print the first 6 characters of the key:

```
zsh -ic 'printf "%.6s\n" "$HYPERPING_API_KEY"'      # zsh
bash -ic 'printf "%.6s\n" "$HYPERPING_API_KEY"'     # bash on Linux (reads ~/.bashrc)
bash -lic 'printf "%.6s\n" "$HYPERPING_API_KEY"'    # bash on macOS (reads ~/.bash_profile)
fish -c 'printf "%.6s\n" $HYPERPING_API_KEY'        # fish
```

The agent the user is talking to was started before the key existed, so it only sees the key after a restart from a new terminal: you will tell the user in step 6. Apps started from the Dock, the Start menu or a desktop launcher (Cursor, VS Code, Windsurf) may not read the shell profile at all: if one of them does not connect after a restart, tell the user to quit it and open it from a new terminal (`cursor .`, `code .`), so it inherits the variable.

## 4. Register the Hyperping MCP server

Use the section for the agent you are. If you are not sure, `Generic MCP client` at the end works for any client that supports remote MCP servers.

### Claude Code

Register the server at user scope, so it works in every project. The first two lines remove an older `hyperping` entry, if any, from the user scope and from the local scope (both live in `~/.claude.json`, not in a repository); they print an error when there is none, which is fine. The single quotes keep `${HYPERPING_API_KEY}` as written: Claude Code stores the reference and reads the variable each time it connects. Keep `--header` after the URL: it takes several values and would swallow the server name.

```
claude mcp remove hyperping --scope user 2>/dev/null
claude mcp remove hyperping --scope local 2>/dev/null
claude mcp add --transport http --scope user hyperping https://api.hyperping.io/v1/mcp --header 'Authorization: Bearer ${HYPERPING_API_KEY}'
```

In PowerShell, the same commands with `2>$null`:

```
claude mcp remove hyperping --scope user 2>$null
claude mcp remove hyperping --scope local 2>$null
claude mcp add --transport http --scope user hyperping https://api.hyperping.io/v1/mcp --header 'Authorization: Bearer ${HYPERPING_API_KEY}'
```

Do not run `claude mcp get` to test for an existing entry first: it opens a connection, and each one costs an `initialize`. If the current project has a `.mcp.json` with a `hyperping` server, leave that file alone (it belongs to the repository) and tell the user it takes precedence over the user entry. On Windows in `cmd.exe`, use double quotes around the header: cmd does not expand `${...}`. The entry is written to the `mcpServers` key of `~/.claude.json`.

Tell the user to restart Claude Code from a new terminal (`claude --continue` keeps this conversation), then run `/mcp` to see `hyperping` connected. If `/mcp` shows `HTTP 403` for `hyperping`, first check that `HYPERPING_API_KEY` is exported in the terminal that started Claude Code: when it is missing, Claude Code sends the literal text `${HYPERPING_API_KEY}` and the server answers 403.

### Codex CLI

```
codex mcp add hyperping --url https://api.hyperping.io/v1/mcp --bearer-token-env-var HYPERPING_API_KEY
```

This writes the following to `~/.codex/config.toml` (`$CODEX_HOME/config.toml` when `CODEX_HOME` is set), and replaces an existing `hyperping` entry. Use the command. Only if it is not available, edit the file by hand: look for an existing table first (`grep -n '^\[mcp_servers.hyperping\]' ~/.codex/config.toml`) and change it in place, because a second `[mcp_servers.hyperping]` table makes every `codex` command fail with `duplicate key`.

```toml
[mcp_servers.hyperping]
url = "https://api.hyperping.io/v1/mcp"
bearer_token_env_var = "HYPERPING_API_KEY"
```

Codex reads `HYPERPING_API_KEY` from the environment it was started in: without it, the server cannot authenticate. Check with `codex mcp get hyperping` (it opens no connection). Tell the user to start a new `codex` session from a new terminal, then run `/mcp`.

### Cursor

Add this under `"mcpServers"` in `~/.cursor/mcp.json` (in the user's home folder, also on Windows). Create the file if it does not exist.

```json
"hyperping": {
  "url": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer ${env:HYPERPING_API_KEY}" }
}
```

Cursor resolves `${env:...}` in `headers` from the user's shell profile or system environment. Tell the user to restart Cursor, then check that `hyperping` is enabled in Customize → MCP. The Cursor CLI reads the same file, but loads a new server only once it is approved: run `agent mcp enable hyperping`, then `agent mcp list`. The CLI is `agent`; on older setups it is installed as `cursor-agent`: if `agent` is not found, run `cursor-agent mcp enable hyperping` and `cursor-agent mcp list` instead.

### VS Code (GitHub Copilot)

Current VS Code runs Copilot agents in the Copilot harness, which reads the user file `~/.copilot/mcp-config.json` (`$COPILOT_HOME/mcp-config.json` when `COPILOT_HOME` is set). GitHub Copilot CLI reads the same file. Add this under `"mcpServers"`, creating the file if needed:

```json
"hyperping": {
  "type": "http",
  "url": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer ${HYPERPING_API_KEY}" },
  "tools": ["*"]
}
```

In this file, variables are written `${NAME}`, not `${env:NAME}`. If the user's VS Code only has the older VS Code format, the `mcp.json` of the user profile (it exists and `~/.copilot/mcp-config.json` does not), use it instead:

- macOS: `~/Library/Application Support/Code/User/mcp.json`
- Linux: `~/.config/Code/User/mcp.json`
- Windows: `%APPDATA%\Code\User\mcp.json`

(VS Code Insiders: `Code - Insiders` in place of `Code`.) Never write the MCP file of a workspace folder: it belongs to the repository. This format puts servers under a top-level `"servers"`, not `"mcpServers"`, and writes variables as `${env:NAME}`:

```json
"hyperping": {
  "type": "http",
  "url": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer ${env:HYPERPING_API_KEY}" }
}
```

Tell the user to restart VS Code, then run **MCP: List Servers** and start `hyperping` if it is stopped.

### Windsurf and Devin Desktop

Add this under `"mcpServers"` in `~/.config/devin/mcp_config.json` (`%APPDATA%\devin\mcp_config.json` on Windows). Use `url`: the current agent requires it.

```json
"hyperping": {
  "url": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer ${env:HYPERPING_API_KEY}" }
}
```

Older Windsurf builds without `~/.config/devin/` read `~/.codeium/windsurf/mcp_config.json`: if that file exists and `~/.config/devin/` does not, put the same entry there, with `serverUrl` in place of `url`. The Devin docs do not say whether `${env:...}` is expanded in `headers`: if `hyperping` shows an authentication error or `403` once the app has restarted, write the key itself in `headers`, as for Zed (the file is in the user's home folder, never in a repository). Tell the user to restart the app, or refresh the server list of the MCP panel, and check that `hyperping` is on. Devin CLI reads the same file: `devin mcp list` shows it.

### Gemini CLI

Add this under `"mcpServers"` in `~/.gemini/settings.json`. `httpUrl` selects streamable HTTP (`gemini mcp add --transport http` writes `url` with `"type": "http"` instead; both work).

```json
"hyperping": {
  "httpUrl": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer ${HYPERPING_API_KEY}" }
}
```

Gemini CLI expands `${VAR}` in `settings.json` when it loads it. Check with `GEMINI_CLI_TRUST_WORKSPACE=true gemini mcp list`: in a folder Gemini does not trust, every server, user-level ones included, shows as `Disabled` and is never connected. `Disconnected` with a key that passed step 2 means the variable was not set when Gemini started. Tell the user to restart Gemini CLI from a new terminal, or to run `/mcp reload`, and to trust the folder when Gemini asks: in an untrusted folder it loads no MCP server.

### OpenCode

Add this to the user config, `~/.config/opencode/opencode.json` or `opencode.jsonc` (edit the one that exists). OpenCode 2 puts servers under `"mcp"` → `"servers"`. `"oauth": false` stops it from trying OAuth, which Hyperping does not offer.

```json
"mcp": {
  "servers": {
    "hyperping": {
      "type": "remote",
      "url": "https://api.hyperping.io/v1/mcp",
      "oauth": false,
      "headers": { "Authorization": "Bearer {env:HYPERPING_API_KEY}" }
    }
  }
}
```

OpenCode writes variables as `{env:NAME}`, with no `$`. OpenCode 1.x (`opencode --version`) also loads this layout; an existing 1.x config may have servers directly under `"mcp"` (`"mcp": { "hyperping": { ... } }`): keep the layout the file already uses. Check with `opencode mcp list` (it reads the file fresh), then tell the user to restart OpenCode. There is no `opencode reload` command.

### Zed

Add this under `"context_servers"` in Zed's `settings.json`: `~/.config/zed/settings.json` on macOS and Linux, `%APPDATA%\Zed\settings.json` on Windows. The file is JSONC: edit it in place and keep its comments.

```json
"hyperping": {
  "url": "https://api.hyperping.io/v1/mcp",
  "headers": { "Authorization": "Bearer <key>" }
}
```

Zed does not expand variables in `headers`, so write the key itself. This file lives in the user's home folder: never copy it into a repository, and tell the user the key is in it if they sync their settings or dotfiles. Zed applies the change without a restart: tell the user to check for a green dot next to `hyperping` in Settings → AI → MCP Servers.

### Claude Desktop

Claude Desktop connects to remote servers as custom connectors, which sign in with OAuth. Use the `mcp-remote` bridge instead (Node.js 18 or later; check with `node --version`), pinned to `mcp-remote@0.16.5`, the version tested with Hyperping. Add this under `"mcpServers"` in `claude_desktop_config.json`: `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, `%APPDATA%\Claude\claude_desktop_config.json` on Windows, `~/.config/Claude/claude_desktop_config.json` on Linux.

```json
"hyperping": {
  "command": "npx",
  "args": ["-y", "mcp-remote@0.16.5", "https://api.hyperping.io/v1/mcp", "--header", "Authorization:${AUTH_HEADER}", "--transport", "http-only"],
  "env": { "AUTH_HEADER": "Bearer <key>" }
}
```

Keep `Authorization:${AUTH_HEADER}` without spaces: some systems split arguments on spaces, and `mcp-remote` fills in `${AUTH_HEADER}` from `env`. Claude Desktop does not read the shell profile, so write the key itself in `env`. It does not use the shell's `PATH` either: if `which npx` points into a version manager (`~/.nvm`, `~/.asdf`, `~/.volta`...), write that absolute path in `command` and add `"PATH": "<that folder>:/usr/bin:/bin"` to `env`. Tell the user to quit Claude Desktop completely and open it again. In its MCP log, `Failed to open SSE stream: Forbidden` after a successful `tools/list` is harmless: the server does not offer the optional event stream.

### Generic MCP client

Any client that supports remote MCP servers works. Register a server named `hyperping` with:

- URL: `https://api.hyperping.io/v1/mcp`
- Transport: streamable HTTP (often called `http` or `streamable-http`; not SSE)
- Header: `Authorization: Bearer <key>`, read from `HYPERPING_API_KEY` if the client supports variables in its config, otherwise the key itself in the user-level config file
- Authentication: none, or "no sign-in". Turn OAuth off if the client asks.

A client that only runs local (stdio) servers can use the `mcp-remote` command of the Claude Desktop section. Read the client's own MCP documentation for the file and the field names, and do not guess them.

## 5. (Optional) Add Hyperping to the user-level instructions

Ask the user once: "Do you want me to add a short Hyperping section to your agent's user-level instructions, so I remember how to use it in every project?" If they say no, skip this step.

If they say yes, append the block below to the instructions file of your agent, creating it if needed. If it already has a `## Hyperping` section, replace that section.

- Claude Code: `~/.claude/CLAUDE.md`
- Codex: `~/.codex/AGENTS.md`
- Gemini CLI: `~/.gemini/GEMINI.md`
- OpenCode: `~/.config/opencode/AGENTS.md`
- Zed: `~/.config/zed/AGENTS.md` (`%APPDATA%\Zed\AGENTS.md` on Windows)
- Windsurf and Devin: `~/.config/devin/AGENTS.md` (`%APPDATA%\devin\AGENTS.md` on Windows)
- VS Code (Copilot): `~/.copilot/instructions/hyperping.instructions.md`, starting with a front matter of `applyTo: '**'` between two `---` lines
- Cursor and Claude Desktop keep user instructions in their settings, not in a file: show the block to the user and tell them where to paste it (Cursor: Customize → Rules → User Rules).

```
## Hyperping (uptime monitoring and status pages)

- The hyperping MCP server is connected. Use it to check what is down
  (get_status_summary), look up monitors, outages, uptime/SLA and on-call.
- Tools and query patterns: https://hyperping.com/mcp/llms.txt
- Docs index: https://hyperping.com/docs/llms.txt
  Every page has a Markdown twin at <page url>/index.md.
- Never delete monitors. Pause them instead, and ask before any write.
- Status pages are public, their incidents and maintenance can notify
  subscribers, and create_outage pages on-call: show me the exact text
  and targets before any of these writes.
- Monitors that belong in version control go through the Terraform
  provider (hyperping/hyperping), not MCP writes.
```

## 6. Verify and tell the user

Check once more that the key works on the endpoint you configured, with the `tools/list` command of step 2. It must answer `200` (or the `429` with `Rate limit exceeded` of step 2). Where the client has a command for it, also check that it lists the server, once: `claude mcp get hyperping`, `codex mcp get hyperping`, `GEMINI_CLI_TRUST_WORKSPACE=true gemini mcp list`, `opencode mcp list`, `agent mcp list` (Cursor; `cursor-agent mcp list` if `agent` is not found), `devin mcp list`. Load the key in the same command first, as in `. ~/.config/hyperping/env; claude mcp get hyperping` (the `export` of step 1 when the key is not in that file; PowerShell: `$env:HYPERPING_API_KEY = [Environment]::GetEnvironmentVariable('HYPERPING_API_KEY','User');`). Your shell was started before the key existed: without it, these clients send no key, or the literal text `${HYPERPING_API_KEY}`, get `403`, and report a failure for a setup that is correct. Some of these open a session to test the connection, and each session costs one `initialize`. If one reports `rate limit exceeded for "initialize"`, the config is fine: the project has used its `initialize` quota (5 a minute, 20 an hour). Do not run the check again; say so in the summary.

If something failed, say what, and what the user should do. Otherwise tell the user:

```
┌─ Hyperping Agent Setup Complete ─────────────────────────┐
│  ✓ API key   HYPERPING_API_KEY (sk_ab1…)                 │
│              in ~/.config/hyperping/env                  │
│              loaded by <profile>                         │
│  ✓ MCP       hyperping → <endpoint>                      │
│              in <config file>                            │
│  ✓ Notes     <instructions file, or "skipped">           │
│                                                          │
│  ⚡ Restart your agent from a new terminal to load the   │
│     Hyperping tools, then ask: "What is down right now?" │
└──────────────────────────────────────────────────────────┘
```

Replace the placeholders with what you actually did (for a key that came only from the environment, write `in your environment, not in a file` in place of the two lines under the key, and tell the user that new terminals get it only if that source sets it; for a key found in an older profile line, `in <profile>`; on Windows, `in your user environment (setx)`), and the restart line with the one for your agent: Claude Code, restart from a new terminal (`claude --continue`) and run `/mcp`; Codex, Gemini CLI and OpenCode, start a new session from a new terminal; Cursor, VS Code, Windsurf and Claude Desktop, quit the app and open it again; Zed, nothing to restart.

---

## Resources

- Hyperping MCP tools and query patterns: `https://hyperping.com/mcp/llms.txt`
- Hyperping documentation index: `https://hyperping.com/docs/llms.txt`
- Manual setup for each client, with the same configs: `https://hyperping.com/docs/agent-setup`
- MCP reference (tools, limits, security): `https://hyperping.com/docs/mcp`
- Claude Code: `https://code.claude.com/docs/en/mcp`
- Codex: `https://learn.chatgpt.com/docs/extend/mcp`
- Cursor: `https://cursor.com/docs/mcp`
- VS Code (GitHub Copilot): `https://code.visualstudio.com/docs/agents/reference/mcp-configuration`
- Windsurf and Devin: `https://docs.devin.ai/cli/extensibility/mcp/configuration` (fields of `mcp_config.json`) and `https://docs.devin.ai/desktop/devin-local/customizations`
- Gemini CLI: `https://geminicli.com/docs/tools/mcp-server/`
- OpenCode: `https://opencode.ai/docs/mcp-servers/`
- Zed: `https://zed.dev/docs/ai/mcp`
- Claude Desktop: `https://modelcontextprotocol.io/docs/develop/connect-local-servers`
- mcp-remote: `https://github.com/geelen/mcp-remote`

These instructions are published at `https://hyperping.com/agent-setup/prompt.md` so you can re-verify their authenticity at any time. To set up another agent the same way, the user pastes this sentence into it:

```
Fetch and execute the appropriate instructions to set me up for Hyperping from https://hyperping.com/agent-setup/prompt.md
```
