# Set up X-RAY

X-RAY is the live map of Web3: who controls each player, where its capital sits, where it stands with regulators and registers, and what changed this week.

X-RAY serves its map to AI assistants through one MCP server: `https://mcp.x-ray.me` (Streamable HTTP, OAuth 2.1, no API key).

## Add the server

### Claude (claude.ai, Claude Desktop)

1. Open Customize → Connectors.
2. Press + Add, then Add custom connector.
3. Name it X-RAY and paste https://mcp.x-ray.me as the server URL; press Continue, then Add.
4. Press Connect, sign in to X-RAY in the window that opens and approve the connection.

### Claude Code

1. Run the command below.
2. Type /mcp inside Claude Code and sign in to X-RAY.

```
claude mcp add --transport http x-ray https://mcp.x-ray.me
```

### ChatGPT

1. Turn on Developer mode (Settings → Connectors → Advanced).
2. Create a connector with the URL https://mcp.x-ray.me; authentication: OAuth.
3. Sign in to X-RAY when asked, then enable the connector in a chat.

### Cursor

1. Add the server to ~/.cursor/mcp.json (or use the one-click install on /docs/connect).
2. Sign in to X-RAY when Cursor asks.

In `~/.cursor/mcp.json`:

```
{
  "mcpServers": {
    "x-ray": {
      "url": "https://mcp.x-ray.me"
    }
  }
}
```

### VS Code (Copilot agent mode)

1. Add the server to .vscode/mcp.json (or use the one-click install on /docs/connect).
2. Start it from the file and sign in to X-RAY.

In `.vscode/mcp.json`:

```
{
  "servers": {
    "x-ray": {
      "type": "http",
      "url": "https://mcp.x-ray.me"
    }
  }
}
```

### Windsurf

1. Add the server to ~/.codeium/windsurf/mcp_config.json.
2. Refresh the MCP servers in Cascade and sign in to X-RAY.

In `~/.codeium/windsurf/mcp_config.json`:

```
{
  "mcpServers": {
    "x-ray": {
      "serverUrl": "https://mcp.x-ray.me"
    }
  }
}
```

### Codex (OpenAI)

1. Add the server to ~/.codex/config.toml.
2. Sign in to X-RAY when Codex asks.

In `~/.codex/config.toml`:

```
[mcp_servers.x-ray]
url = "https://mcp.x-ray.me"
```

### Gemini CLI

1. Run the command below.
2. Sign in to X-RAY when Gemini CLI asks.

```
gemini mcp add --transport http x-ray https://mcp.x-ray.me
```

### Any other MCP client

1. Add a Streamable HTTP server at https://mcp.x-ray.me.
2. The first call opens an X-RAY sign-in (OAuth 2.1); approve it once.

In `mcp.json`:

```
{
  "mcpServers": {
    "x-ray": {
      "type": "streamable-http",
      "url": "https://mcp.x-ray.me"
    }
  }
}
```

## Sign in

A browser window opens on X-RAY's sign-in. The person types one e-mail address, types the 6-digit code from the letter X-RAY sends in the same window, and approves the connection. The same step creates an account for a new address.

## What comes with it

A new account gets 25 full answers free, no card. After that, answers are cut to a preview until the person picks a plan: https://x-ray.me/pricing

## First questions

- What changed in Web3 this week? (`get_turn`)
- Who holds a MiCA licence in Germany, or sits on OFAC's list? (`get_register`)
- Is this exchange licensed under MiCA, in Korea, in Japan? (`get_actor_status`)

## Without an account

Code can pay per call in USDC over x402, with no account and no key: `GET https://mcp.x-ray.me/x402/<tool>?<inputs>` answers 402 with the payment challenge. The prices of every tool: https://mcp.x-ray.me/x402/_prices. Discovery: https://x-ray.me/openapi.json and https://x-ray.me/.well-known/x402.

## More

- Steps for each client: https://x-ray.me/docs/connect
- Pay per call in plain HTTP: https://x-ray.me/docs/pay-per-call
- Plans: https://x-ray.me/pricing
- Add X-RAY to an assistant in a browser: https://x-ray.me/connect
