Command Palette

Search for a command to run...

Весь каталог
MCP-сервер № 68648

Musubix2

MUSUBIX2 — Specification Driven Development System

БесплатноПоддерживается
GitHubEmbed

Установить Musubix2 в Claude Desktop, Claude Code, Cursor

unyly install musubix2

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

$ unyly install musubix2

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Пошаговые гайды: как установить Musubix2

Описание

MUSUBIX2 — Specification Driven Development System

README

CI npm version License: MIT Node.js TypeScript

Specification Driven Development (SDD) System — AI-powered requirements-driven development tool

日本語 | English


Overview

MUSUBIX2 is a Specification Driven Development (SDD) system that enforces a Requirements → Design → Implementation workflow. It guarantees that all code is traceable to EARS-format requirements.

Key Features

  • EARS Requirements — Structured requirements using Easy Approach to Requirements Syntax (6 patterns)
  • Requirements Interview — 1-question-at-a-time gathering of missing information before generating specs
  • 100% Traceability — Full bidirectional tracing: Requirements ↔ Design ↔ Code ↔ Tests
  • Quality Gates — Automated verification at phase transitions
  • Dual-Platform Setup — One-command install for GitHub Copilot and Claude Code with auto-detection
  • Agent Skills — 8 bundled SDD skills (orchestrator, requirements, design, codegen, test, trace, policy, review)
  • MCP Server — Model Context Protocol with 61 tools, JSON-RPC 2.0, stdio/SSE transports
  • Formal Verification — EARS → SMT-LIB2 conversion for Z3 / Lean 4 verification
  • Multi-Language AST — Recursive descent parsers for Python, Java, Go, Rust, Ruby, PHP
  • Git-native Knowledge — Auto-build knowledge graphs from git history (co-change, author expertise)
  • Neurosymbolic AI — TF-IDF search, Wake-Sleep patterns, E-graph learning, program synthesis

Installation

npm install musubix2

Quick Start

Set up SDD in your project (installs instructions, Agent Skills, and MCP config for the detected platform):

npx musubix2 init --platform auto    # auto-detect GitHub Copilot / Claude Code
npx musubix2 init --platform both    # set up both platforms
npx musubix2 init --dry-run          # preview changes without writing files
npx musubix2 init --update           # update existing setup (with .bak backups)

Generated per platform:

Platform Files
GitHub Copilot .github/copilot-instructions.md, .github/skills/*, .vscode/mcp.json
Claude Code CLAUDE.md, .claude/skills/*, .mcp.json

Start the MCP server directly:

npx musubix2 mcp                     # stdio transport (default)
npx musubix2 mcp --transport sse     # HTTP/SSE transport

The stdio server stays alive for the client session and exposes 61 tools across all 13 categories (tools/list), each backed by a real package API — SDD core, knowledge, security, code analysis, ontology, synthesis, decisions, research, neural, workflow, policy, formal verification, and skills. The verify.z3.solve and verify.lean.run tools additionally require a local Z3 / Lean toolchain.

Development (from source)

git clone https://github.com/nahisaho/musubix2.git
cd musubix2/src
npm install
npm run build    # or: npx tsc -b
npm run test     # or: npx vitest run

Architecture

  • Monorepo: 26 packages (npm workspaces)
  • Language: TypeScript (ESM)
  • Test Framework: Vitest
  • Build: tsc -b (Project References)
  • Runtime: Node.js ≥ 20
musubix2/
└── src/
    ├── packages/          # 26 workspace packages
    ├── steering/          # Project constitution, rules, ADRs
    ├── storage/specs/     # SDD documents: requirements/ designs/ plans/ reviews/
    ├── package.json       # Root workspace definition
    ├── tsconfig.json      # TypeScript project references
    └── vitest.config.ts   # Test configuration

Packages

Package Description
agent-orchestrator Sub-agent management and task delegation orchestrator
assistant-axis Assistant identity stabilization, domain classification, drift analysis
codegraph AST analysis, multi-language parser (6 languages), GraphRAG search
core Core MUSUBIX2 library providing the SDD engine
decisions Architecture Decision Records (ADR) management
deep-research Iterative research engine with evidence chains and security filters
dfg Data Flow Graph / Control Flow Graph construction and analysis
expert-delegation Semantic query routing to domain experts
formal-verify EARS → SMT-LIB2 conversion and Z3 subprocess verification
git-knowledge Git log/blame → knowledge graph (co-change analysis, author expertise)
knowledge Entity-relationship knowledge graph storage and exploration
lean Lean 4 EARS → Lean conversion and hybrid verification
library-learner Library learning using E-graphs and structural similarity
mcp-server MCP server with 61 tools, JSON-RPC 2.0, stdio/SSE transports
musubi Lightweight core SDD wrapper, CLI (29 commands), dual-platform installer, skill packaging
neural-search TF-IDF embedding-based similarity search engine
ontology-mcp N3 triple store, rule engine, consistency verification
pattern-mcp AST pattern extraction and MCP server
policy Constitutional rule enforcement and quality gate engine
sdd-ontology Domain concept modeling for SDD workflows
security Compliance checks, vulnerability scanning, secret detection
skill-harness Runtime contracts, I/O schemas, test harnesses
skill-manager Pluggable agent skill registration and lifecycle management
synthesis DSL builder (16 transforms), version spaces, program synthesis
wake-sleep N-gram + PMI pattern extraction via Wake-Sleep cycles
workflow-engine SDD phase management, state tracking, quality gate enforcement

SDD Workflow

Requirements ──▶ Design ──▶ Task Breakdown ──▶ Implementation ──▶ Completion

Quality gates are applied at each phase transition — progress is blocked until criteria are met.

Constitutional Principles

Article Principle
I Library-First — Every package is usable as a standalone library
II CLI Interface — All features accessible via npx musubix <command>
III Test-First — Red → Green → Blue cycle, 80% coverage threshold
IV EARS Format — 6 structured requirement patterns
V Traceability — 100% tracing across Requirements ↔ Design ↔ Code ↔ Tests
VI Project Memory — steering/ as the single source of truth
VII Design Pattern Documentation — Document rationale whenever a design pattern is applied
VIII ADR Records — Record significant design decisions as Architecture Decision Records
IX Quality Gates — Phase transitions are blocked until gates pass

CLI Commands

npx musubix --help              # Show help

# SDD Workflow
npx musubix init                # Initialize SDD project (--platform auto|copilot|claude|both)
                                #   also scaffolds steering/ and storage/specs/requirements.md
npx musubix requirements analyze <file>   # Validate EARS requirements (alias: req <file>)
npx musubix req:wizard          # Requirements creation wizard
npx musubix req:interview       # 1-question-at-a-time requirements gathering
npx musubix design generate <file>        # Design generation (or: design <file>)
npx musubix design:c4 <file>    # C4 diagram generation (--level context|container|component)
npx musubix design:verify <file># Design verification (SOLID)
npx musubix tasks               # Task breakdown management (validate|list|stats)
npx musubix codegen generate <name|file>  # Code gen from a name, design.json or requirements.md
                                #   (--type class|..., --out <file>; emits // Implements: REQ- comments,
                                #    scaffolds detected patterns: Observer/State/Feature Toggle)
npx musubix test:gen <file|dir> # Test generation (accepts a file or a directory)
npx musubix trace matrix        # Requirement → code coverage matrix (--specs <file> --src <dir>)
npx musubix trace impact <REQ-ID>         # Symbol-level impact: implementing code + coupled requirements
npx musubix trace:verify        # Coverage verification (--specs --src [--strict])
npx musubix workflow            # Workflow management (status|approve|transition, persisted)
npx musubix status              # Status display

# Analysis & Verification
npx musubix cg index <file|dir> # Code graph analysis — see docs/codegraph.md
                                #   subcommands: index|search|stats|deps|impact|candidates|
                                #   cycles|gate|export|diff|languages
npx musubix cg impact <frag>    # Reverse dependency impact (--direct, --depth N, --json)
npx musubix cg gate --max-cycles 0 --forbid "ui/:db/"   # CI architecture gate (non-zero exit)
npx musubix security <file|dir> # Security scanning (--fail-on <sev>, --exclude-tests)
npx musubix verify <requirements.md>      # Formal EARS→SMT verification & consistency check
npx musubix dfg <file>          # Data-flow analysis; flags unused definitions (--unused)
npx musubix policy              # Policy verification
npx musubix ontology add <s> <p> <o>      # Ontology management (add|list|validate|stats, persisted)

# Knowledge & Research
npx musubix knowledge           # Knowledge graph operations (put|get|link|query|stats, persisted)
npx musubix decision            # ADR management (create|list|get|accept|deprecate, persisted)
npx musubix deep-research       # Deep research queries
npx musubix search <query> --corpus <dir> # TF-IDF semantic search over a corpus (--top N)

# Neurosymbolic
npx musubix explain <file|code> # Code explanation
npx musubix learn analyze <file|dir>      # Library pattern learning
npx musubix synthesis dsl <input> --ops trim,camelCase,...   # DSL transform pipeline
npx musubix skills              # Skill management (list|validate|create)
npx musubix scaffold package <name>       # Project scaffolding (project|package|skill, writes files)
npx musubix repl                # Interactive REPL
npx musubix watch               # File watcher

# MCP
npx musubix mcp                 # Start MCP server (--transport stdio|sse, --port)

Error paths return non-zero exit codes (missing files, invalid arguments, --strict/--fail-on gate failures), so these commands are CI-friendly. Stateful commands (knowledge, decision, ontology, workflow) persist under the project directory and survive across separate invocations.


Agent Skills

init installs 8 SDD Agent Skills for GitHub Copilot (.github/skills/) and Claude Code (.claude/skills/):

Skill Role
orchestrator Routes tasks to skills, enforces phase transitions and quality gates
requirements-analyst EARS requirements creation, validation, and 1-question interview (Phase 1)
design-generator SOLID-compliant design docs, C4 diagrams, ADRs (Phase 2)
code-generator Template-based code generation with 4-layer architecture (Phase 4)
test-engineer Red → Green → Blue enforcement, test generation, coverage gates
traceability-auditor Trace matrix generation, gap detection, impact analysis
constitution-enforcer Validates the 9 constitutional articles (CONST-001–009)
review-orchestrator Cross-model alternating review and consensus checks

Development

cd src
npx tsc -b                                    # Build
npx vitest run                                # Run tests
npx vitest run --coverage                     # Tests with coverage
npx eslint packages/*/src                     # Lint
npx prettier --write "packages/*/src/**/*.ts" # Format

Documentation

License

MIT

from github.com/nahisaho/musubix2

FAQ

Musubix2 MCP бесплатный?

Да, Musubix2 MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Musubix2?

Нет, Musubix2 работает без API-ключей и переменных окружения.

Musubix2 — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Musubix2 в Claude Desktop, Claude Code или Cursor?

Открой Musubix2 на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Изменения

Версии и запрашиваемые доступы со временем.

  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована

Похожие MCP

№ 31046

LibreOffice Tools

passerbyflutterpasserbyflutter

Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a

Установить
№ 56715

Figma

FigmaFigma

Extract design specs and assets

figmadesignexport
Установить
№ 76227

dannote/figma-use

dannotedannote

Figma control: create shapes, text and components, and set styles, auto-layout, variables and exports.

dannotefigmause
Установить
№ 99585

Logo.dev

NOVA-3951NOVA-3951

Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content

Установить
№ 05757

Design Inspiration Server

YonasValentinYonasValentin

Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re

Установить
№ 71249

PIX4Dmatic

jangjo123jangjo123

Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem

Установить
№ 69136

Codebase Onboarder

its.amitits.amit

Drop a path. Get a map. A zero-dependency codebase visualizer with a CLI onboarding wizard, a web UI, and an optional key-gated self-hosted mode.

codebasevisualizationarchitecture
Установить
№ 79563

mcp-dockmaster

Community

An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.

mcpdockmasterresources
ПровереноУстановить
№ 56334

ariekogan/ateam-mcp

ariekoganariekogan

Build, validate and deploy multi-agent AI solutions on the ADAS platform: design skills with tools and manage the solution lifecycle.

ariekoganateammcp
Установить
№ 15828

thinkchainai/mcpbundles

thinkchainaithinkchainai

Create custom tool bundles, connect providers with OAuth or API keys, and use one MCP server across many integrations, with a UI for bundles and credentials.

thinkchainaimcpbundlesname
Установить

Сравнить Musubix2 с

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории design