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

# MCP Server Configuration

> How to run our MCP server on Cursor and Claude.

## **Configuring Cursor**

**HTTP Transport**

1. Open Cursor Settings (Ctrl/Cmd + ,)
2. Navigate to Tools & Integration → MCP Tools
3. Click **+ New MCP Server**

   <img src="https://mintcdn.com/fileai/4kTIApydgIyrBeho/images/Screenshot2025-08-18at9.55.22AM.png?fit=max&auto=format&n=4kTIApydgIyrBeho&q=85&s=d8ee17217cc31313161f9c21716a7f25" alt="Screenshot 2025-08-18 at 9.55.22 AM.png" width="2202" height="1276" data-path="images/Screenshot2025-08-18at9.55.22AM.png" />

**Use the configuration below:**

```
{
  "mcpServers": {
    "FileAI-Prod": {
      "url": "https://mcp.file.ai",
      "env": {
        "API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
```

Your mcp.json should look like below:

<img src="https://mintcdn.com/fileai/4kTIApydgIyrBeho/images/Screenshot2025-08-18at9.56.25AM.png?fit=max&auto=format&n=4kTIApydgIyrBeho&q=85&s=dfdef6702a421cefebe6e4d5bee2ffac" alt="Screenshot 2025-08-18 at 9.56.25 AM.png" width="2514" height="1576" data-path="images/Screenshot2025-08-18at9.56.25AM.png" />

Verify that the MCP Server is set up correctly. You should see that tools are enabled.

<img src="https://mintcdn.com/fileai/4kTIApydgIyrBeho/images/Screenshot2025-08-18at11.32.45AM.png?fit=max&auto=format&n=4kTIApydgIyrBeho&q=85&s=8bb2c7e1b1a5cd3818f3dcd46fece1df" alt="Screenshot 2025-08-18 at 11.32.45 AM.png" width="2338" height="744" data-path="images/Screenshot2025-08-18at11.32.45AM.png" />

## **Configuring Claude**

To add the fileAI MCP Server to Claude:

1. Go to your **Claude Integrations** page
2. Click **+ Add integration**
3. In the URL field, enter:

```
https://mcp.file.ai/sse?x-api-key=Bearer YOUR_API_KEY_HERE
```

Replace `YOUR_API_KEY_HERE` with your actual fileAI API key.

\_Please note that Claude has restrictive rules regarding the ability to send PII via MCP. Please ensure that your use case is consistent with Claude’s Terms of Service. \_

***

## Configuring Windsurf, Cline Github Copilot and other MCP clients

<Tip>
  Visit [mcp.file.ai](http://mcp.file.ai) to get instructions on how to install fileAI's MCP Server on other clients.
</Tip>
