Skip to main content
The open-source FAPIHub MCP server lets AI agents use the FAPIHub API on files on your computer. It works with Claude Code, Claude Desktop, Cursor, VS Code and Windsurf. Once it’s installed, ask your agent in plain language:
  • “Remove the background from assets/product.jpg”
  • “Put every photo in ./team on a #F5F5F5 background”
  • “How many FAPIHub requests do I have left?”
Results are saved next to the input as <name>_<operation>.png. The server never overwrites an existing file.

Install

1

Install uv

The server runs with uv. Install it if you don’t have it yet.
2

Get an API key

Create an API key in the dashboard. Keys look like bg_live_sk_….
3

Add the server to your agent

-s user makes the server available in every project. Without it, the server is added to the current project only.Verify: start a new Claude Code session and run /mcp. fapihub should show as connected with 7 tools.Remove:
4

Try it

Ask your agent: “Remove the background from assets/product.jpg”.

Test without an AI

Use the MCP Inspector to check the server on its own:
  1. Open the URL it prints.
  2. Click Connect.
  3. Open Tools and choose get_usage.
  4. Click Run. You should see your plan and remaining requests. get_usage is free.

Tools

  • Each image tool takes image_path and an optional output_path.
  • Colors can be hex (#FF8C00) or RGB(A) (255, 140, 0).

Environment variables

Quota

  • Each image tool call uses one request from your quota. get_usage is free.
  • Invalid inputs (missing file, wrong format, wrong size) are caught locally before anything is sent, so they don’t use quota.
See Rate Limit for your plan’s limits.

Troubleshooting

Use the full path to uvx in "command" (find it with which uvx or where uvx), or install uv first.
Add the key to the env block of your config, or to the -e flag in Claude Code.
The key is wrong or deactivated. Create a new one in the dashboard.
Your quota is used up. Check it with get_usage, and upgrade at fapihub.com/billing.
Wait N seconds, then try again. Retrying is free.
Fully restart the app or start a new session. The server is loaded only at startup.

Updates

uvx fetches the latest version from GitHub. To force an update, run uv cache clean fapihub-mcp or restart the app.

fapihub-mcp on GitHub

Source code, issues and the latest install instructions.
Not the same as the docs MCP server. Mintlify also hosts an MCP server for this documentation at https://docs.fapihub.com/mcp. It lets AI tools search these docs; it doesn’t process images. To edit images, use the FAPIHub MCP server above.