Krexel Mcp

io.github.Syfer-web由 GitHub 账号 Syfer-web 发布v0.3.2更新于 Oct 24, 2026

Ship and edit static sites from any MCP-compatible AI. The AI is the brain; Krexel is the hands.

概览

AI 生成的概览

Krexel MCP 让 AI 助手通过 Krexel API 部署、编辑、查看和回滚静态站点,以 stdio 提供九个工具。

可以做什么
部署已构建的站点文件夹,获得部署 ID 和预览地址,并列出近期部署、获取构建日志以及账户与套餐状态。浏览已部署站点的文件列表(路径、大小、校验和),并读取单个文件内容。通过创建、替换、全部替换或删除文件来修补已部署站点,每次修改都会作为新部署发布。将某个历史部署回滚为当前可用版本。为某个域名加密并保存环境变量。
适用场景
适合在桌面 MCP 客户端中让助手发布并反复修改托管在 Krexel 上的静态站点,包括对单个文件进行对话式修改和快速回滚。
运行要求
以 npm 包 krexel-mcp 通过 npx 在本地运行,需要 Node.js。需要 Krexel 账户 API 密钥,可通过 KREXEL_API_KEY 提供或由 Krexel 登录保存,也可选配 KREXEL_API_URL。set_env 需要 32 字节十六进制字符串 KREXEL_MASTER_KEY。状态文件写入 KREXEL_HOME,默认为用户主目录下的 .krexel 目录。
安装前请注意
API 密钥会作为 bearer 令牌随每次调用发送,主密钥用于加密环境变量,二者都是敏感凭据。工具会写入线上站点:编辑会产生新部署,回滚会改变当前版本,set_env 会为域名保存密钥。部署会消耗账户配额,站点内容和文件数据会发送到 Krexel API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Krexel Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

krexel-mcp

Ship AND edit static sites from any AI assistant that speaks the Model Context Protocol.

krexel-mcp is the official MCP server for Krexel — a "your AI ships and edits your live site" API. Point any MCP-compatible client (Claude Desktop, Cursor, Windsurf, VS Code) at this server and your assistant can deploy, list, edit, rollback, and inspect sites just by talking.

Quickstart

Add krexel-mcp to your MCP client configuration:

json
{  "mcpServers": {    "krexel": {      "command": "npx",      "args": ["-y", "krexel-mcp"],      "env": {        "KREXEL_API_URL": "https://api.krexel.com",        "KREXEL_API_KEY": "krx_live_••••••••••••••••",        "KREXEL_MASTER_KEY": "<your-32-byte-hex-key>"      }    }  }}

Restart your client. The assistant now sees nine Krexel tools.

Tools

ToolWhat it does
ship_siteUpload a built site folder. Returns a deploy_id and preview URL.
edit_filePatch a deployed site (create / replace / replace_all / delete). 0.1 deploy.
list_filesList the files in a deployed site (path + size + sha256).
read_fileRead one file's content from a deployed site.
list_deploysList recent deploys from local state. Optional domain filter.
get_logsFetch build logs for a deploy.
rollbackMark a previous deploy as the current good version.
set_envEncrypt and persist an env var for a domain (AES-256-GCM).
get_statusReturn account, deploy count, plan, and state directory.

The conversational-edit flow

  1. AI calls list_files(deploy_id) to see what files exist on the site.
  2. AI calls read_file(deploy_id, path) to read the file it wants to change.
  3. AI generates the new content itself, then calls edit_file(deploy_id, op: "replace", file, find, value, message).
  4. Krexel ships the patch as a new deploy — live in ~8 seconds, 0.1 deploy against the customer's quota. The new deploy_id and parent_deploy_id are returned so the AI can chain further edits on top.

The AI is the brain. Krexel is the hands.

All tools take plain JSON arguments and return JSON. Tool schemas are discoverable via the standard MCP tools/list request.

Configuration

Env varRequiredDefaultNotes
KREXEL_API_URLnohttps://api.krexel.comBase URL of the Krexel orchestrator API.
KREXEL_API_KEYno*~/.krexel/auth.jsonAccount API key. Forwarded as Authorization: Bearer *** to every API call. *Required unless saved by krexel login.
KREXEL_MASTER_KEYyes*—32-byte hex string for env-var encryption. *Required for set_env.

State files are written under $KREXEL_HOME (default ~/.krexel/).

License

MIT © Syfer

来源:README.md,提交 c044c8d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分