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
- Open Cursor Settings (
Cmd/Ctrl + Shift + Jor Settings UI). - Navigate to Features > MCP.
- 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)
- Open VS Code Settings (
Cmd/Ctrl + ,). - Search for "MCP" or navigate to Extensions > Claude Code.
- 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 redirectsFANVUE_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:
- Clone the repository
- Install dependencies:
uv sync - Run the server:
uv run fanvue-mcp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aa5f28bcea32d8c64e8efb894f942f023b25b8ebd180cb25f1e13015f5a6fc0
|
|
| MD5 |
95bf809459e22e02cb6f8c7921dd93cd
|
|
| BLAKE2b-256 |
48bbc4dd5f0ad1ac0ce9756714604960e5b68468fd129fc1e56a08400ba4090e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e5fa6fd3ad05d87e0fdf75cd28d3bb17c6e0f2250b5dde595bd66ec81ee9dba
|
|
| MD5 |
ae365152896a9663f3ad3eab1bde8b45
|
|
| BLAKE2b-256 |
e330cefc06014a6a634b5d908cfa4ff14924d0bbe76db25b92406188bc72599d
|