
Omega Mcp
io.github.aien-dev由 GitHub 帳號 aien-dev 發布v0.1.0更新於 Oct 29, 2026
Compile and run Omega (.om) programs in a sandbox, and look up Omega errors and keywords.
概覽
讓助理在沙箱中編譯並執行 Omega(.om)程式,並查詢 Omega 的錯誤、陷阱與關鍵字。
- 可以做什麼
- 編譯 Omega 原始碼,回傳二進位大小與雜湊,或帶行號、錯誤碼、意義與修正建議的結構化編譯錯誤
- 執行 Omega 程式,可傳入標準輸入與逾時,回傳截斷的輸出以及正常結束、陷阱或觸發資源限制的結果
- 解釋 Omega 錯誤碼、編譯器錯誤行、陷阱與結束狀態,提供意義、原因、修正方式與最小範例
- 查詢 Omega 關鍵字與主題,或搜尋最多 20 筆符合的條目
- 適用情境
- 適合助理需要撰寫、檢查或除錯 Omega 程式碼,或回答關於 Omega 語言、編譯器診斷與執行期陷阱的問題時使用,不必離開對話。
- 執行需求
- 以本機程序方式在使用者電腦上執行(僅桌面端,stdio 傳輸)。需從固定提交的 omega-mv 原始碼取出並以種子編譯器建置;伺服器會拒絕其他編譯器,並在啟動時再次驗證其雜湊。主機需具備 bubblewrap 與 prlimit,且執行檔旁需有參考資料檔案。未宣告任何帳號、金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Omega Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
omega-mcp
An MCP server, written in Omega, that lets an agent compile and run Omega (.om) programs with the
pinned seeded compiler and look up the language. It speaks MCP (protocol version 2025-06-18) as
newline-delimited JSON-RPC 2.0 over stdio.
Pin: omega-mv e5b32567a7aff3ce594e3254a622a846a6cd190b, omc sha256
2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. build.sh refuses any other
compiler, and the server checks the sha256 of its compiler again at start-up.
Tools
A compile diagnostic is a successful tool result (isError: false); isError is true when nothing
could be run (sandbox failure, a refused compile stage) or when explain/lookup found no entry. Bad
arguments are JSON-RPC errors (-32602).
Isolation
Each compile and run stage gets a fresh /tmp/omega-mcp-<16 hex> directory (mode 0700, removed
after the reply) and runs under bwrap --unshare-all --clearenv. The sandbox sees only the compiler
or the program (read-only), its in-sandbox reaper and a 16 MiB tmpfs working directory: no network,
no host files, an empty environment. prlimit applies the resource limits to the sandbox before it
starts, and the server kills the whole sandbox at the wall clock.
Both stages also get 64 open files and no core dumps. --test-only-no-isolation turns all of this
off and exists only so the trust gate can prove it detects an escape; never give it to an agent.
Build and use
The server loads data/reference.json and data/examples/ from beside its executable. Start-up
exit codes: 2 bad arguments, 3 compiler not the pin, 4 data missing, 5 bwrap/prlimit missing.
mcp.json is an example client configuration; point its command at your build/omega-mcp.
Gates
trust.py sends, through the run tool, a read of a canary under ~/.local/state, a fork bomb, an
infinite loop and a 10 GiB write, and requires each to be refused or killed with no process left
behind. A second server started with --test-only-no-isolation runs bounded versions of the same
attacks and must see them succeed, so a gate that cannot see an escape fails. check-reference.py
re-derives every keyword, error and trap entry from the pinned source, compiles and runs every example
with the pinned omc, and runs three negative controls.
These gates are host evidence on Linux arm64 (bubblewrap 0.9.0, util-linux 2.39.3); they say nothing
about other kernels or about a sandbox configuration other than the one in src/sandbox.om.
Layout
src/*.om: the server (src/UNITSlists the concatenation order;build.shbuilds it)vendor/omega-mv/: sha256 and JSON units copied unchanged from omega-mv@e5b32567data/: reference data and example programs, written bytools/gen-reference.pyand checked bytools/check-reference.pygates/,evidence/: verification oracles and their recorded resultsDEPENDENCIES.md: every host tool in the build, runtime and verification paths
License: Apache-2.0 (see LICENSE and NOTICE).
Human-Directed Agentic Engineering
Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions. This describes the development method, not a change to runtime autonomy or historical evidence.
For the documented method and a systems-software case study, see Gregory M. Kurtzer (2026), Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering, technical report, v1, Zenodo, https://doi.org/10.5281/zenodo.23682548.
來源:README.md,提交 784e47b
工具
0版本歷史
1- v0.1.0最新Oct 29, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分