Connect your coding agent
Every client on this page connects to the same server: a Streamable HTTP
endpoint at https://app.pingstack.io/mcp with browser sign-in.
Add it with no Authorization header, start the connection, and sign in when
the client opens your browser. An Owner or Admin picks the account and
approves the connection. Clients register with Pingstack on their own, so
you don’t need a client ID or secret.
Prefer the endpoint shown in Settings → Developer → Connected apps if it differs. Clients change their MCP settings often, so each section links to that client’s official documentation. Follow it when it disagrees with this page. These steps set up an agent on your own computer, not a cloud agent.
If your client can’t sign in to a remote server, use an API key instead. See API key headers by client for where the key goes.
GitHub Copilot CLI
Section titled “GitHub Copilot CLI”In a Copilot session, run /mcp add. Name the server pingstack, choose
HTTP, enter the URL, leave HTTP Headers empty and keep the tools set
to *. Press Ctrl+S to save. From a terminal, this does the same thing:
copilot mcp add --transport http pingstack https://app.pingstack.io/mcpBoth write to ~/.copilot/mcp-config.json. To edit the file by hand, merge
this entry and keep your other servers:
{ "mcpServers": { "pingstack": { "type": "http", "url": "https://app.pingstack.io/mcp", "tools": ["*"] } }}If /mcp shows Pingstack as needs-auth, run /mcp auth pingstack and
complete the sign-in in your browser. The server reconnects on its own.

Pingstack settings show this configuration for your account. It’s the browser sign-in setup, not an API key connection.
An organization’s MCP policy may need to allow the Pingstack endpoint. See GitHub’s guide to adding MCP servers and the CLI command reference for current commands and policies.
Claude Code
Section titled “Claude Code”claude mcp add --transport http pingstack https://app.pingstack.io/mcpThen run /mcp inside Claude Code, choose pingstack and sign in in your
browser. The server is added for the current project by default. Add
--scope user to use it in all your projects. Don’t commit a real token into
a shared .mcp.json.
Run claude mcp list to check the connection.
Claude Code’s MCP documentation
covers scopes and current options.
The Code tab in Claude Desktop runs Claude Code in a local project, so it uses this setup. Desktop Chat has its own configuration. See Claude Desktop Chat below.
Cursor
Section titled “Cursor”Add the server to ~/.cursor/mcp.json for all projects, or to
.cursor/mcp.json in one project:
{ "mcpServers": { "pingstack": { "url": "https://app.pingstack.io/mcp" } }}Open Cursor’s Customize page, find pingstack in your MCP servers and
sign in when Cursor asks. In the Cursor CLI, which reads the same files, run:
agent mcp login pingstackThen agent mcp list shows whether it’s connected.
See Cursor’s MCP documentation and
MCP in the Cursor CLI.
VS Code with Copilot agent mode
Section titled “VS Code with Copilot agent mode”Open the Command Palette and run MCP: Add Server. Choose HTTP, enter
the URL and the server ID pingstack, then pick where to save it. VS Code
now suggests Global, which writes the same ~/.copilot/mcp-config.json
file that Copilot CLI uses, so one entry covers both.
A workspace file at .vscode/mcp.json still works. It uses servers, not
mcpServers:
{ "servers": { "pingstack": { "type": "http", "url": "https://app.pingstack.io/mcp" } }}Start the server from MCP: List Servers, or from its … menu in the Agent Customizations editor. Complete the sign-in when VS Code asks. See VS Code’s MCP server guide and the configuration reference.
OpenAI Codex
Section titled “OpenAI Codex”The Codex CLI, the Codex IDE extension and the ChatGPT desktop app share
~/.codex/config.toml, so you set it up once. Add the server:
codex mcp add pingstack --url https://app.pingstack.io/mcpOr add this table to ~/.codex/config.toml yourself:
[mcp_servers.pingstack]url = "https://app.pingstack.io/mcp"Then sign in:
codex mcp login pingstackOn a machine with no browser, add --no-browser, open the URL it prints,
and paste the full redirect URL back into the terminal. Run codex mcp list,
or /mcp inside Codex, to see the connection. A project can have its own
.codex/config.toml, but Codex only reads it in trusted projects.
See Codex’s MCP documentation and
the configuration reference.
Google Antigravity
Section titled “Google Antigravity”The Antigravity IDE, the Antigravity app and the Antigravity CLI (agy)
read the same file. Use ~/.gemini/config/mcp_config.json for all projects,
or .agents/mcp_config.json in one workspace. In the IDE you can open it
from … at the top of the agent panel, then MCP Servers,
Manage MCP Servers and View raw config.
Remote servers use serverUrl. Antigravity doesn’t accept httpUrl, the
key Gemini CLI used:
{ "mcpServers": { "pingstack": { "serverUrl": "https://app.pingstack.io/mcp" } }}With no headers set, Antigravity handles sign-in for you. Open Agent
settings, go to Customizations and click Authenticate next to
pingstack. Finish signing in in your browser, copy the authorization code
it shows, paste it back into the settings panel and click Submit.
In the CLI, type /mcp to see each server’s status, reload the
configuration and read connection logs.
See Antigravity’s MCP documentation.
If you’re moving from Gemini CLI, agy offers to migrate your old settings
on first run. The migration guide
explains what changes.
Gemini CLI
Section titled “Gemini CLI”Since June 18, 2026, Gemini CLI no longer serves personal Google accounts (free, Google AI Pro and Ultra). Google points those users to Antigravity. Gemini Code Assist Standard and Enterprise licenses and Gemini API keys still work, so this section is for those setups.
gemini mcp add --transport http -s user pingstack https://app.pingstack.io/mcpWithout -s user, the server goes into the project’s .gemini/settings.json.
In ~/.gemini/settings.json, use httpUrl. Gemini CLI treats url as the
older SSE transport:
{ "mcpServers": { "pingstack": { "httpUrl": "https://app.pingstack.io/mcp" } }}Start Gemini CLI and run /mcp auth pingstack to sign in. Sign-in needs a
browser on the same machine. See
Gemini CLI’s MCP documentation
and Google’s notice about individual accounts.
Agent-assisted local setup
Section titled “Agent-assisted local setup”Pingstack settings also offer setup prompts for local Copilot and Claude Code sessions. They contain no secrets. Copy the prompt, not a token, into the coding session. Review the configuration changes it proposes, and any private token-entry program, before you run them. Enter a token through hidden local input, never through chat.
The helper must find the real configuration file and keep existing entries. If it can’t take a token securely or can’t tell how the client is configured, use the API key instructions instead. After setup, check capabilities and list checks without making changes.
API key headers by client
Section titled “API key headers by client”Use these only when browser sign-in isn’t possible. Create a key as
described in Connect with an API key, and put
Bearer YOUR_API_KEY in the client’s header setting:
| Client | Where the header goes |
|---|---|
| GitHub Copilot CLI and VS Code | headers object in the server entry |
| Claude Code | --header "Authorization: Bearer YOUR_API_KEY", or headers in ~/.claude.json |
| Cursor | headers object. ${env:NAME} reads the key from an environment variable |
| OpenAI Codex | bearer_token_env_var = "PINGSTACK_API_KEY", with the key in that environment variable |
| Google Antigravity | headers object next to serverUrl |
| Gemini CLI | headers object next to httpUrl, or --header on gemini mcp add |
Command-line header flags can leave the key in your shell history and the process list. Prefer a private file or an environment variable. An API key is not an OAuth client secret, so don’t add one to work around a sign-in problem.
Claude Desktop Chat: local bridge
Section titled “Claude Desktop Chat: local bridge”If Desktop Chat can’t use the hosted HTTP server directly, Pingstack settings
include an optional example using the third-party mcp-remote bridge.
Review the bridge before you install or run it. This isn’t the Claude Code
setup.
In Desktop Settings > Developer > Edit Config, merge:
{ "mcpServers": { "pingstack": { "command": "/ABSOLUTE/PATH/TO/npx", "args": [ "-y", "mcp-remote@0.14.3", "https://app.pingstack.io/mcp", "--transport", "http-only", "--header", "Authorization:${PINGSTACK_AUTH_HEADER}", "--silent" ], "env": { "PINGSTACK_AUTH_HEADER": "Bearer REPLACE_LOCALLY_WITH_MANUAL_TOKEN", "PATH": "/ABSOLUTE/PATH/TO/NODE_DIRECTORY:/usr/bin:/bin:/usr/sbin:/sbin" } } }}Find the local paths with command -v npx and command -v node, and put
the directory that contains Node in PATH. Replace the bearer placeholder
locally and protect the file. The bridge reads the bearer from its
environment, so the token never appears in process arguments.
Quit and restart Desktop fully, then check its MCP tools. Keep HTTPS and don’t add insecure-localhost flags for a hosted connection. The bridge is a separate local process, not a Pingstack server installation.
See the bridge’s configuration documentation and connection troubleshooting.