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

# MCP Setup

> Connect Layer3x to Claude in 60 seconds

Layer3x is the only MCP-native execution firewall for Claude agents.

Connect it as a native tool — no SDK, no integration code required.

## Connect to [Claude.ai](http://Claude.ai)

**Step 1 — Open Claude Settings**

Go to \[[claude.ai](http://claude.ai)]\([https://claude.ai](https://claude.ai)) → Settings → Connectors

**Step 2 — Add custom connector**

Click the **+** button in the top right of the Connectors panel

**Step 3 — Enter your details**

* **Name:** Layer3x
* **URL:** `https://api.layer3x.com/mcp?apikey=YOUR_AGENT_API_KEY`

Replace `YOUR_AGENT_API_KEY` with the key from your Agents page.

**Step 4 — Click Add**

Claude will handshake with Layer3x and discover the `authorize_payment` tool automatically.

***

## What Claude can now do

Once connected, Claude has access to the `authorize_payment` tool.

When your agent attempts a payment action, Claude calls Layer3x automatically before executing.

**Example:**

**User:** "Release the \$6,200 payment to TechVendor Inc"

**Claude calls** `authorize_payment` → Layer3x evaluates → Returns ESCALATED

**Claude responds:** "This payment requires human approval. A request has been logged in your Layer3x dashboard."

***

## ## Tool parameters

**action\_key** (string, required) — The action being requested. Example: `payments.release`

**amount** (number, required) — Payment amount in USD.

**vendor** (string, required) — Destination vendor name.

**currency** (string, optional) — Currency code. Default: USD.

**payload** (object, optional) — Additional context for the request.

***

## Get your Agent API Key

Go to **Agents** → Register Agent or rotate an existing key from the Agents page.

***
