server
MCP Server - Model Context Protocol server for Claude Code integration with stdio transport
Installation
npx @wundr.io/mcp-serverAsk AI about server
Powered by Claude Β· Grounded in docs
I know everything about server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Wundr - Unified Developer Platform
π Wundr
The Complete Developer Platform - From Machine Setup to Code Excellence
Three powerful tools in one unified platform: Computer Setup, Project Creation, and Code Governance
What is Wundr?
Wundr is a comprehensive unified developer platform that provides three distinct but complementary features to support the entire developer lifecycle:
- Computer Setup - Automated developer machine provisioning with global tools and configurations
- Project Creation - Scaffold new projects with Wundr-compliant best practices built-in
- Code Governance - Analyze and improve existing codebases with AI-powered insights
Each feature serves a specific purpose in the development workflow, from initial machine setup through project creation to ongoing code quality management.
Three-Tier Agent Hierarchy
Wundr implements a production-grade Three-Tier Agent Hierarchy for fleet-scale autonomous engineering:
+---------------------------+
| HUMAN CORTEX (Tier 0) |
| Architects | Guardians |
+-------------+-------------+
|
v
+---------------------+---------------------+
| VP SUPERVISOR DAEMON (Tier 1) |
| Machine-Level Orchestration |
| - Strategy & triage across all projects |
| - Resource allocation & rate limiting |
| - Slack/notification integration |
| - PTY-based automated CLI approval |
+---------------------+---------------------+
|
+---------+-----------+-----------+---------+
| | | | |
v v v v v
+-------+--+ +----+-----+ +---+------+ +-+--------+ +--------+
| Session | | Session | | Session | | Session | | ... |
| Manager | | Manager | | Manager | | Manager | | |
| (Tier 2) | | (Tier 2) | | (Tier 2) | | (Tier 2) | | |
+----+-----+ +----+-----+ +----+-----+ +----+-----+ +--------+
| | | |
+----+----+ +----+----+ +----+----+ +----+----+
|Sub-Agent| |Sub-Agent| |Sub-Agent| |Sub-Agent|
| Workers | | Workers | | Workers | | Workers |
| (Tier 3)| | (Tier 3)| | (Tier 3)| | (Tier 3)|
+---------+ +---------+ +---------+ +---------+
Tier 1: VP Supervisor Daemon (Machine-Level)
- Scope: One per development machine (node)
- Responsibilities: Strategic oversight, request triage, resource allocation, rate limiting
- Features: Identity management, Slack integration, process lifecycle, PTY-based approval
Tier 2: Session Managers (Project-Level)
- Scope: 5-10 per VP Supervisor (~160 total across fleet)
- Responsibilities: Feature implementation, git management, memory bank coordination
- Features:
activeContext.mdtracking,progress.mdlogging, sub-agent delegation
Tier 3: Sub-Agent Workers (Task-Level)
- Scope: ~20 per Session Manager (~3,200 total across fleet)
- Responsibilities: Specialized tasks (coding, testing, reviewing, documentation)
- Features: Git worktree isolation, quality gate hooks, focused task execution
Maximum Scale: 3,376 autonomous agents (16 VPs + 160 Sessions + 3,200 Workers) directed by a 12-person human cortex = 281:1 leverage ratio
π Three Core Features
1. Computer Setup (New Developer Onboarding)
Purpose: Set up new developer machines with all required global tools
# Interactive setup wizard
wundr computer-setup
# Setup with specific profile
wundr computer-setup --profile fullstack
# Apply team configurations
wundr computer-setup --team platform
What it installs:
- β Development runtimes (Node.js, Python, Go, Rust)
- β Global CLI tools (git, docker, aws-cli, gh)
- β Package managers (npm, pnpm, yarn, pip)
- β Editors and extensions (VS Code, Vim)
- β Database clients and tools
- β AI development tools (Claude Code, Ruflo)
- β Hardware-adaptive Claude Code optimizations
Standalone Claude Code Optimization: Need just the performance optimizations without a full setup?
First, ensure wundr CLI is installed:
# Install globally
npm install -g @wundr.io/cli
# OR link for development
cd packages/@wundr/cli && pnpm link --global
# OR run via npx (no installation)
npx @wundr.io/cli claude-setup optimize
Then run the optimization setup:
# Setup hardware-adaptive Claude Code optimizations
wundr claude-setup optimize
# Features:
# β’ 3.5x heap size increase (4GB β 14GB on 24GB RAM)
# β’ 7x context window expansion (~50k β ~350k tokens)
# β’ 90% reduction in OOM crashes
# β’ Automatic hardware detection and V8 tuning
See CLAUDE-CODE-STANDALONE-OPTIMIZATION.md for details.
Available Profiles:
- Frontend Developer
- Backend Developer
- Full Stack Developer
- DevOps Engineer
- Machine Learning Engineer
- Mobile Developer
2. Project Creation (Start New Projects Right)
Purpose: Create new projects with all Wundr best practices pre-configured
# Create a Next.js frontend application
wundr create frontend my-app
# Create a Fastify backend API
wundr create backend my-api
# Create a Turborepo monorepo
wundr create monorepo my-platform
# Create a full-stack application
wundr create fullstack my-project
What it includes:
- β TypeScript with strict configuration
- β ESLint + Prettier pre-configured
- β Jest/Vitest testing setup
- β Husky pre-commit hooks
- β GitHub Actions CI/CD
- β Wundr governance baselines
- β CLAUDE.md for AI assistance
- β Docker configuration (optional)
Project Templates:
- Frontend: Next.js 15 + Tailwind + shadcn/ui
- Backend: Fastify + Prisma + OpenAPI
- Monorepo: Turborepo + multiple packages
- Full-stack: Complete application setup
3. Code Analysis & Governance (Maintain Quality)
Purpose: Analyze and improve existing codebases
# Analyze current codebase
wundr analyze
# Create governance baseline
wundr govern baseline
# Check for drift from standards
wundr govern check
# Generate compliance reports
wundr govern report
Analysis Capabilities:
- β AST-powered code analysis
- β Duplicate detection and consolidation
- β Complexity metrics and quality scoring
- β Circular dependency detection
- β Security vulnerability scanning
- β Performance bottleneck identification
Quick Start
Global Setup (Recommended)
Set up your entire development environment with a single command:
# Complete machine setup with Three-Tier Hierarchy support
npx tsx packages/@wundr/computer-setup/dev.ts global-setup
# This installs:
# - VP Supervisor Daemon infrastructure
# - Session Manager templates and memory banks
# - Sub-Agent worker templates with git worktree support
# - All MCP tools and registries
# - Claude Code with hardware-adaptive optimizations
# - Token budgeting and governance systems
Installation (CLI Only)
# Install globally (recommended)
npm install -g @wundr.io/cli
# Or use with npx
npx @wundr.io/cli --help
Development Setup (For Contributors)
# Clone the repository
git clone https://github.com/adapticai/wundr.git
cd wundr
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run in development mode
pnpm dev
Quick Development Commands
For quick development without building:
# Check what tools are installed
npx tsx packages/@wundr/computer-setup/dev.ts check-tools
# List available profiles
npx tsx packages/@wundr/computer-setup/dev.ts list-profiles
# Dry run a profile (safe)
npx tsx packages/@wundr/computer-setup/dev.ts dry-run frontend
# Create a new project (after dependencies installed)
npx tsx packages/@wundr/cli/src/index.ts create frontend my-app
See DEV_QUICKSTART.md for more development shortcuts.
Monorepo Structure
Wundr is built as a monorepo using Turborepo for optimized builds and caching:
Core Packages
packages/@wundr/
βββ cli # Unified command interface
βββ core # Shared utilities and event bus
βββ config # Configuration management
βββ plugin-system # Plugin lifecycle management
βββ computer-setup # Machine provisioning system
βββ project-templates # Project scaffolding templates
βββ analysis-engine # Code analysis capabilities
βββ dashboard # Web dashboard interface
βββ ai-integration # AI and Ruflo integration
βββ security # Security scanning and compliance
βββ environment # Environment management
βββ mcp-server # MCP server implementation
βββ docs # Documentation site
Agent Orchestration Packages (New)
packages/@wundr/
βββ crew-orchestrator # CrewAI-style role-based multi-agent teams
βββ langgraph-orchestrator # LangGraph cyclic state-driven workflows
βββ autogen-orchestrator # AutoGen conversational agent orchestration
βββ agent-delegation # Sub-agent task delegation framework
βββ agent-memory # MemGPT-inspired tiered memory (scratchpad + persistent)
βββ agent-eval # Agent performance evaluation and benchmarking
βββ agent-observability # Telemetry, tracing, and monitoring for agents
Context & Intelligence Packages (New)
packages/@wundr/
βββ jit-tools # Just-In-Time tool loading via semantic search
βββ rag-utils # RAG-based retrieval and context building
βββ token-budget # Token budgeting and rate limiting
βββ mcp-registry # Central MCP tool registry and discovery
βββ hydra-config # Hydra-style hierarchical configuration composition
βββ prompt-security # Action-Selector/Interceptor for prompt injection defense
βββ prompt-templates # Jinja2-style dynamic prompt templating
βββ structured-output # Pydantic/Instructor-style structured LLM outputs
βββ typechat-output # TypeChat-based structured output validation
βββ governance # IPRE governance pipeline and compliance
New Packages Reference
| Package | Description | Key Features |
|---|---|---|
@wundr.io/prompt-security | Prompt injection defense | Action-Selector pattern, input sanitization, threat detection |
@wundr.io/crew-orchestrator | CrewAI-style orchestration | Role-based teams, task delegation, collaborative workflows |
@wundr.io/langgraph-orchestrator | LangGraph integration | Cyclic state machines, conditional routing, checkpointing |
@wundr.io/autogen-orchestrator | AutoGen patterns | Conversational agents, group chat, function calling |
@wundr.io/jit-tools | Just-In-Time tool loading | Semantic search, dynamic injection, context optimization |
@wundr.io/agent-memory | Tiered memory system | MemGPT-inspired scratchpad, episodic/semantic stores, forgetting curve |
@wundr.io/agent-delegation | Sub-agent management | Task routing, worktree isolation, quality gates |
@wundr.io/governance | IPRE pipeline | Intent-Policy-Reward-Evaluator, compliance checking, alignment debt |
@wundr.io/hydra-config | Hierarchical config | Composition, overrides, environment-aware configuration |
@wundr.io/mcp-registry | MCP tool registry | Central catalog, semantic discovery, permission management |
@wundr.io/rag-utils | RAG utilities | Vector stores, agentic retrieval, context compaction |
@wundr.io/token-budget | Token management | Rate limiting, tiered allocation, budget tracking |
@wundr.io/agent-eval | Agent evaluation | Benchmarking, performance metrics, regression testing |
@wundr.io/agent-observability | Agent monitoring | Telemetry, tracing, decision logging, dashboards |
Command Reference
Computer Setup Commands
# Main setup command
wundr computer-setup # Interactive setup wizard
wundr computer-setup --profile <role> # Use specific profile
wundr computer-setup --dry-run # Preview without installing
wundr computer-setup validate # Verify installations
wundr computer-setup doctor # Diagnose issues
# Profile management
wundr computer-setup profile list # List available profiles
wundr computer-setup profile show <name> # Show profile details
wundr computer-setup profile export # Export current setup
wundr computer-setup profile import <file> # Import profile
# Team configurations
wundr computer-setup team <name> # Apply team settings
wundr computer-setup team list # List team configs
Project Creation Commands
# Create projects
wundr create frontend <name> # Next.js application
wundr create backend <name> # Fastify API
wundr create monorepo <name> # Turborepo platform
wundr create fullstack <name> # Full-stack app
# With options
wundr create frontend my-app --no-git # Skip git init
wundr create backend my-api --no-install # Skip deps install
wundr create monorepo my-platform --docker # Include Docker
# List available templates
wundr create list # Show all templates
Code Analysis Commands
# Analysis
wundr analyze # Full analysis
wundr analyze --focus duplicates # Specific analysis
wundr analyze ./src # Analyze directory
# Governance
wundr govern baseline # Create baseline
wundr govern check # Check compliance
wundr govern report # Generate report
wundr govern drift # Check for drift
# Dashboard
wundr dashboard # Start web UI
wundr dashboard --port 4000 # Custom port
βοΈ Configuration
Wundr uses a flexible configuration system in wundr.config.json:
{
"project": {
"name": "My Project",
"type": "monorepo",
"framework": "turborepo"
},
"computerSetup": {
"profile": "fullstack",
"team": "platform",
"autoUpdate": true
},
"analysis": {
"targetPath": "./src",
"excludePatterns": ["node_modules", "dist"],
"complexity": {
"maxCyclomatic": 10,
"maxCognitive": 15
}
},
"governance": {
"enforceStandards": true,
"failOnViolation": false,
"standards": ["eslint", "prettier", "typescript"]
}
}
Architecture
Wundr is built with a modular, event-driven architecture organized around the Three-Tier Agent Hierarchy:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HUMAN CORTEX (Tier 0) β
β Guardian Dashboard Architect Tools Intent-Setter Interface β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PRESENTATION LAYER β
β CLI Interface Web Dashboard IDE Extensions Slack Integration β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ORCHESTRATION LAYER (Tier 1: VP) β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β β Token Budget β β MCP Registry β β Governance β β
β β Management β β & Discovery β β (IPRE Pipeline)β β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β β Agent β β Prompt β β Hydra Config β β
β β Observability β β Security β β Composition β β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β AGENT ORCHESTRATION LAYER (Tier 2: Session Managers) β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β β CrewAI β β LangGraph β β AutoGen β β
β β Orchestrator β β Orchestrator β β Orchestrator β β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
β β Agent Memory β β Agent β β JIT Tools β β
β β (MemGPT-style) β β Delegation β β Retrieval β β
β ββββββββββββββββββ ββββββββββββββββββ ββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β SERVICE LAYER (Tier 3: Sub-Agent Workers) β
β Computer Setup Project Templates Analysis Engine RAG Utils β
β AI Integration Security Environment Agent Eval β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β INFRASTRUCTURE LAYER β
β File System Git Worktrees Process Management MCP Servers Network β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Component Interaction Flow
User Request β CLI/Dashboard
β
VP Supervisor (Tier 1)
βββ Token Budget Check
βββ Governance Validation
βββ Route to Session Manager
β
Session Manager (Tier 2)
βββ Context Loading (Agent Memory)
βββ Tool Selection (JIT Tools + MCP Registry)
βββ Delegate to Sub-Agents
β
Sub-Agent Workers (Tier 3)
βββ Execute in Git Worktree
βββ Use RAG for Context
βββ Report via Observability
β
Results β Quality Gates β Session Manager β VP β User
Technology Stack
- Runtime: Node.js 20+ LTS
- Language: TypeScript 5.2+
- Build: Turborepo + esbuild
- CLI: Commander.js
- Web: Next.js 15 + React 19
- Testing: Jest + Playwright
- Package Manager: pnpm (recommended)
π― Use Cases
1. New Team Member Onboarding
# Day 1: Set up developer machine
wundr computer-setup --profile fullstack --team platform
# Day 2: Create first project
wundr create frontend onboarding-app
# Ongoing: Maintain code quality
wundr analyze
wundr govern check
2. Starting a New Project
# Create project with best practices
wundr create monorepo my-platform
# Project includes:
# - TypeScript configuration
# - Testing setup
# - CI/CD pipelines
# - Governance baselines
# - AI integration
3. Maintaining Code Quality
# Regular quality checks
wundr analyze --watch
wundr govern drift
wundr dashboard
# CI/CD integration
wundr analyze --ci --fail-on-issues
Documentation
Getting Started
Architecture & Design
- Architecture Overview
- Three-Tier Architecture Implementation Plan
- Further Enhancements to Three-Tier Hierarchy
- Dynamic Context Compilation
Package Documentation
π¦ NPM Publishing
This project automatically publishes to npm under the @wundr.io scope.
For End Users
Install packages from npm:
# Install CLI globally
npm install -g @wundr.io/cli
# Or use specific packages
npm install @wundr.io/core
npm install @wundr.io/analysis-engine
For Maintainers
Setup npm publishing (one-time): See NPM Organization Setup Guide for detailed instructions.
Quick setup:
- Create npm account and organization
@wundr.io - Generate automation token
- Add
NPM_TOKENsecret to GitHub - Packages auto-publish on push to master
Publishing workflows:
- Auto-publish (dev): Push to
masterβ publishes@wundr.io/cli@dev - Stable release: Create tag
v1.0.0β publishes@wundr.io/cli@latest
See also:
- NPM Setup Checklist - Quick 5-step guide
- NPM Organization Setup - Comprehensive guide
π€ Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines.
Development Commands
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test
# Run in development mode
pnpm dev
# Type checking
pnpm typecheck
# Linting
pnpm lint
π Performance
Wundr is optimized for performance using Turborepo:
- Parallel builds: 2.8-4.4x faster builds
- Smart caching: 80% cache hit rate
- Incremental builds: Only rebuild what changed
- Optimized pipelines: Automatic task scheduling
π Security
- All packages regularly updated
- Security scanning integrated
- Credential management built-in
- Audit logging for compliance
π License
MIT License - see LICENSE for details.
π Acknowledgments
Built with β€οΈ by the Wundr team using:
- Turborepo for monorepo management
- Commander.js for CLI
- Next.js for dashboard
- TypeScript for type safety
Transform your development workflow with Wundr
From machine setup to code excellence - we've got you covered
