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: MCP QuickJS Runner
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.
Manage websites, help documents and customer-support conversations with safe, scoped tools.
I do everything related to Browser Automation & Management
41Behavioral oracle for Rust crate APIs: runtime behavior, yank/advisory, deprecation, sig search
Related MCP Servers
- AlicenseAqualityFmaintenanceA secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.16 npm122MIT
- 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.4-
- FlicenseNot gradedqualityDmaintenanceEnables running arbitrary JavaScript code in isolated Docker containers with on-the-fly npm dependency installation, supporting both ephemeral one-shot executions and persistent sandbox environments.91 npm157-
- 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.791 npm4-