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

# MCP Integration Guide

> Use the hosted MCP URL with OAuth or API key

# Veydra MCP: Quick Setup

Use the hosted MCP URL. Most users should start with OAuth.

<Info>
  If your client supports remote MCP URLs, use Option A or Option B.
</Info>

## Option A: Hosted URL (fastest)

Use this when your client supports remote MCP URLs directly.

**MCP URL**

```text theme={null}
https://api.veydra.io/mcp
```

Authentication: OAuth

### Generic JSON example

```json theme={null}
{
  "mcpServers": {
    "veydra": {
      "url": "https://api.veydra.io/mcp"
    }
  }
}
```

## Option B: Hosted URL + API key

Use this when your client does not support OAuth, or when your team prefers API key auth.

**MCP URL**

```text theme={null}
https://api.veydra.io/mcp
```

**Authorization header**

```text theme={null}
Authorization: Bearer YOUR_VEYDRA_API_KEY
```

Get your API key at [app.veydra.io/account/api-keys](https://app.veydra.io/account/api-keys).

### Generic JSON example

```json theme={null}
{
  "mcpServers": {
    "veydra": {
      "url": "https://api.veydra.io/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_VEYDRA_API_KEY"
      }
    }
  }
}
```

## Alternative Options

Need npm CLI, API key mode, local proxy setup, or a custom enterprise flow?

Contact support and we will provide the best configuration for your client and environment.

* Email: [support@veydra.io](mailto:support@veydra.io)

## Quick Troubleshooting

1. Confirm URL is exactly `https://api.veydra.io/mcp`.
2. If using OAuth, confirm your client is configured for OAuth.
3. If using API key, confirm the key starts with `vk_`.
4. Restart your AI client after config changes.
5. If auth still fails, contact [support@veydra.io](mailto:support@veydra.io).

## Need Help?

* Support: [support@veydra.io](mailto:support@veydra.io)
* API reference: [/api-reference/introduction](/api-reference/introduction)
