Skip to main content
Glama
renoelis

flow-codeblock

by renoelis

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.6

Must be configured:

FLOW_CODEBLOCK_BASE_URL=https://qingcode.oalite.com
FLOW_CODEBLOCK_TOKEN=flow_xxx

FLOW_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_code before writing code; in non-script mode read from input.<field>, and in script mode read from input.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 call flow_apply_script_change after obtaining explicit confirmation.

  • Script POST callers submit the business JSON directly; do not wrap it as input or input.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.

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    F
    maintenance
    A secure JavaScript REPL server that enables executing code snippets in a sandboxed environment with memory protection, timeout handling, and comprehensive error reporting.
    1
    57
    122
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides 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
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables 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.
    69
    156

View all related MCP servers

Related MCP Connectors

  • Behavioral oracle for Rust crate APIs: runtime behavior, yank/advisory, deprecation, sig search

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

  • The bridge from K2 agents through Wrangler to your master AI - safe, approval-gated Cloudflare ops.

View all MCP Connectors

Latest Blog Posts

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/renoelis/flow-codeblock-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server