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

# Claude

> Connect claude.ai, Claude Desktop, Cowork, and Claude Code to a TrustGate MCP consumer.

TrustGate MCP is an **organization connector** for Claude. Add it once; it applies to
claude.ai, Desktop, Cowork, and Claude Code. Do **not** put the MCP URL on the TrustGuard
Claude Code plugin (`mcpServers` / `pluginConfigs`).

Prerequisites: an [MCP consumer](/trustgate/mcp/overview) and the URL from **Connect**:

```text theme={null}
https://<mcp-host>/<consumer-slug>/mcp
```

Prefer **OAuth2** (or **Use NeuralTrust**). API-key consumers work in Claude Code via the
CLI; org Connectors expect OAuth.

## Org-wide (recommended)

1. As **Owner**, open **Organization settings → Connectors → Add → Custom → Web**.
2. Name: `TrustGate`. URL: the Connect endpoint above.
3. Save. Members: **Customize → Connectors → TrustGate → Connect** and complete OAuth.

[Custom connectors (Anthropic)](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp).

The connector is called from Anthropic’s cloud. The MCP URL must be reachable from the
public internet (or allowlisted Anthropic egress). Hybrid-only MCP needs a public path or
TrustGate private/network options.

Do not put a TrustGuard collector `tgk_…` key on this connector.

## Claude Code (same connector)

After the org connector is connected, Claude Code loads it like other Claude products.
Confirm in `/mcp` that TrustGate is the **org** connector, not “Provided by a plugin”.

Local / dogfood only (does not replace org Connectors):

```bash theme={null}
claude mcp add --transport http TrustGate https://<mcp-host>/<consumer-slug>/mcp
```

API-key consumer:

```bash theme={null}
claude mcp add --transport http TrustGate https://<mcp-host>/<consumer-slug>/mcp \
  --header "X-AG-API-Key: ag_…"
```

Private (Hybrid) data plane: also `--header "X-AG-Gateway-Slug: <gateway-slug>"`.

## Verify

* claude.ai / Desktop: Connectors → TrustGate connected; tools available in chat.
* Claude Code: `/mcp` → TrustGate; call a bound tool.

## Related

* [TrustGuard Claude Code hooks](/trustguard/integrations/ide/claude-code)
* [MCP overview](/trustgate/mcp/overview)
* [Auth](/trustgate/concepts/auth)
