MCP server
Flux 2 MCP
RunAPI MCP server for Flux 2: create tasks, poll status, check pricing.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.2
- Listing updated
- 6 days ago
About Flux 2 MCP
Flux 2 MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add flux-2-mcp --env RUNAPI_API_KEY='<RUNAPI_API_KEY>' -- npx -y @runapi.ai/flux-2-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"flux-2-mcp": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/flux-2-mcp"
],
"env": {
"RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"flux-2-mcp": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/flux-2-mcp"
],
"env": {
"RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"flux-2-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@runapi.ai/flux-2-mcp"
],
"env": {
"RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"flux-2-mcp": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/flux-2-mcp"
],
"env": {
"RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"flux-2-mcp": {
"command": "npx",
"args": [
"-y",
"@runapi.ai/flux-2-mcp"
],
"env": {
"RUNAPI_API_KEY": "<RUNAPI_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
RUNAPI_API_KEYOptional RunAPI API key for headless hosts. Interactive MCP hosts can use the login tool, which writes shared RunAPI config.
Pricing
Open source
Flux 2 MCP FAQ
Is Flux 2 MCP free?
Yes. Flux 2 MCP is open source, so you can use and self-host it for free.
How do I add Flux 2 MCP to Claude Code?
Run this command in your terminal: claude mcp add flux-2-mcp --env RUNAPI_API_KEY='<RUNAPI_API_KEY>' -- npx -y @runapi.ai/flux-2-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.