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

# MCP Server

> Use FileFeed with AI assistants via the Model Context Protocol

## Overview

The `@filefeed/mcp-server` package exposes all FileFeed SDK capabilities as **MCP (Model Context Protocol) tools**, enabling AI assistants to manage your pipelines, clients, schemas, webhooks, and data directly.

> [card] Claude Desktop
>
> Chat with your FileFeed data in Claude Desktop.

> [card] Cursor
>
> Manage pipelines from your IDE with Cursor.

> [card] VS Code
>
> Use FileFeed tools in VS Code Copilot Chat.

## What is MCP?

The [Model Context Protocol](https://modelcontextprotocol.io) is an open standard that lets AI assistants call external tools. The FileFeed MCP server translates your natural language requests into FileFeed API calls — listing runs, creating pipelines, reprocessing files, and more.

## Quick Start

### 1. Get your API key

Retrieve your API key from the FileFeed dashboard under **Profile > API Key**.

### 2. Configure your AI client

> [tab] Claude Desktop
>
> Add to your `claude_desktop_config.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "filefeed": {
>       "command": "npx",
>       "args": ["@filefeed/mcp-server"],
>       "env": {
>         "FILEFEED_API_KEY": "your-api-key"
>       }
>     }
>   }
> }
> ```

> [tab] Cursor
>
> Add to your Cursor MCP settings (`.cursor/mcp.json`):
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "filefeed": {
>       "command": "npx",
>       "args": ["@filefeed/mcp-server"],
>       "env": {
>         "FILEFEED_API_KEY": "your-api-key"
>       }
>     }
>   }
> }
> ```

> [tab] VS Code
>
> Add to your VS Code settings (`.vscode/settings.json`):
>
> ```json theme={null}
> {
>   "mcp": {
>     "servers": {
>       "filefeed": {
>         "command": "npx",
>         "args": ["@filefeed/mcp-server"],
>         "env": {
>           "FILEFEED_API_KEY": "your-api-key"
>         }
>       }
>     }
>   }
> }
> ```

### 3. Start asking questions

Once configured, you can ask your AI assistant things like:

* *"Show me all failed pipeline runs"*
* *"List my clients and their connection status"*
* *"Create a new pipeline for client Acme with the Employees schema"*
* *"Reprocess the last failed run"*
* *"What webhooks are configured?"*

## Configuration

| Environment Variable | Required | Default | Description |
| - | - | - | - |
| `FILEFEED_API_KEY` | Yes | — | Your FileFeed API key |
| `FILEFEED_BASE_URL` | No | `https://api.sftpsync.io` | API base URL |
| `FILEFEED_TIMEOUT_MS` | No | `30000` | Request timeout in milliseconds |

You can also pass the API key via CLI flag:

```bash theme={null}
filefeed-mcp --api-key your-api-key
```

## Next steps

> [card] [Available Tools](https://docs.filefeed.io/mcp-server/tools.md)
>
> See all 38 tools organized by resource.

> [card] [API Library](https://docs.filefeed.io/api-library/overview.md)
>
> Use the TypeScript SDK for programmatic access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.