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 分