Skip to main content

Fanvue MCP Server

Project description

Fanvue MCP Server

A Model Context Protocol (MCP) server for the Fanvue API.

Installation

pip install fanvue-mcp

Or use with uvx (no installation required):

uvx fanvue-mcp

Usage

To run the server, you need to provide your Fanvue OAuth credentials. You can obtain these by creating an application in the Fanvue Developer Portal.

Running the Server

export FANVUE_CLIENT_ID="your_client_id"
export FANVUE_CLIENT_SECRET="your_client_secret"

# Run the server
fanvue-mcp

The server will start at http://0.0.0.0:8080 with the following endpoints:

  • MCP Endpoint: http://localhost:8080/mcp
  • SSE Endpoint: http://localhost:8080/sse
  • Health Check: http://localhost:8080/health

Connecting to MCP Clients

Cursor

  1. Open Cursor Settings (Cmd/Ctrl + Shift + J or Settings UI).
  2. Navigate to Features > MCP.
  3. Edit your MCP settings JSON and add:
{
  "mcpServers": {
    "fanvue": {
      "command": "uvx",
      "args": ["fanvue-mcp"],
      "env": {
        "FANVUE_CLIENT_ID": "your_client_id",
        "FANVUE_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

Cursor will automatically start and manage the server process.

Claude Code (VS Code Extension)

  1. Open VS Code Settings (Cmd/Ctrl + ,).
  2. Search for "MCP" or navigate to Extensions > Claude Code.
  3. Edit the MCP configuration (usually in settings.json):
{
  "claude.mcpServers": {
    "fanvue": {
      "command": "uvx",
      "args": ["fanvue-mcp"],
      "env": {
        "FANVUE_CLIENT_ID": "your_client_id",
        "FANVUE_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

The extension will manage the server lifecycle automatically.

Claude Desktop

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "fanvue": {
      "command": "uvx",
      "args": ["fanvue-mcp"],
      "env": {
        "FANVUE_CLIENT_ID": "your_client_id",
        "FANVUE_CLIENT_SECRET": "your_client_secret"
      }
    }
  }
}

Restart Claude Desktop after saving the configuration.

Environment Variables

  • FANVUE_CLIENT_ID: Your Fanvue OAuth Client ID (Required)
  • FANVUE_CLIENT_SECRET: Your Fanvue OAuth Client Secret (Required)
  • MCP_SERVER_PORT: Port to run the server on (Default: 8080)
  • MCP_SERVER_HOST: Host to bind to (Default: 0.0.0.0)
  • MCP_SERVER_URL: Public URL of the server (Default: http://localhost:8080) - used for OAuth redirects
  • FANVUE_API_URL: Fanvue API URL (Default: https://api.fanvue.com)
  • FANVUE_AUTH_URL: Fanvue Auth URL (Default: https://auth.fanvue.com)
  • DEBUG: Enable debug logging (Default: false)

Development

To develop locally:

  1. Clone the repository
  2. Install dependencies: uv sync
  3. Run the server: uv run fanvue-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fanvue_mcp-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fanvue_mcp-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file fanvue_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: fanvue_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for fanvue_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3aa5f28bcea32d8c64e8efb894f942f023b25b8ebd180cb25f1e13015f5a6fc0
MD5 95bf809459e22e02cb6f8c7921dd93cd
BLAKE2b-256 48bbc4dd5f0ad1ac0ce9756714604960e5b68468fd129fc1e56a08400ba4090e

See more details on using hashes here.

File details

Details for the file fanvue_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fanvue_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for fanvue_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e5fa6fd3ad05d87e0fdf75cd28d3bb17c6e0f2250b5dde595bd66ec81ee9dba
MD5 ae365152896a9663f3ad3eab1bde8b45
BLAKE2b-256 e330cefc06014a6a634b5d908cfa4ff14924d0bbe76db25b92406188bc72599d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page