flow-codeblock
Click on "Deploy 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., "@flow-codeblockPreview the change to my user-data fetch script"
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.
flow-codeblock-mcp
Flow Codeblock's local stdio MCP Server and Codex Skill. The MCP only invokes the Flow Codeblock Rust REST API and does not execute user JavaScript on the user's computer; user code is still executed by the server-side fixed-version Bun Supervisor.
Installation
Requires Bun 1.4.0 or higher:
bunx --bun flow-codeblock-mcp@0.2.6Must be configured:
FLOW_CODEBLOCK_BASE_URL=https://qingcode.oalite.com
FLOW_CODEBLOCK_TOKEN=flow_xxxFLOW_CODEBLOCK_BASE_URL is the address of the deployed Flow Codeblock Rust API. Use https://qingcode.oalite.com for the public service; only when the user has deployed the Rust service on their own machine should you change it to the corresponding localhost address. The token should be configured through the client's environment variables or secrets; do not write it into prompts, tool arguments, or public files.
Related MCP server: Node.js Sandbox MCP Server
General stdio MCP configuration
{
"mcpServers": {
"flow-codeblock": {
"command": "bunx",
"args": ["--bun", "flow-codeblock-mcp@0.2.6"],
"env": {
"FLOW_CODEBLOCK_BASE_URL": "https://qingcode.oalite.com",
"FLOW_CODEBLOCK_TOKEN": "<YOUR_FLOW_CODEBLOCK_TOKEN>"
}
}
}
}The npm package contains the MCP runtime source code, the flow-codeblock Skill, AGENT_PROMPT.md, module/danger-mode rules, and the interface documentation Schema. Regular MCP clients do not automatically install the Codex Skill, but flow_write_code directly reads the authoritative rules inside the package, so the full code contract is still available without Skill injection.
Usage constraints
Call
flow_write_codebefore writing code; in non-script mode read frominput.<field>, and in script mode read frominput.query/header/body/cookies.Before creating or updating a script, you must call
flow_preview_script_change, show the preview to the user, and only callflow_apply_script_changeafter obtaining explicit confirmation.Script POST callers submit the business JSON directly; do not wrap it as
inputorinput.body.The MCP does not provide a tool for deleting scripts; deletion must be performed by the user via the web page or the REST API.
Operations proceed with the usual authentication, rate limiting, quota deduction, security checks, statistics, and auditing.
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
I do everything related to Browser Automation & Management
Automate any website: discover, run and create browser scripts that work behind logins.
Scoped, audited SSH exec, sessions, and SFTP on your saved servers without exposing credentials
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides secure execution of arbitrary JavaScript code within a sandboxed QuickJS WASM environment, allowing language models or other MCP clients to safely run JavaScript code snippets without compromising the host system.5-
- FlicenseAqualityDmaintenanceEnables running arbitrary JavaScript code in isolated Docker containers with on-demand npm dependency installation, allowing for ephemeral script execution and long-running services with controlled resource limits.750 npm4-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to execute sandboxed JavaScript code to control external web applications in real-time. It utilizes WebSockets to synchronize script execution with frontend animations, allowing complex UI interactions to be handled in a single agent turn.ISC
- AlicenseNot gradedqualityAmaintenanceEnables an AI agent to read and change Microsoft 365 tenants through Microsoft Graph by running short sandboxed JavaScript scripts, so only script results return to the agent. Supports multiple commercial and GCC High tenants with per-call tenant selection.22 npmMIT