flow-codeblock

flow-codeblock

Enables safe, remote execution and management of user JavaScript scripts through a Rust-based backend, with change preview and confirmation before applying updates.

Category
Visit Server

README

flow-codeblock-mcp

Flow Codeblock 的本地 stdio MCP Server 与 Codex Skill。MCP 只调用 Flow Codeblock Rust REST API,不在用户电脑执行用户 JavaScript;用户代码仍由服务端固定版本 Bun Supervisor 执行。

安装

需要 Bun 1.4.0 或更高版本:

bunx --bun flow-codeblock-mcp@0.2.6

必须配置:

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

FLOW_CODEBLOCK_BASE_URL 是已部署的 Flow Codeblock Rust API 地址。公网服务使用 https://qingcode.oalite.com;仅当用户在本机部署 Rust 服务时才改为对应的 localhost 地址。Token 应使用客户端的环境变量或密钥配置,不要写入提示词、工具参数或公开文件。

通用 stdio MCP 配置

{
  "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>"
      }
    }
  }
}

npm 包包含 MCP 运行源码、flow-codeblock Skill、AGENT_PROMPT.md、模块/危险模式规则和接口文档 Schema。普通 MCP 客户端不会自动安装 Codex Skill,但 flow_write_code 会直接读取包内权威规则,因此不依赖 Skill 注入也能获得完整代码契约。

使用约束

  • 写代码前调用 flow_write_code;非脚本模式从 input.<字段> 读取,脚本模式从 input.query/header/body/cookies 读取。
  • 创建或更新脚本必须先调用 flow_preview_script_change,向用户展示预览并获得明确确认后才能调用 flow_apply_script_change。
  • 脚本 POST 调用方直接提交业务 JSON,不包装为 input 或 input.body。
  • MCP 不提供删除脚本工具;删除需要用户通过网页或 REST API 自行操作。
  • 执行操作正常进行认证、限流、配额扣减、安全校验、统计和审计。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured