Server data from the Official MCP Registry
BPMN 2.0 editor with an MCP server: agents draw, check and export diagrams live in your browser.
About
BPMN 2.0 editor with an MCP server: agents draw, check and export diagrams live in your browser.
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
7 files analyzed · No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.

BPMN-Pilot
English | Français

Model every process of your context in seconds, from a few exchanges with your AI agent.
Connected to an agent and everything it knows (mail, wiki, document base, RAG, knowledge graph or "second brain"), BPMN-Pilot turns plain conversations into BPMN diagrams: the agent finds the processes, the editor draws and checks them, and you review the result. No more hours spent on the BPMN structure and on drawing by hand.
Draw a purchase request: the employee enters the request, their manager accepts or rejects it. If accepted, purchasing orders from the supplier, then accounting pays the invoice. If rejected, the employee is told.
One message, one pass. Lanes, decision, message flows to the supplier pool, then the checks of the result.
BPMN-Pilot is a BPMN 2.0 editor in the browser (bpmn-js), in English and French:
- Connect an agent through MCP (online or Docker), such as Claude Desktop, Claude Code, Cursor or GitHub Copilot in VS Code. It drives the editor open in your browser, or, in the optional headless mode of the Docker version, an invisible one.
- Ask the built-in AI co-pilot (online or Docker): describe a process or attach your documents (Word, Excel, PDF, emails…), and it draws it.
- Draw by hand, with the bpmn-js modeler and its extensions.
The same conversation also styles the diagram (colors, fonts, names and types, on as many elements at once as you like) and each answer undoes in one click. You are the pilot, hence the name: the AI co-pilot and your agents prepare the work, and you keep the final say on every diagram.
Two ways to use it, your choice:
Online: bpmn.leylines.fr
Nothing to install, no account: open the link and draw. The AI co-pilot works with your own API key, your MCP agent connects through a small local relay, and your diagrams stay in your browser. Learn more
With Docker: ghcr.io/leylines-prism/bpmn-pilot
The same editor, at home, on your machine or your server, for data sovereignty: API keys on the server, saving on the server, and a built-in MCP server for your agents, even with no tab open. Run it
To draw, nothing more. The palette, the context pad and the AI co-pilot are enough for a readable process diagram, with no knowledge of BPMN. Then come:
Presentation (button at the top right of the canvas): the diagram alone, full screen and read-only, to walk a meeting through a process. A pointer menu combines a laser pointer, a highlight of the hovered element and its flows, a ripple on click and a cursor that hides when still (keys 1 to 4). In Expert mode, the token simulation runs there too.
Element documentation: write it in Markdown with a live preview, start from a template per element type, dictate it on the device, or let the AI co-pilot draft it from the diagram. Markers show documented elements with a preview on hover, search covers the documentation, a click in presentation mode shows the element's sheet, and the Export menu produces procedure sheets (PDF or Markdown), one per activity in the order of the flow (see the help).
Checks on every co-pilot answer: a review of the request before drawing (ambiguities, missing points), then seven checks (XML, BPMN 2.0 metamodel, references and scopes, diagram interchange, reimport, bpmnlint, readable drawing), with automatic correction, and a comparison of the diagram with the request, word for word.
Expert mode, to test a model. None of what follows is needed to draw. The Expert button of the toolbar turns it on, and Choose modules… turns on only the functions you use: the editor stays uncluttered for everyone else (see the dedicated help section):
- Token simulation with a heatmap: run as many instances as you like at once, following branch probabilities, and see which paths are taken, never reached, or looped through.
- Process goals on end events and activities (at least 80 % of requests accepted, at most 15 reworks per 100), checked against the token simulation in the report.
- Process report as PDF, Markdown or Word: key figures, findings by level, improvement areas, end events, activities by lane, RACI matrix.
- Event log analysis (process mining): load a CSV or XES export from your ERP, CRM or ticketing tool and see on the diagram what actually happens: passes, waits and durations, bottlenecks, cases that deviate from the model. The log is read in the browser and sent nowhere. Without a diagram, draw a first version of the process from the log. A fictitious example of 412 orders is included.
- AI potential by activity: automatable, AI-assisted or human, with the reason and the safeguard, rated by the co-pilot or by hand, and listed in the report.
- Risks, controls and compliance: risks and controls for each activity, regulatory references (GDPR, ISO 9001, AI Act…), and a process identity (owner, version, status, scope) at the top of the report and the procedure sheets. The report adds a risk and control table and a compliance matrix.
- User stories and acceptance criteria for each activity, written by hand or by the co-pilot, exported as a Markdown backlog for a tracking tool.
- BPMN for Camunda 8 or 7: platform set, executable process, gateway conditions in FEEL or JUEL, user tasks with their assignee, then a check of the file against Camunda's own rules for 8.10 or 7.24 (elements not supported, settings to complete in Camunda Modeler).
- DMN decision tables: each business rule task links to an editable decision
table and its requirements diagram (dmn-js), stored in the .bpmn with the Camunda 8 link (
zeebe:calledDecision), checked for overlaps and gaps, and written by the co-pilot or an MCP agent on request. - Task forms: each user task or start event gets a form-js form, stored in the .bpmn with the Camunda 8 link
(
zeebe:formDefinition), a check that every branch reads data a form filled in, and the forms answered during the token simulation, where the answers pick the branch.
On an internal purchase process with four lanes:
[!TIP] The online version, bpmn.leylines.fr, is safe to use as is. It is only static files served by GitHub Pages: there is no application server, no account and no database behind it.
- Your diagrams stay in your browser. They are saved in the browser's own storage, and the files you open or download never leave your computer.
- Your API keys stay in your browser too. They are sent only to the AI provider you chose, straight from your browser, never to a server of this project.
- When you use the co-pilot, your message and the diagram go straight to that provider, under its own terms. Nothing goes through a middleman.
- The only other request is anonymous usage statistics without cookies, which never contain a diagram, a message or a key.
Still, use an API key reserved for this editor, one that expires on its own and has a spending cap. What is protected, what is not, and how to check it yourself: Your data and API keys in the online version.
The MCP connection goes further than drawing on screen. An agent brings its memory, its context and everything it is connected to, and uses BPMN diagrams in its own workflows:
- it loads a diagram from BPMN XML, or draws one;
- it checks it against the BPMN rules;
- it gets it back as BPMN XML or a PNG image, or exports it as a BPMN, SVG, PNG or PDF file (into the server's exports folder in the Docker version, back to the agent online), for the next step: a document, a ticket, a repository.
The tools run in an editor tab, which only needs to stay open.
[!WARNING] Docker version only: not made to be exposed on the internet, by design. This concerns the copy you run yourself, not the online version above. Meant for your machine or a private network, the Docker version has no login. The risk stays limited, but publishing it means a service open to anyone without authentication: your API keys can be used or stolen, and the diagrams stored in the container (the BPMN files of "My diagrams") can be read or deleted. By default it only answers on this machine (
127.0.0.1). Anyone who reaches the server is treated as authorized: the network is the trust boundary, andMCP_TOKENonly protects/mcp. For a small team, use a private network with access rules (ACL); for remote access, a VPN or an encrypted tunnel limited to authorized people and devices. There is no guest access. Any exposure to the internet is at your own risk.
Why BPMN rather than a flowchart?
BPMN 2.0 (Business Process Model and Notation) is the international standard ISO/IEC 19510, published by the OMG. A diagram made here reads the same in any compliant editor or engine, and the .bpmn file opens there.
General drawing tools such as draw.io, Lucidchart or Visio draw boxes and arrows. A shape means what its author meant, and every team invents its own conventions. BPMN gives each symbol a defined meaning:
- Who does what: pools for organisations, lanes for roles, message flows for what they exchange.
- What triggers and what waits: start, timer, message and error events, and events attached to a task for deadlines and exceptions.
- How paths split and join: exclusive (one branch), parallel (all of them) and inclusive (some) gateways, each with its own rule.
- A file that tools understand: the .bpmn file describes the process, not a picture of it. It can be checked, simulated, turned into a report, read and written by an AI agent, and run by a workflow engine. A flowchart image allows none of this.
- No lock-in: the same file opens in any compliant editor, today and in ten years.
To learn the notation:
- Camunda BPMN reference: each symbol and its use.
- Camunda Academy: online courses on BPMN modeling.
- YouTube channel @mooccartopros4603: video lessons (in French).
- BPMN 2.0 poster (PDF): every symbol on one page.
Use it online
The editor is open to everyone at https://bpmn.leylines.fr (GitHub Pages): no account, nothing to install, just a browser. Its user guide explains how to draw, save, export, use the AI co-pilot and connect your own agent through MCP. The Help (?) button in the toolbar opens it too.
It follows the released versions (the latest vX.Y.Z tag) and shows its version in the bottom left corner of the canvas and of the user guide.
For the AI co-pilot, each visitor enters their own API key, which stays in their browser. Compared with the Docker version, there is no saving on a server and no headless mode, and some providers (OpenAI) refuse calls from a web page. The "Privacy" link on the page says what leaves the browser, and Your data and API keys in the online version gives the details.
Connect an agent to the online version
Your own AI agent, installed on your computer, drives the online editor through a small local relay,
bpmn-pilot-mcp, that the agent starts itself. The relay only passes messages between the agent
and the tab, on 127.0.0.1: the diagram goes through no other server, and the relay writes nothing
to disk.
It is not the AI co-pilot. The co-pilot is built into the page and calls the provider with the API key you enter in Options. The MCP agent is your own assistant, with its own subscription, model and context: no API key is entered in the page.
- Install the relay in your agent:
- Claude Desktop: download
bpmn-pilot.mcpbfrom the latest release and double-click it. Claude Desktop runs the relay itself: no Node.js to install. - Claude Code:
claude mcp add bpmn-pilot -- npx -y bpmn-pilot-mcp@1.5.1, or the plugin, which adds a skill that reviews the request, draws, checks and compares the drawing with the request:claude plugin marketplace add Leylines-Prism/bpmn-pilot && claude plugin install bpmn-pilot@bpmn-pilot - Cursor, VS Code and other MCP clients:
{ "command": "npx", "args": ["-y", "bpmn-pilot-mcp@1.5.1"] }in their MCP settings (Node.js 20 or later).
- Claude Desktop: download
- In the editor, open the AI co-pilot, pick MCP agent, click the MCP state and turn on Local agent. Until then, the page opens no connection to your computer. Chrome and Edge ask once to allow access to the local network: accept.
- Ask your agent: "Describe the diagram open in BPMN Pilot."
The agent gets the same tools and prompts as with the Docker version. An export comes back to the agent, or waits in the page behind the Download button. Safari blocks the connection from an HTTPS page to the computer: use Chrome, Edge or Firefox. Details in relay/README.md.
One AI at a time. The AI co-pilot works either with an API key (you write in its panel) or with your MCP agent (you talk to the agent in its own window), picked at the top of its panel. The other way is turned off: with the agent, the panel's chat is off; with the API key, the agent's calls are refused with a message that tells it why. Two AIs never edit the diagram at the same time. Online, the API key is the default and turning on Local agent picks the agent. In Docker, the MCP agent is the default. With the headless mode, picking API key in your tab sends the agent to the invisible tab: each AI then works on its own diagram.
Not for web assistants. MCP here is for agents installed on your computer or your network (Claude Desktop, Claude Code, Cursor, GitHub Copilot in VS Code…). Assistants used in a browser tab (claude.ai, ChatGPT, Le Chat…) run on their vendor's servers: they cannot reach the local relay, nor a private Docker server. Use their desktop app instead.
The stable page measures its audience anonymously, without cookies: visits (help pages included), referrers, app version and the use of each function (diagram created, opened or exported,
expert mode, installation and opening as a PWA, simulation, heatmap, event log analysis, layout, comparison, co-pilot opened or used, provider connected, attached file types,
error classes, feedback, prompt examples copied, GitHub and support links, active time by range). No third-party script is loaded: the page sends
these measurements itself (src/analytics.js), never the content of diagrams,
messages or API keys. "Do Not Track" and "Global Privacy Control" turn measurement off, and a
flag in the browser storage excludes your own visits (see src/analytics.js). Neither the
Docker image nor npm run dev measure anything. The measurement is configured according to the
recommendations of the CNIL (the French data protection authority, page in French) for audience measurement exempt from consent.
Install it on your device (PWA)
The online version is a PWA (Progressive Web App), with a web app manifest. Chrome and Edge (computer and Android) offer to install it: Install button in the toolbar, or icon at the right of the address bar. On iPhone and iPad: Share, Add to Home Screen. In Safari on a Mac: File, Add to Dock. Firefox on a computer does not support installing PWAs. The PWA opens in its own window.
After a first visit, the editor and its user guide also work offline, installed or not: a service worker (src/pwa/sw.js) caches the site's files (Cache API). It handles only requests to the site itself: calls to AI providers and audience measurement never go through it. The AI co-pilot needs a connection to reach its provider. A new version is announced by a banner with a Reload button: nothing reloads on its own. On iPhone and iPad, the installed PWA has its own storage (localStorage and IndexedDB), separate from Safari: to move a diagram from one to the other, use a .bpmn file.
Run it with Docker
You need Docker with Docker Compose. Two images are published on the GitHub Container Registry, for amd64 and arm64:
ghcr.io/leylines-prism/bpmn-pilot: the editor.ghcr.io/leylines-prism/bpmn-pilot-mcp: its server (AI co-pilot, MCP for agents, "My diagrams").
From the command line
mkdir bpmn-pilot && cd bpmn-pilot
curl -fsSLO https://raw.githubusercontent.com/Leylines-Prism/bpmn-pilot/main/docker-compose.image.yml
docker compose -f docker-compose.image.yml up -d
Then open http://localhost:8080. No curl? wget https://raw.githubusercontent.com/Leylines-Prism/bpmn-pilot/main/docker-compose.image.yml does the same.
-
AI co-pilot: create a
.envfile in the same folder with your API key (Anthropic, OpenAI, Mistral, or a local Ollama), for exampleANTHROPIC_API_KEY=sk-ant-..., then run theup -dcommand again. All the variables are listed in mcp/.env.example. You can also enter a key in the co-pilot's Options window. Without a key, the editor works; only the co-pilot is off. -
Your files (My diagrams on the server, exports) are in the
bpmn-datafolder, next todocker-compose.image.yml: see Your files. -
Showcase page: the logo in the toolbar opens a showcase page with the author's logo and wallpapers. To turn it off, add
SHOWCASE=offto the.envfile (or the stack's environment variables), then run theup -dcommand again. The logo then opens the Feedback window. -
Update: download
docker-compose.image.ymlagain with the samecurlcommand, so that you also get the new services and settings (your.envfile andbpmn-datafolder stay as they are). To stay on a given version instead, change the version number of the three image lines (see the versions). Theedgetag follows the development branch (main) at each change: useful for testing, not for daily use. Then:docker compose -f docker-compose.image.yml pull docker compose -f docker-compose.image.yml up -d
With a container manager
In a tool that deploys Compose stacks (Portainer, for example), create a stack, paste the content of
docker-compose.image.yml, and enter the settings below
(ANTHROPIC_API_KEY…) as the stack's environment variables. Set BPMN_DATA_DIR to an absolute path
on the host, the folder where you will find your files.
From the source code
To change the code, or to build the images yourself:
git clone https://github.com/Leylines-Prism/bpmn-pilot.git
cd bpmn-pilot
docker compose up -d --build
Here the API keys go in mcp/.env (copy mcp/.env.example), the other settings in a .env file
next to docker-compose.yml. Update: git pull, then docker compose up -d --build.
Install it on your device (PWA)
On http://localhost:8080, Chrome and Edge offer to install the editor as a PWA (icon in the
address bar, or menu > Install). It opens in its own window, which you can keep open for an agent
to draw in. Browsers offer installation only over HTTPS or on localhost: from another machine, use
an HTTPS address (see Reach it from other machines). The Docker
version has no service worker and does not work offline: the AI co-pilot, the MCP server and saved diagrams need the server.
Your files (Docker version)
Everything the server keeps is in one folder, bpmn-data, next to the compose file. Open it with your
file explorer to get your files back:
bpmn-data/diagrams: the diagrams saved on the server with "My diagrams", one.bpmnfile per diagram, named after it (Order process.bpmn). Renaming a diagram in the editor renames its file. Two diagrams with the same name giveOrder process.bpmnandOrder process (2).bpmn. The hidden.index.jsonfile links the files to the editor: leave it in place. A.bpmnfile you copy into this folder appears in My diagrams, under its file name (10 MB at most).bpmn-data/exports: the exports (.bpmn, .xml, SVG, PNG, PDF), when the Destination at the top of the Export menu is "Server" or "Both". "Download", the default, only downloads them in the browser, as before. An export never replaces a file: a secondOrder process.pdfbecomesOrder process (2).pdf. "XML code to copy" and "Print" do not make files and are not concerned.
Where the folder is:
- It is created at the first start, next to the compose file, on Docker Desktop (Windows, macOS)
and on Linux alike. A short
data-initservice prepares it before the server starts (createsdiagrams/andexports/, gives them to the server's user), then stops: its "Exited (0)" state is expected. - Linux: the server runs as user 1000, without root, so that the files belong to you. If
id -uandid -ggive other numbers, addPUID=andPGID=with these numbers to the.envfile. If the server still cannot write in the folder, it says so in its log at startup (docker compose logs mcp) and in the error of the export, with the folder in question. - Elsewhere: set
BPMN_DATA_DIRto the path of another folder. In a container manager, always give an absolute path, and paste the latestdocker-compose.image.yml: an older copy has nodata-initservice. - SELinux (Fedora, RHEL…): if the server is refused access even with the right owner, add
:zafter the mount (${BPMN_DATA_DIR:-./bpmn-data}:/data:z), only for a folder dedicated to BPMN Pilot.
Security: the files are readable by their owner and group only (0640, folders 0750). The server runs on a read-only file system except for this folder, without any Linux capability and without privilege escalation. It only accepts the five export formats, checks that each file matches its format, takes 20 MB at most per export, and cleans file names (no folder, no hidden file, no name reserved by Windows).
If something fails (Docker version)
- The server log says what it cannot do at startup:
docker compose -f docker-compose.image.yml logs mcp(without-f …from the source code, or the container's log in your container manager). - An export to the server, or a save in My diagrams, fails: the server cannot write to its data
folder, and the error names it. The
data-initservice prepares the folder at each start; if the error stays, the folder belongs to another user thanPUID:PGID(1000:1000 by default). - An agent gets a 401 error "MCP is closed": the editor is served under a name other than
localhost without
MCP_TOKEN. Set the token (see Reach it from other machines). - What can my model do?
docker compose -f docker-compose.image.yml exec mcp node mcp/check-providers.jstries each model set on the server with real calls: reply, tool call, image, PDF. It tells a setting error (key, address, model name, rejected by the provider) from a limit of the model (no tool calls, no vision, no PDF), for a few hundred tokens per model. It does not cover the providers typed in the Options window, which stay in the browser.
AI providers: tests welcome
Anthropic (Claude Opus, Sonnet and Haiku 5.5) is checked with real calls: reply, tool calls, images and PDFs. OpenAI, Mistral, xAI, Ollama and OpenAI-compatible servers follow their published APIs, but the maintainers have no key to check them. If you use one of them, a short report helps a lot: run the check command (see If something fails), then open an issue with the AI provider test report form. Never paste a key.
Reach it from other machines
The container serves plain HTTP on 127.0.0.1:8080, for this machine only. To use it from your
other devices, keep it on a private network: your own local network, or a VPN or an encrypted
tunnel that gives it an HTTPS address only your machines can reach, never a port open to the
internet. Then tell
the editor its new name, in the .env file next to the Compose file, and add a token
MCP_TOKEN=... (the "Connect an agent" window generates one; from the source code, it goes in
mcp/.env). The token is required here: as soon as MCP_ALLOWED_HOSTS holds a name other than
localhost, /mcp answers 401 until MCP_TOKEN is set. MCP_AUTH=off opens it without a token, for
a network you trust or a proxy that already authenticates /mcp:
BPMN_EDITOR_ORIGINS=https://bpmn.example.com
MCP_ALLOWED_HOSTS=bpmn.example.com
Run docker compose up -d again. Other proxies work too: they must pass the Host header and allow
WebSocket on /bridge (details in mcp/README.md).
On the internet, at your own risk
This project is not designed or tested to be exposed on the internet, and gives no guarantee if you
do it. If you still choose to, put a login in front of the pages and set the token. Here is an
example with Caddy, which gets the certificate for your domain on its
own. Point the domain's DNS to the machine, set the two variables and the token above, then use
this Caddyfile:
bpmn.example.com {
# A login for the pages. /mcp is left out: agents use MCP_TOKEN instead.
@pages not path /mcp
basic_auth @pages {
alice <hash given by: caddy hash-password>
}
reverse_proxy 127.0.0.1:8080
}
Without a proxy login, anyone who finds the address can use the editor and your API keys. A login and a token reduce the risk, they do not remove it. Cloudflare Tunnel with Cloudflare Access is another way to put a login in front of it, with no open port.
Connect an agent to the Docker version (MCP)
The Docker version has its MCP server built in: no relay to install next to the agent. As online, the MCP agent is your own assistant, not the AI co-pilot of the page. Open the AI co-pilot and pick MCP agent at the top of its panel (the default in Docker), and use an agent installed on your computer or network: web assistants (claude.ai, ChatGPT…) cannot reach the server.
In that panel, click the MCP state. The "Connect an agent" window gives the address to use
(http://localhost:8080/mcp, or https://your-domain/mcp), and the setting to paste for Claude
Code, Claude Desktop, GitHub Copilot in VS Code, Cursor or another MCP client. The agent draws in the editor tab used last, so keep it open.
With Claude Code, the bpmn-pilot-docker plugin sets up the same connection and adds a modeling skill:
claude plugin marketplace add Leylines-Prism/bpmn-pilot && claude plugin install bpmn-pilot-docker@bpmn-pilot
asks for the server address and the token (details in claude-plugin/README.md).
The agent reads and draws the diagram, tidies it up (layout_diagram), moves or duplicates specific
shapes (move_elements, duplicate_elements), and backs out of a wrong call with undo and redo, like
Ctrl+Z and Ctrl+Y. Before a large rework, it can save a named version (save_version). It sets timers in ISO 8601 and gets documents in English or French. It fills in the expert fields (RACI, AI potential, risks and controls, user stories, process
identity), and export_diagram produces every file of the Export menu: report, procedure sheets, HTML
documentation page, RACI matrix, user stories, decisions and BPMN for Camunda. Twelve MCP prompts, five of them
for Expert mode, are ready to pick in the agent. The full list of the 34 tools is in mcp/README.md.
A token protects this access: the same window generates one and tells you where to put it. It is
optional on localhost, and required as soon as the editor is served under another name (see
Reach it from other machines). Without it, the window says that
MCP is closed and the agent gets a 401 error that names MCP_TOKEN.
Without an open browser (headless mode)
An advanced, optional mode, off by default. The agent draws, checks, exports and reads the report with no editor tab open: useful for an agent that models, in one run, the processes described in your documents, then hands you the result to review.
To turn it on, use docker-compose.headless.yml instead of
docker-compose.image.yml. It is the same file with a fourth service, renderer: a headless
Chromium (image bpmn-pilot-renderer, about 160 MB to download) that the server drives over the
DevTools protocol. Same .env, same data folder.
docker compose -f docker-compose.headless.yml up -d
How it works:
- When an agent calls a tool and no editor tab is connected, the server opens the editor in an
invisible tab of
renderer. All tools work there exactly as in a real tab, images and PDF included. The tab closes afterHEADLESS_IDLE_SECONDSwithout a call (300 by default), and the next one picks the diagram up where it was. - Each diagram drawn this way is saved in My diagrams on the server (
bpmn-data/diagrams), under a name such asAgent 2026-11-28 14h05. Nothing stays only in memory. - An open tab always comes first. But a series of calls started without a tab stays in the invisible tab, even if you open the editor meanwhile: the agent never switches by itself to the diagram in front of you. A banner at the top of the canvas announces the agent's diagram, and Open loads it in your tab: the agent's next calls then arrive there. Nothing is merged: if your diagram has unsaved changes, the editor asks first.
- With
returnFile,export_diagramreturns the file to the agent (PNG as an image, SVG and BPMN as text, PDF as an embedded resource), with or without an open tab.
Security: renderer sits on an internal Docker network with no internet access, publishes no port,
and sees neither the API keys nor the data folder. It only opens the editor of the same compose
file. Chromium runs as a non-root user, with no Linux capability and a read-only file system. It
uses 300 to 600 MB of memory while a tab is open (capped by HEADLESS_MEMORY, 1 GB by default). The
MCP token rules above still apply.
The container watches Chromium: if its DevTools interface does not answer within 30 seconds of
starting, or stops answering, the container stops and Docker restarts it. The mcp service starts
once renderer is healthy.
Check it: docker compose -f docker-compose.headless.yml exec mcp wget -qO- http://localhost:3333/healthz/headless
answers "browser": true when the server reaches Chromium.
Where your API keys are kept
In the Docker version, the safest place is the server: the .env file next to
docker-compose.image.yml (or mcp/.env from the source code). The key stays on the server and never
reaches the browser.
Keys typed in the browser are off by default. The co-pilot's Options window only offers "Server
models", those of the keys and models in the compose (ANTHROPIC_API_KEY, MISTRAL_API_KEY,
OPENAI_API_KEY, OPENAI_MODELS…). The server refuses any key or provider address sent by a page,
so no API key stays in a browser. To let users pick their own providers, set BROWSER_KEYS=on. Keys
typed in Options are then kept in the browser as below, and sent with each message to your server,
which passes them on to the provider without storing them.
Addresses the server agrees to reach for a page (with BROWSER_KEYS=on). The server calls the
provider address set in Options: it only reaches public providers over HTTPS. The machine itself,
the local network and the other containers (127.0.0.1, 10.x, 172.16-31.x, 192.168.x, fc00::/7…) are
refused, as are the metadata services of cloud hosts. A local model server (Ollama, LiteLLM, vLLM)
is declared by its name and port in RELAY_ENDPOINTS, for example RELAY_ENDPOINTS=ollama:11434 or
RELAY_ENDPOINTS=host.docker.internal:11434,192.168.1.20:8000: it is then reached, over HTTP if
needed. RELAY_MODE=strict limits the server to the addresses of that list only, public providers
included (RELAY_ENDPOINTS=api.mistral.ai:443,ollama:11434). The name is resolved when connecting
and the connection goes to the checked address, and redirects are not followed. Models set in the
compose do not go through this check.
In the browser (the online version, or keys typed in Options):
- The key stays in your browser, for this site only. Other sites cannot read it.
- "Remember API keys on your device" unchecked (the default): the key is kept in
sessionStorageand is gone when you close the tab. - Checked: the key is kept in
localStorageand stays on the device until you click "Clear API keys". - It is not encrypted. Encrypting it in the browser would not help: the key to decrypt it would have to be stored right next to it.
- What protects it: the page runs no script from another site (Content Security Policy), and the key is only sent to the provider you chose.
- The limit: a malicious browser extension, or someone using your session on the computer, can read it. On a shared computer, leave the box unchecked.
Settings
All optional. With the published images, put them all in the .env file next to
docker-compose.image.yml, or in the stack's environment variables, then run the up -d command
again. From the source code, put them in a .env file next to docker-compose.yml (git ignores
it), unless the table says mcp/.env, then run docker compose up -d --build.
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
