> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heymcp.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> From nothing to an agent calling your local MCP server, in about two minutes.

You need a local MCP server running somewhere — a port, a `.test` hostname, a
Herd or Valet site. If you don't have one yet, any of the [official MCP SDK
examples](https://modelcontextprotocol.io) will do.

**1. Install the CLI**

```bash theme={null}
curl -fsSL https://heymcp.dev/install.sh | sh
```

macOS and Linux, Intel and ARM — and Windows [through WSL](https://docs.heymcp.dev/installation.md#windows-via-wsl).
One static binary, checksum-verified.
See [Installation](https://docs.heymcp.dev/installation.md) for what it does and how to control where
it lands.

**2. Sign in**

```bash theme={null}
heymcp login
```

Opens your browser once and signs the CLI in. Sign-in is GitHub only.
If you don't have an account yet, this creates one.

**3. Share your server**

Point it at wherever your MCP server lives:

```bash theme={null}
heymcp share localhost:8000
```

`myapp.test`, `:8000`, `8000` and full URLs all work too — see
[`heymcp share`](https://docs.heymcp.dev/cli/share).

```
●  myapp — https://amber-jetty.t.heymcp.dev/mcp
✓  handshake ok — 3 tools
→  inspector: https://app.heymcp.dev/s/x7k2
```

That first URL is yours to hand to an agent. The `handshake ok` line means
HeyMCP already connected to your server as an MCP client and checked it
over — if something is wrong, you'll see it here rather than finding out
from a client that says nothing at all.

**4. Hand the URL to an agent**

The quickest client to prove it with is Claude Code, because it's the only
one where the whole thing is a single command:

```bash theme={null}
claude mcp add --transport http heymcp https://amber-jetty.t.heymcp.dev/mcp
```

For everything else — Claude.ai, ChatGPT, Grok, Cursor, VS Code, Gemini —
see [Connect a client](https://docs.heymcp.dev/clients/overview.md).

**5. Watch it happen**

Open the inspector URL the CLI printed. Every frame the agent exchanges
with your server appears there live, folded into a readable timeline of
attempts rather than raw JSON-RPC.

Ask the agent to use one of your tools and watch the row appear.

## What to do next

> [card] [Read the handshake report](https://docs.heymcp.dev/concepts/the-probe.md)
>
> The `handshake ok` line is a summary. The full report lists everything
> about your schemas that will bite with some client.

> [card] [Keep the URL stable](https://docs.heymcp.dev/concepts/urls-and-paths.md)
>
> Your account's slug doesn't change between runs, so a connector you add
> today still works tomorrow.

> [card] [Lock the tunnel down](https://docs.heymcp.dev/security/authentication.md)
>
> A public URL is public. `--bearer` puts a token in front of it.

> [card] [Nothing showed up?](https://docs.heymcp.dev/troubleshooting.md)
>
> Most MCP client failures are silent. This page is the playbook.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.