higgsfield-mcp-server

higgsfield-mcp-server

Remote MCP server for Claude to generate images and videos using Higgsfield AI. Supports photo, reference-based image, and video generation.

Category
访问服务器

README

higgsfield-mcp-server

Remote MCP server that lets Claude generate images and videos through the Higgsfield AI API — photorealistic photos (Soul), reference-guided images (Popcorn), and video (Google Veo 3.1, Kling, ByteDance Seedance) — directly from chat.

Tools exposed

Tool What it does
higgsfield_generate_photo Text-to-image, photorealistic (Soul/Standard)
higgsfield_generate_image_with_references Text-to-image with up to 8 reference photos (Popcorn/Auto)
higgsfield_generate_video Text/image/frame/reference-to-video via Google Veo 3.1
higgsfield_generate_video_kling Cinematic video via Kling v2.1 / v2.5
higgsfield_generate_video_seedance Fast/cheap video via ByteDance Seedance
higgsfield_check_status Poll a generation job until it's done
higgsfield_cancel_request Cancel a queued job
higgsfield_list_models List every available endpoint (incl. ones only reachable via raw_request)
higgsfield_raw_request Call any other Higgsfield endpoint (Soul character/reference, FLUX Kontext, MiniMax Hailuo, DOP)

All generation tools are asynchronous: they return a request_id immediately; call higgsfield_check_status (Claude will do this automatically) until the job is completed.

1. Get your Higgsfield API keys

  1. Go to https://cloud.higgsfield.ai and sign in.
  2. Create an API key (you did this already if you're reading this after asking Claude for help) — you get an API Key ID and an API Key Secret. Copy both, they're shown only once.

2. Deploy this server (free tier works)

You need somewhere that keeps a Node process running 24/7 and reachable over HTTPS. Two free options that need no credit card for a small server like this:

Option A: Render.com

  1. Push this folder to a new GitHub repository (private is fine).
  2. On https://render.com → New + → Web Service → connect that repo.
  3. Settings:
    • Runtime: Node
    • Build Command: npm install
    • Start Command: npm start
  4. Under Environment, add these three variables:
    • HF_API_KEY_ID = your Higgsfield API Key ID
    • HF_API_KEY_SECRET = your Higgsfield API Key Secret
    • MCP_ACCESS_TOKEN = any long random string you make up (e.g. run openssl rand -hex 32 locally, or just mash the keyboard for 40+ characters) — this is the password Claude will use to talk to your server, so nobody else can spend your Higgsfield credits.
  5. Deploy. Render gives you a URL like https://higgsfield-mcp-server.onrender.com. Your MCP endpoint is that URL + /mcp, e.g. https://higgsfield-mcp-server.onrender.com/mcp.

Note: Render's free web services sleep after inactivity and take a few seconds to wake up on the next request — fine for occasional use.

Option B: Railway.app

Same idea: new project from this GitHub repo, set the same three environment variables, Railway auto-detects npm start. You get a URL like https://higgsfield-mcp-server-production.up.railway.app, endpoint is that + /mcp.

3. Add it to Claude as a custom connector

In Claude (claude.ai / desktop app) → Settings → Connectors → Add custom connector:

  • Name: Higgsfield
  • URL: https://<your-deployed-url>/mcp
  • Authentication: Bearer token → paste the MCP_ACCESS_TOKEN value you set in step 2.

Enable it for your chat, and Claude will be able to call the tools above.

Local testing (optional)

cp .env.example .env   # fill in real values
npm install
npm start

The server listens on http://localhost:3000/mcp (or $PORT).

Security notes

  • HF_API_KEY_ID / HF_API_KEY_SECRET give full access to your Higgsfield account and billing. They live only in the host's environment variables — never commit them, never put them in the URL.
  • MCP_ACCESS_TOKEN is what stops a random person who finds your server URL from generating content on your Higgsfield credits. Treat it like a password.
  • Every generation call spends Higgsfield credits per your plan's pricing.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选