Connect Your AI Agent Securely

MCP Shield acts as a firewall between your AI and your data. Follow these steps to start protecting your infrastructure in less than 2 minutes.

Step 1: Get Your API Key

First, go to your Dashboard > API Keys.

Create or Copy a Key

You will need the key starting with sk_live_... for the next steps.

Step 2: Configure Your AI Client

Open Settings

Open Cursor and press Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows).

Type "MCP" and select "Open MCP Settings".

Add Configuration

Paste the following configuration into the file.
Important: Replace YOUR_KEY_HERE with your actual API key.

json
{
  "mcpServers": {
    "mcp-shield": {
      "type": "http",
      "url": "mcpgard.up.railway.app/v1/mcp",
      "headers": {
        "Authorization": "Bearer sk_live_YOUR_KEY_HERE",
        "Content-Type": "application/json"
      }
    }
  }
}

Step 3: Verify Connection

Restart & Test

Restart your AI client (Cursor or Claude). Then ask the AI:

User: "What tools are available?"

If it lists your protected tools, you are successfully connected!