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

# MCP

> Put Navige in front of an MCP server so its tools are governed.

Navige speaks MCP, so an MCP client such as Claude Desktop, Claude Code, Cursor, Windsurf, Zed or an AWS AgentCore Gateway target can point at it directly. Every tool call that client makes is then identified, recorded and decided before it runs.

`POST /mcp`

If you already have local MCP servers in Claude Desktop, `navige connect` (see [Quickstart](https://docs.navige.ai/quickstart.md)) puts Navige in front of each of them where they are, so nothing is registered twice: every call is checked before it reaches the server, and a refused call comes back to Claude as a tool error. Claude Code needs no wrapping: its hook already sees every `mcp__` tool call.

## Configure a client

Send your key in the `x-navige-key` header. Most clients take a `headers` block, as below.

```json theme={null}
{
  "mcpServers": {
    "navige": {
      "url": "https://api.navige.ai/mcp",
      "headers": { "x-navige-key": "nv_your_key_here" }
    }
  }
}
```

For a client that only speaks stdio, bridge it with `mcp-remote`:

```json theme={null}
{
  "mcpServers": {
    "navige": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://api.navige.ai/mcp",
        "--header", "x-navige-key: nv_your_key_here"
      ]
    }
  }
}
```

> [!WARNING]
>
> The config file contains a live credential and sits on a laptop, so treat it like any other secret. Use one key per client, and if a machine is lost, revoke its key rather than reusing it. Creating another key takes two clicks.
>
> The gateway still accepts `?api_key=` so existing setups keep working, but do not write new ones that way.

## What happens on a tool call

* The call is attributed to the agent that key names.
* The kill switch and spend cap apply, on every tier.
* Policies are evaluated. On a paid account a `deny` stops the call and the client is told why; on Watchtower the decision is recorded and the call proceeds.
* An approval rule holds the call until someone answers. MCP clients block on a tool call, so this works without any polling.

## Who sees which tools

Every agent in a workspace is offered every tool server connected to it, unless an admin limits a server to some people: **Tools & models** → the server → **Who can use it**. A limited server is offered only to agents those people own, and a call to it from anyone else's agent is refused and recorded. An agent belongs to the person who made it, or who connected the computer it runs on. Agents nobody owns, such as ones created through the provisioning API, cannot use a limited server. Use this for a tool that has one person's own account behind it.

## Claude Code

Claude Code is a first-class caller. Its workflow keys are derived automatically, so a Claude Code session shows up as tasks on the spend page rather than as a long list of separate calls.

## AWS AgentCore

An AgentCore Gateway can expose tools over MCP. Point a Gateway Target at `https://api.navige.ai/mcp` and every tool routed through that gateway is governed, with no code to deploy. The configuration is entirely on the AWS side.


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