Weavatrix Online

io.github.Weavatrix由 GitHub 帳號 Weavatrix 發布v0.3.4更新於 Oct 24, 2026

Weavatrix Online extension: guarded sync, advisories, malware review, architecture contracts.

概覽

AI 產生的概覽

一個本機 stdio MCP 連接器,讓助理檢查同步端點、更新相依性公告、審查惡意軟體證據、取得架構契約,並在明確確認後同步無原始碼的儲存庫圖譜。

可以做什麼
檢查端點能力、承載版本、限制與驗證方式,且不傳送儲存庫證據;從 OSV 更新相依性公告到本機快取,並以目前相依性清單比對,覆蓋不完整時維持未檢查或部分狀態;對已安裝相依性檔案進行有界靜態惡意軟體審查;為目前儲存庫取得並在本機驗證擁有者核准的架構契約;預覽精確的白名單同步承載及其雜湊與短期確認權杖,之後只將該已核准承載傳送到端點。
適用情境
當儲存庫情報需要跨越網路邊界時使用:端點狀態檢查、遠端管理的架構契約、公告更新,或向 Weavatrix Cloud 及相容自架端點進行明確的無原始碼同步。若只需純本機圖譜工作,應改用獨立的本機產品。
執行需求
透過 npx(Node.js)以 stdio 伺服器在本機執行,第一個參數為儲存庫路徑,也可選擇提供既有圖譜檔案。網路工作流程需要 WEAVATRIX_SYNC_URL,驗證端點另需密鑰 WEAVATRIX_SYNC_TOKEN。選用變數可覆寫能力文件 URL、架構 URL、公告快取、圖譜儲存與語意精確度。非回送目標必須使用 HTTPS。
安裝前請注意
WEAVATRIX_SYNC_TOKEN 是限定範圍的 bearer 權杖,應存放在用戶端的執行期密鑰儲存中,不要放入 Git、提交的 .env、日誌或簽入的設定。sync_graph 會將圖譜拓撲與衍生證據上傳到設定的端點,核准前請核對預覽中的目標、區段、計數、大小與雜湊;無原始碼不等於匿名。惡意軟體審查為靜態審查,無法證明是否遭入侵,漏洞結果可能為未檢查或部分。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Weavatrix Online,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Weavatrix Online

Take repository intelligence across a network without handing the network your repository.

[npm] [CI] [license] [Node.js]

The explicit network boundary of the Weavatrix ecosystem. Core and Refactor remain separate installs.

Weavatrix Online is the MIT-licensed MCP connector for Weavatrix Cloud and compatible customer-controlled endpoints. It keeps analysis local, produces an inspectable source-free payload, and requires an exact short-lived confirmation before that payload can leave the machine.

The public Online profile exposes 7 MCP tools for endpoint discovery, advisories, malware review, architecture contracts, and controlled synchronization. The local weavatrix-js graph engine is an implementation detail: its tools are not re-exported, so installing Core, Refactor, and Online together does not duplicate their catalogs in an agent's context.

Installing or starting Online does not synchronize anything. preview_sync makes no network request; sync_graph accepts only the still-valid preview for the same repository, destination, payload, and graph.

Choose the right Weavatrix package

ProductInstallBoundary
weavatrixnpm or CargoNative local-first MCP product. Both package managers distribute the same local Weavatrix server and engine.
weavatrix-rustCargoProtocol-independent Rust repository-intelligence engine for library and CLI use; it does not own MCP transport.
weavatrix-refactornpm or CargoNative extension-only transactional refactoring; it uses the Rust graph engine internally.
weavatrix-onlinenpmThis optional network extension: source-free Cloud/self-hosted workflows over an internal local graph runtime.

Online currently uses the JavaScript graph/runtime package internally:

text
weavatrix-online 0.3.4  └─ weavatrix-js 0.3.x (internal; no Core tools re-exported)

It does not proxy the native weavatrix executable, import weavatrix-refactor, or copy either engine. Use weavatrix when the graph must remain entirely local. Use weavatrix-online when endpoint status, remotely managed architecture contracts, advisory refresh, or explicit source-free synchronization is part of the workflow.

Install and run

Plugins for Cursor, Codex, Claude, and Grok

The repository now contains one portable plugin bundle at plugins/weavatrix-online plus native marketplace manifests for all four clients. The plugin starts the pinned npm release and includes an optional, compact skill with one lazily loaded card per Online method.

text
codex plugin marketplace add Weavatrix/weavatrix-online --sparse .agents/plugins plugins/weavatrix-onlinecodex plugin add weavatrix-online@weavatrix-online
claude plugin marketplace add Weavatrix/weavatrix-online --sparse .claude-plugin pluginsclaude plugin install weavatrix-online@weavatrix-online
grok plugin marketplace add Weavatrix/weavatrix-online

Cursor can load the bundle locally from ~/.cursor/plugins/local/weavatrix-online; public marketplace discovery starts after the listing is reviewed and approved.

Direct MCP launch

Run the pinned release without a global install:

powershell
npx -y [email protected] C:\path\to\repository

The command starts a stdio MCP server. The first positional argument is the repository to analyze. An existing graph can be supplied explicitly:

powershell
npx -y [email protected] C:\graphs\repository\graph.json C:\path\to\repository

The npm package is intentionally an executable MCP product; it does not advertise a nonexistent JavaScript library entry point.

Codex

toml
[mcp_servers.weavatrix_online]command = "npx"args = ["-y", "[email protected]", "C:\\path\\to\\repository"]
[mcp_servers.weavatrix_online.env]WEAVATRIX_SYNC_URL = "https://app.weavatrix.com/api/v1/graphs/sync"WEAVATRIX_SYNC_TOKEN = "load-from-runtime-secret-storage"

Claude Desktop

json
{  "mcpServers": {    "weavatrix-online": {      "command": "npx",      "args": [        "-y",        "[email protected]",        "C:\\path\\to\\repository"      ],      "env": {        "WEAVATRIX_SYNC_URL": "https://app.weavatrix.com/api/v1/graphs/sync",        "WEAVATRIX_SYNC_TOKEN": "load-from-runtime-secret-storage"      }    }  }}

Keep bearer tokens in the MCP client's runtime secret storage. Do not put them in Git, a committed .env, release logs, or checked-in MCP configuration.

The seven Online tools

ToolNetworkEvidence and effect
online_statusYesDiscovers endpoint capabilities, payload versions, limits, and auth mode without repository evidence.
refresh_advisoriesYesInventories exact dependency coordinates, queries OSV, validates returned records, and atomically refreshes the local cache.
scan_dependency_vulnerabilitiesNoMatches the current inventory against that cache. Missing, stale, partial, or mismatched coverage remains NOT_CHECKED or PARTIAL.
scan_dependency_malwareNoPerforms bounded static review of installed dependency files. Findings require review and are never a compromise verdict.
pull_architecture_contractYesFetches the owner-approved target for the active opaque repository ID, validates it, and updates the local graph cache.
preview_syncNoSerializes the exact allowlisted payload, hashes it, and issues a five-minute confirmation token.
sync_graphYesSends only the payload approved by preview_sync; dry_run:false and the matching token are mandatory.

Install Weavatrix Core for read-only repository intelligence and Weavatrix Refactor for guarded source changes. Their methods remain in their owning products.

Typical workflows

Check endpoint compatibility before doing any repository work:

json
{"name":"online_status","arguments":{"timeout_ms":10000}}

Refresh advisory evidence, then evaluate it locally:

json
{"name":"refresh_advisories","arguments":{"timeout_ms":20000}}{"name":"scan_dependency_vulnerabilities","arguments":{"max_age_days":30}}

Review the exact upload without sending it:

json
{"name":"preview_sync","arguments":{"payload_version":3}}

After a human or trusted controller approves the displayed destination, section summary, counts, size, and body hash, use the returned token:

json
{  "name": "sync_graph",  "arguments": {    "payload_version": 3,    "dry_run": false,    "confirm_token": "token-returned-by-preview_sync",    "timeout_ms": 30000  }}

Changing the graph, repository, destination, payload, or expiry state invalidates that approval. A rejected or unavailable endpoint leaves the graph local.

Network and consent boundary

text
local repository      │      ▼local graph + derived evidence      │      ▼preview_sync ── inspect destination, sections, counts, size, and SHA-256      │      ▼explicit approval      │      ▼sync_graph ── capability negotiation ── approved endpoint

The connector enforces:

  • HTTPS for every non-loopback destination;
  • loopback-only HTTP for local development;
  • no credentials embedded in URLs;
  • endpoint capability negotiation before upload;
  • a bounded versioned payload allowlist;
  • exact preview hashing and a short-lived confirmation token;
  • honest NOT_CHECKED and PARTIAL states when evidence is incomplete.

The sync payload contains bounded graph topology and selected derived evidence. It excludes source bodies, snippets, absolute host paths, environment values, credentials, Git remotes, and fields outside the wire allowlist. “Source-free” does not mean anonymous: review the displayed repository identity, destination, counts, sections, and hash before approval.

Configuration

VariableRequiredMeaning
WEAVATRIX_SYNC_URLFor Online network workflowsCloud or compatible self-hosted sync endpoint.
WEAVATRIX_SYNC_TOKENFor Cloud/authenticated endpointsScoped bearer token sent only to the approved endpoint.
WEAVATRIX_CAPABILITIES_URLNoExplicit capability document; otherwise /api/v1/capabilities with legacy /api/health fallback.
WEAVATRIX_ARCHITECTURE_URLNoExplicit owner-approved architecture-contract endpoint.
WEAVATRIX_PRECISIONNoLocal semantic precision: lsp (default) or off.
WEAVATRIX_GRAPH_HOMENoOverride local graph/cache storage.
WEAVATRIX_ADVISORY_STORENoOverride the local advisory-cache file.

Compatible endpoints must implement the versioned capability and sync contracts. Capability discovery itself sends no repository evidence.

Security evidence without false certainty

Advisory refresh covers pinned npm, PyPI, Go, Maven/Gradle, and crates.io coordinates found in bounded repository manifests. A clean zero is allowed only when the current inventory matches a complete, current Online cache.

Malware review is static and bounded. It can identify evidence such as download-and-execute lifecycle scripts, reverse-shell patterns, decoded execution, miner indicators, credential-file reads, or suspicious exfiltration endpoints. It cannot prove execution, provenance, credential exposure, safety, or compromise.

Architecture contracts are validated locally before becoming active.

Report vulnerabilities privately through GitHub Security Advisories.

Architecture

The connector is a strict modular ports-and-adapters system:

text
policy  └─ discovery adapters       └─ security cache and evidence services            └─ Online actions                 └─ MCP composition and executable
  • policy: destination validation, version matching, inventory identities, and malware evidence rules;
  • discovery: bounded manifest and installed-package adapters;
  • security: atomic advisory state, cached matching, scanning, and reporting;
  • online-actions: capability, contract, advisory, preview, and sync use cases;
  • composition: extension registration, launcher, and stdio executable.

The checked-in architecture contract enforces zero runtime cycles, production files at or below 300 physical lines, and functions at or below 100 physical lines, with no exceptions and no violation baseline.

Development and release proof

powershell
npm ci --ignore-scriptsnpm testnpm run verify:releasenpm auditnpm pack --dry-run --json

The release gate verifies package identity, dependency ranges, exact installed versions, MCP Registry metadata, checked-in release notes, MIT licensing, the published file allowlist, and tag/version agreement. CI repeats the tests, security audit, and package dry-run on Node.js 24.

License

MIT. Weavatrix Online and its internal weavatrix-js runtime are independently versioned MIT-licensed packages.

來源:README.md,提交 64f3f93

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分