Skip to main content
Piloterr

ClaudeClaude · Guide 4

Connect Piloterr to Claude Code

Add the Piloterr MCP server to Claude Code with one command, sign in from /mcp, check the connection, allow the tools, or use an API key for scripts and CI.

6 min read

Claude Code is Claude in your terminal. This guide connects it to Piloterr in three commands. You don't need to know how to code: you copy and paste each command into a terminal.

Before you startLink to Before you start

You need How to check
A Piloterr account Sign up. You start with 500 free credits.
Claude Code installed Run claude --version in a terminal. If the command isn't found, follow the Claude Code install guide.
A web browser on the same computer To sign in to Piloterr. On a remote server, see Without a browser.

Open a terminal: on Mac, open Terminal (Spotlight: Terminal). On Windows, open PowerShell or Windows Terminal.

The path at a glanceLink to The path at a glance

Step What you do
1 Run claude mcp add … to add the server
2 Run claude, then /mcp. Select piloterr, choose Authenticate, then click Allow in the browser
3 Run claude mcp list and check it shows ✔ Connected
4 Ask Claude Code for your balance

Step 1: Add the Piloterr serverLink to Step 1: Add the Piloterr server

Copy this command, paste it in the terminal and press Enter:

claude mcp add --transport http --scope user piloterr https://mcp.piloterr.com

What each part means:

Part Meaning
--transport http Piloterr is a remote server, reached over HTTPS.
--scope user Piloterr is available in all your projects. Use --scope project to share it with a team through a .mcp.json file, or leave it out to keep it in the current folder only.
piloterr The name of the server in Claude Code. The tools are called mcp__piloterr__….
https://mcp.piloterr.com The Piloterr MCP server.

A terminal running claude mcp add for Piloterr

This command doesn't sign you in yet. That's the next step.

Step 2: Sign in to PiloterrLink to Step 2: Sign in to Piloterr

  1. Start Claude Code: type claude and press Enter.
  2. Type /mcp and press Enter. The list of MCP servers opens.
  3. Use the arrow keys to select piloterr (marked as needing authentication) and press Enter.
  4. Choose Authenticate. Your browser opens on app.piloterr.com.
  5. Sign in to Piloterr, pick a Workspace and click Allow.
  6. Go back to the terminal: Claude Code confirms that authentication succeeded.

The /mcp menu in Claude Code, then the Piloterr Allow access screen

You can also sign in without starting Claude Code:

claude mcp login piloterr

Step 3: Check the connectionLink to Step 3: Check the connection

Quit Claude Code (/exit or Ctrl+C twice) and run:

claude mcp list

Piloterr must show ✔ Connected:

piloterr: https://mcp.piloterr.com (HTTP) - ✔ Connected
Status What to do
✔ Connected All good.
! Needs authentication Run /mcp in Claude Code and authenticate (step 2).
✘ Failed to connect Check the URL with claude mcp get piloterr, and the server status at mcp.piloterr.com/health.

claude mcp list showing piloterr as connected

Step 4: Run a first requestLink to Step 4: Run a first request

Start claude and type:

Use the piloterr_usage tool to show my balance. Do not use any other tool.

Claude Code asks permission before using the tool. Choose Yes for this time, or the option that stops asking for this tool. Claude then shows your remaining credits.

Claude Code asking to use piloterr_usage and showing the balance

Allow Piloterr tools without being askedLink to Allow Piloterr tools without being asked

To allow every Piloterr tool in a project, add this rule to .claude/settings.json (or to ~/.claude/settings.json for all projects):

{
  "permissions": {
    "allow": ["mcp__piloterr"]
  }
}

Each call still uses credits, so only do this if you're comfortable with Claude Code calling Piloterr on its own.

Use an API key instead (scripts and CI)Link to Use an API key instead (scripts and CI)

On a server, in CI (automated scripts) or anywhere without a browser, use a Piloterr API key instead of signing in:

  1. In the Piloterr dashboard, open API keys and copy a key.
  2. Add the server with the key in a header:
claude mcp add --transport http --scope user piloterr https://mcp.piloterr.com \
  --header "x-api-key: YOUR_PILOTERR_API_KEY"

If you already added Piloterr in step 1, remove it first with claude mcp remove piloterr. Never commit a key in a shared .mcp.json file.

Without a browser (SSH, servers)Link to Without a browser (SSH, servers)

claude mcp login piloterr --no-browser

Claude Code prints a sign-in link. Open it on your own computer, allow access, then paste the address you land on back into the terminal.

Remove PiloterrLink to Remove Piloterr

claude mcp logout piloterr
claude mcp remove piloterr

logout deletes the sign-in, remove deletes the server. You can also click Disconnect next to Claude Code in the Piloterr dashboard (MCP in the left menu).

Next stepLink to Next step

See what you can ask in Tools and features in Claude.

Ready to try it?

Create a free account, then connect Piloterr to your AI assistant in a few minutes. You start with 500 free credits.