feat(tools): ruview MCP server + CLI + ADR-104#705
Merged
Conversation
Adds two new npm packages that expose RuView's WiFi-DensePose sensing capabilities outside the Cognitum appliance ecosystem: - tools/ruview-mcp/ (@ruv/ruview-mcp) — MCP server with 6 tools: ruview_csi_latest, ruview_pose_infer, ruview_count_infer, ruview_registry_list, ruview_train_count, ruview_job_status. Uses @modelcontextprotocol/sdk with stdio transport. 6/6 smoke tests pass. TypeScript strict mode, Node 20. - tools/ruview-cli/ (@ruv/ruview-cli) — Yargs CLI with matching subcommands: csi tail, pose infer, count infer, cogs list, train count, job status. Same fail-open pattern as the cog binaries (WARN to stderr, exit 0 on unavailable sensing-server). - docs/adr/ADR-104-ruview-mcp-cli-distribution.md — design rationale, 6-row threat table, packaging plan, acceptance gates, failure modes. - docs/research/sota-2026-05-22/HORIZON.md — 12-hour horizon plan with 7 milestones tracked (M1 complete in this commit). Both packages are private:true pending the user's publish decision. Inference is via subprocess to the signed cog binaries (ADR-100/101/103) — no JS/WASM ML engine bundled. Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/ruview-mcp/(@ruv/ruview-mcp) — an MCP server exposing RuView's WiFi-DensePose capabilities as MCP tools for Claude Code, Cursor, and other MCP-compatible agentstools/ruview-cli/(@ruv/ruview-cli) — a Yargs-based CLI (npx ruview <subcommand>) with the same surfacedocs/adr/ADR-104-ruview-mcp-cli-distribution.md— full design rationale, 6-row threat table, packaging plan, acceptance gatesdocs/research/sota-2026-05-22/HORIZON.md— 12-hour autonomous research horizon trackerMCP tools shipped
ruview_csi_latestruview_pose_inferruview_count_inferruview_registry_listruview_train_countruview_job_statusCLI subcommands shipped
ruview csi tail|ruview pose infer|ruview count infer|ruview cogs list|ruview train count|ruview job statusTests
tools/ruview-mcp/tests/tools.test.tstsc --noEmit) with strict modenpm run buildexits 0 for both packagesNotes
private: true— user publishes manually (see ADR-104 §Migration){ok:false, warn:true, error:"..."}on missing infra; exit code 0 in CLITest plan
npm run buildpasses intools/ruview-mcp/andtools/ruview-cli/npm testpasses intools/ruview-mcp/(6 smoke tests)node tools/ruview-mcp/dist/index.jsstarts without error (check stderr for[ruview-mcp] Server v0.0.1 started)node tools/ruview-cli/dist/index.js --versionprints0.0.1🤖 Generated with claude-flow