Bench Studio MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bench Studio MCP Servergenerate a photorealistic image of a mountain lake"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bench Studio
Stop renting the wrapper. Own the creative layer.
A local-first creative studio for images, videos, websites, designed PDFs, and AI-agent workflows.
Quick start Β· Tips Β· How it works in depth Β· What changed and why Β· Security

Bench Studio puts 73 curated image and video routes across 5 providers, prompt refinement, capability-aware controls, local file custody, and a transparent cost ledger behind one interface. The same system is available to Claude, Codex, Cursor, and other compatible clients through MCP.
Your keys stay server-side on your machine. Your prompts are editable before you spend. Your outputs are mirrored locally. Your costs are recorded in real units instead of disappearing into mystery credits.
This is the sanitized public distribution. It ships with no generation history, uploads, private database, personal paths, credentials, or local build artifacts. Your archive begins empty.
π Guia de uso
Guia completo (landing + passo a passo): https://inematds.github.io/bench-studio-en/guia/
Related MCP server: omnicinema-mcp
Why this exists
Most creative AI products combine five useful piecesβmodel access, prompt polish, routing, storage, and billingβthen hide the seams behind a monthly plan. Bench keeps the convenience while making every seam inspectable.
Instead of⦠| Bench gives you⦠|
One provider's model roadmap | A curated registry you can add to or replace |
A generic upload box | Controls derived from each endpoint's accepted inputs |
An invisible prompt rewrite | An editable model-specific draft before submission |
Abstract credits | A preflight estimate and recorded spend metadata |
Outputs trapped in an account gallery | Local mirrored files and durable metadata |
A UI-only workflow | The same capabilities through the UI and MCP |
Waiting for the next feature | Source you can inspect, change, and extend |
Bench does not own the underlying models. It gives you ownership of the portable layer that connects your ideas, tools, providers, files, and costs.
Run it in three minutes
What you need
Required
Node.js 22.5+; Node 24 recommended, because Bench uses
node:sqlite.npm.
That is the whole list. Every provider is optional and degrades on its own: a missing key makes those models show as unavailable, with the reason and how to fix it β the studio still starts. Bring at least one of these to generate anything:
Provider | Models | Cost | What you need |
37 | dollars, live pricing |
| |
26 | plan credits |
| |
4 | zero |
| |
4 | credits |
| |
2 | zero (your GPU) | a running local server |
Optional, but worth it
A Google AI Studio or OpenRouter key for prompt refinement. Without any refiner your prompt is sent raw β which Agnes rejects, because it requires English.
Google Chrome, for PDF printing and visual preflight.
A signed-in Codex or Claude Code, for agent-driven website and document builds.
1. Clone and install
git clone https://github.com/inematds/bench-studio-en.git
cd bench-studio-en
npm install2. Add server-side credentials
cp .env.example .envFill in whatever you have. .env.example documents all 19 variables β what each
one unlocks, how it bills, and where to create the key. Keys stay server-side and
are never sent to the browser; .env is gitignored and written with owner-only
permissions.
Reading order, highest first:
exported in your shell > .env in the project > ~/.envOr skip the file entirely: start the studio and use the Config button in
the top right. It shows every setting β present or missing, where the value came
from, and the last 4 characters β lets you test each provider, and writes .env
for you. For safety it only accepts writes from the machine running the studio.
3. Start the studio
npm run devOpen http://localhost:5200.
Service | Address |
Studio |
|
Local API |
|
Health and capability summary |
|
If either port is occupied:
PORT=8790 BENCH_API_PORT=8790 BENCH_WEB_PORT=5201 npm run devReaching it from another machine
Both ports bind to loopback, so a fresh install answers nobody but you. Opening that up means three things β the interface listening on every interface, a firewall rule, and remembering to undo both. One command does all three:
./scripts/remote.sh open # publish the interface on this machine's IP
./scripts/remote.sh status # open or closed, and with what protection
./scripts/remote.sh close # back to local access onlyopen prints the address to hand out, then tells you to restart with
npm run dev. close reverses exactly what open did β reading a state file
written at open time, not guessing β and leaves the SSH rule alone, because
deleting that is how people lock themselves out of their own server.
Two flags worth knowing:
./scripts/remote.sh open --ip 203.0.113.7 # only that address, not the internet
./scripts/remote.sh open --firewall # also enable ufw (SSH allowed first)open offers to set a password before it opens anything. Say yes and it
hands over to npm run set-password; press Enter β or answer n β and the
studio opens without one, which is the documented default. The offer is there
because of the asymmetry below: this is the last moment where setting a password
is one keystroke away.
The password cannot be set or changed from the other machine β not even after
you log in. POST /api/config/password answers 403 to anything that did not
come from loopback, session or no session, and the Config screen says so instead
of showing you a dead field. That rule is what stops whoever finds an open port
from setting a password of their own and locking you out of your own studio. So:
npm run set-password # on the machine running the studio, over SSH or at the keyboardWhat open deliberately does not do: publish the API. Port 8787 stays on
loopback (BENCH_API_HOST), so the endpoint that writes files and spends money
is reachable only through the interface, on the machine itself.
This is a test posture, not a deployment. The traffic is plain HTTP and readable in transit. For anything that stays up, read the next section.
Leaving it up safely
In rough order of what actually protects you:
Set a password, at install time. On a machine that will be reachable, make it part of the setup β
npm install, thennpm run set-password, then./scripts/remote.sh open. Doing it in that order means the studio is never open without one, and you never need the password screen you cannot use from the network anyway.Keep the API on loopback. The default.
BENCH_API_HOST=0.0.0.0is an opt-out you should have a reason for.Narrow who can reach it.
./scripts/remote.sh open --ip <your-ip>beats an open port. A Tailscale address beats both, and needs no port at all.Turn the firewall on.
./scripts/remote.sh open --firewallallows SSH first, then enables ufw. Also check your VPS provider's own firewall panel β it sits in front of ufw and answers to nobody on the machine.Terminate HTTPS in front. Point a domain at the machine and put nginx or Caddy in front with a Let's Encrypt certificate, proxying
/api,/media,/previews,/inputsand/projectsto127.0.0.1:8787and servingnpm run build'sdist/as the site. Then close 5200 entirely. If you do this, make the proxy sendX-Forwarded-For: the machine-only rule below depends on it.Run it as its own user, not root, under a systemd unit, with
.envat600β which is how the studio writes it.Close it when the test ends.
./scripts/remote.sh close. An exposure you forgot about is the one that costs you provider credits.
Tips that save you time and money
Start with the free routes. Agnes (4 models) and inemaimg (2, on your own GPU) cost nothing. In the Model catalog, the No cost switch turns exactly that group on. Use them to find the prompt that works, then spend on the model that renders it best.
Curate the catalog once. 73 models is a lot to scroll. Filter by provider,
then use "Disable those N" to hide what you will not use. Curation is a
preference, not a block: it hides models from the pickers but a Redo of an
old result still works. Deleting data/catalog-prefs.json restores the factory
state.
Refine before you spend. The refined prompt is editable before submission. Read it. It is the cheapest place to catch a misunderstanding β after you submit, the fix costs another run.
Keep two refiners configured. The chain is Gemini β OpenRouter β local Codex. With a single one, an exhausted quota takes the whole studio down: the prompt goes through raw, and Agnes rejects non-English with an error that looks like an Agnes problem but is not.
Redo instead of retyping. Every result carries the model, controls, refined prompt, original idea and attachments. Redo restores all of it, so you can tweak one thing without paying for a rewrite.
The same model can exist on two routes. Veo, Nano Banana, gpt-image and gemini-image appear via more than one provider β with different bills (dollars on fal, plan credits on Kling). The provider is shown next to the name in the picker; it is a real choice, not a duplicate.
Kling never auto-retries, on purpose. Every Kling job is charged, including failures. Nothing is resubmitted behind your back.
Watch disk, not CPU. Every file is mirrored locally because provider URLs expire β 24h on Kling, temporary on Agnes. Roughly 1.3 MB per image and 0.7β5 MB per video. The studio idles at 274 MB of RAM.
Building a website? Prefer an agent. Codex and Claude Code write the files themselves and fix their own mistakes. The model engines (local Qwen, OpenRouter) only return text, so they need no sandbox and cost nothing β but they need more supervision.
Point the builder at a reference you own. Set a site or PDF of yours in Config and the builder calibrates its finish against it β tokens, fonts, palette, radii. It never copies brand, copy, structure or files.
What you can make
Workspace | What it delivers |
Create | Images and videos with model-aware references, controls, editable prompt drafts, quotes, progress, and inline results. |
Model catalog | Curated text-to-image, image-editing, text-to-video, image-to-video, and reference-video routes. |
Results | A local archive containing the submitted prompt, model, provider URL, local file, and recorded cost. |
Websites | Original static sites with editable source, a local preview, and a downloadable bundle. |
Documents | Designed PDFs backed by editable HTML, Chromium printing, and overflow preflight. |
Connect | Machine-correct MCP configuration and a portable skill for compatible agents. |

The system in 30 seconds
flowchart LR
Idea["Your idea"] --> Client{"How do you want to work?"}
Client -->|Create manually| UI["React studio"]
Client -->|Delegate to an agent| MCP["MCP server"]
UI --> API["Local API"]
MCP --> API
API --> Prompt["Editable prompt refinement"]
API --> Router["Capability-aware router"]
API --> Quote["Quote and pricing engine"]
Prompt --> Router
Router --> Prov["fal Β· Kling Β· Agnes Β· kie Β· inemaimg"]
Prov --> Mirror["Local media mirror"]
API --> Projects["Website and PDF runner"]
Projects --> Archive["Inspectable project source"]
Quote --> Ledger[("Local SQLite ledger")]
Mirror --> Ledger
Archive --> LedgerThe browser never receives provider secrets. It talks to a local service that validates model-specific payloads, owns credentials, streams progress, mirrors artifacts, and records durable metadata.
Choose the right connection strategy
Bench uses an aggregator because one authentication and queue model is the practical way to support a large, interchangeable catalog. That is not the only valid architecture.
flowchart TB
Need{"What do you actually need?"}
Need -->|One stable model| Direct["Use its first-party API"]
Need -->|Many interchangeable models| Bench["Use Bench + an aggregator"]
Direct --> D1["Potentially lowest route price"]
Direct --> D2["One integration per provider"]
Direct --> D3["Best for a narrow workflow"]
Bench --> B1["One authentication and queue model"]
Bench --> B2["Consistent controls and records"]
Bench --> B3["Best for a flexible studio"]An aggregator may not always be the cheapest route. Bench makes that tradeoff explicit instead of calling it βzero markup.β
One request, from idea to receipt
sequenceDiagram
participant U as User or agent
participant B as Bench
participant R as Capability router
participant F as fal.ai
participant L as Local archive
U->>B: Describe the result
B->>R: Select a model and inspect accepted inputs
R-->>B: Controls, limits, and pricing unit
B-->>U: Editable prompt and preflight estimate
U->>B: Approve generation
B->>F: Validated model-specific payload
F-->>B: Queue progress and output URL
B->>L: Mirror media and write metadata
B-->>U: Local result, provider result, and recorded costBench records what was submitted. It never claims an attached reference influenced an output merely because an API accepted the field; creative fidelity still requires human review.
Model intelligence, not a dropdown full of URLs
Every endpoint has different assumptions. Some accept one image, some accept a list, some require a start frame, and others accept no references. Bench keeps discovery separate from production admission:
flowchart LR
Catalog["Live provider catalog"] --> Discover["Discovery snapshot"]
Discover --> Evidence["Schema and pricing evidence"]
Evidence --> Review{"Safe for production?"}
Review -->|Not yet| Observe["Keep observable"]
Review -->|Yes| Registry["Curated registry"]
Registry --> UI["Relevant UI controls"]
Registry --> MCP["Validated MCP inputs"]This prevents a newly published, renamed, or underspecified model from silently breaking a paid workflow.
Prompt refinement stays visible
Write a normal creative request.
Bench adds the structure the selected model is likely to understand.
Review the rewritten prompt as an editable draft.
Change or reject it before spending anything.
Store the final submitted prompt with the result.
If no Google key is configured, the original prompt passes through unchanged and the interface reports that refinement is disabled.
Cost transparency without marketing math
Before submission, Bench estimates cost from the model's pricing unit and the requested parameters. After completion, it records the billed amount when the provider exposes sufficient receipt data.
flowchart LR
Params["Model + duration + resolution + quantity"] --> Estimate["Preflight estimate"]
Estimate --> Approval["Explicit approval"]
Approval --> Run["Provider execution"]
Run --> Record["Recorded cost + confidence"]Pricing changes. Estimates are not guarantees. Bench distinguishes estimated, metered, and recorded values instead of presenting all three as the same fact.
Your local data boundary
The repository starts with no data/ directory. Bench creates it on first run:
data/
βββ bench.db # generations, assets, spend, and projects
βββ inputs/ # mirrored uploads
βββ outputs/ # mirrored generations
βββ previews/ # local video posters
βββ projects/ # website and document source filesThe entire directory is ignored by Git. Deleting a result removes its local database record and mirrored files. It does not claim to delete copies retained by an external model provider.
flowchart LR
Browser["Browser UI\nno provider keys"] --> Local["Loopback API\nkeys + validation"]
Agent["Local MCP client"] --> Local
Local --> Provider["External model provider"]
Local --> Disk["Local SQLite + files"]Use it from Claude, Codex, or Cursor
Start Bench, open Connect, choose your client, and copy the generated configuration. Bench inserts the correct absolute path for the current machine; the repository itself ships with no user's home directory.
The MCP server exposes eleven focused tools for:
discovering models and inspecting capability contracts;
uploading local reference media;
generating images and videos;
reading results, previews, and spend;
creating and polling website or document projects;
retrieving local project artifacts.
The bundled skill in integrations/skills/bench-studio/ provides judgment and
workflow guidance. MCP provides the live execution layer.
Project map
bench-studio-public/
βββ src/ # React interface
βββ server/
β βββ server.mjs # loopback API and orchestration
β βββ mcp.mjs # stdio MCP server
β βββ registry.json # curated production roster
β βββ capabilities.json # accepted-input contracts
β βββ profiles/ # prompt and pricing intelligence
β βββ mcp-app/ # embedded MCP interface
βββ integrations/
β βββ skills/bench-studio/ # portable agent workflow skill
β βββ macos/ # optional launch-agent templates
βββ tests/ # contracts, persistence, API, a11y, and E2E
βββ docs/ # public README media
βββ .env.example # placeholders only
βββ package.jsonDocumentation
Document | What it covers |
How the system works inside: the provider contract, the traps measured per provider, cost classes, availability vs curation, the refine chain, the builder, and the security model | |
Remote access and VPS setup: why the password comes before the port, what | |
Everything built on top of the original kit, and every bug found β separating the ones that were already there from the ones introduced along the way | |
Version by version | |
All 19 settings, what each unlocks, and where to get the key | |
Threat model and reporting |
Useful commands
Command | Purpose |
| Start the local API and web interface. |
| Build the production web application. |
| Rebuild the curated model registry. |
| Rebuild the capability manifest. |
| Refresh provider discovery and pricing evidence. |
| Start the stdio MCP server. |
| Set or change the studio password ( |
| Publish the interface on this machine's IP, firewall rule included. |
| Undo it β back to local access only. |
| Open or closed, on which port, with or without a password. |
| Run API, persistence, and model-contract tests. |
| Smoke-test MCP discovery and media behavior. |
| Run browser journeys and accessibility checks (needs |
| Run the complete release gate. |
Security and privacy
Default posture. Both ports bind to loopback and there is no password β talking to your own machine should not require one. Nothing leaves your machine except the calls you make to the providers you configured.
Keys. Read server-side, never returned to the UI. The Config screen shows
presence, origin and the last 4 characters β never the value. .env is written
with owner-only permissions (600) and is gitignored.
Optional password. Set BENCH_PASSWORD and the API requires a session:
npm run set-password # asks for it, without echoing
npm run set-password -- --removeStored as a scrypt hash, so nobody reads your password out of the file. Setting
or changing it signs everyone else out immediately. Forgot it? Delete the line
from .env and restart β that is the recovery path, on purpose, because whoever
has that file already has the keys inside it.
The password protects the API and your generated files. The interface shell is still served to anyone who reaches the port, but without a session it shows nothing. Hiding the shell too is a reverse proxy's job, not this process's.
Writing settings is machine-only. Even with a valid session, POST to the
config endpoints is refused from the network β changing keys requires being at
the machine. This survives the dev proxy: the API only trusts a forwarded origin
when the socket is already loopback, so a request from the network cannot forge
one.
Exposing it. ./scripts/remote.sh open publishes the interface and opens the
port; close undoes both. See Reaching it from another
machine and Leaving it up
safely. Prefer Tailscale or a password-protected reverse
proxy over an open port.
Generated media may still be retained by an external provider according to that provider's terms.
Website and document creation can invoke a locally authenticated coding agent. Review generated source before deploying it.
Read SECURITY.md before exposing, modifying, or redistributing the service.
Honest boundaries
Bench is a local, single-user toolβnot a hosted multi-tenant SaaS product.
The registry is curated intentionally; catalog presence does not guarantee production admission.
Accepted inputs do not guarantee creative fidelity.
Website output is static by design.
PDF creation depends on a local Chrome installation.
Model availability and pricing can change after a catalog sync.
Owning the layer means maintaining a small piece of software.
Release confidence
The release gate covers production builds, API and database contracts, MCP discovery, browser journeys, accessibility, responsive containment, failure states, model transitions, and visual snapshots.
npm run test:releaseLicense
Bench Studio Public is available under the MIT License.
The models do the heavy lifting. Bench makes the layer around them visibleβand yours.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceLocal-first MCP image generation server supporting OpenAI and Google Gemini models for generating and editing images, with an embedded interactive studio.201ISC
- Alicense-qualityCmaintenanceLocal MCP server that plans, generates, and assembles production assets (images, audio, video) through multi-agent personas and official APIs, with free-tier budget guard.MIT
- AlicenseBqualityCmaintenanceA brand-neutral, self-hostable MCP server for generating and editing images using natural language, with support for reference images and multiple providers.1MIT
- Alicense-qualityBmaintenanceMCP server for OfflineCreator Studio that enables image and video generation, including model listing, credit management, generation tasks, and output downloads.530MIT
Related MCP Connectors
MCP server for Luma Dream Machine AI video generation
MCP server for Google Veo AI video generation
MCP server for Wan AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/inematds/bench-studio-en'
If you have feedback or need assistance with the MCP directory API, please join our Discord server