Skip to content

Latest commit

Β 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Craftor β€” Universal Autonomous MCP Platform for WordPress, Elementor & WooCommerce

Monorepo Build MCP Protocol Active MCP Tools Contract Tests E2E Assertions LLM Accuracy Ecosystem Certification

Craftor is an industrial-strength, enterprise-grade Model Context Protocol (MCP) platform purpose-built for the WordPress, Elementor, and WooCommerce ecosystems.

Craftor allows any AI clientβ€”from Claude Code, Claude Desktop, Cursor, Codex, Antigravity, VS Code, Gemini clients, to OpenAI-compatible agentsβ€”to natively inspect, design, build, test, repair, and manage WordPress and Elementor websites with zero-shot fidelity, live canvas streaming, speech-to-intent voice commands, and deterministic rollback guarantees.


πŸ›οΈ Monorepo Architecture & Core Subsystems

craftor/
β”œβ”€β”€ .agents/                     # Autonomous Skills & Agent Ecosystem
β”‚   β”œβ”€β”€ rules/                   # Permanent workspace behaviors (AGENTS.md, GEMINI.md)
β”‚   β”œβ”€β”€ skills/                  # 18 Domain Skills (WordPress, Elementor, MCP, QA, etc.)
β”‚   └── workflows/               # Declarative Multi-Step DAG Workflows
β”œβ”€β”€ apps/                        # Deployable applications & web portals
β”‚   β”œβ”€β”€ dashboard/               # Next.js / HTML5 Visual Web Studio & AI Voice Studio
β”‚   β”œβ”€β”€ api-gateway/             # Fastify Cloud SSE Gateway & Managed AI Proxy
β”‚   └── marketing/               # Public Landing Page & Conversion Funnels
β”œβ”€β”€ configs/                     # Multi-client automated configuration templates
β”‚   └── clients/                 # Claude Desktop, Cursor, Antigravity, VS Code, etc.
β”œβ”€β”€ dist-bin/                    # Portable Standalone Daemons (.bat / .sh) & Manifests
β”œβ”€β”€ dist-npm/                    # Production NPM Tarballs & Release Packages
β”œβ”€β”€ dist-svn/                    # WordPress.org SVN Trunk & Tags Release Structure
β”œβ”€β”€ infra/                       # Multi-Cloud Infrastructure as Code (IaC)
β”‚   β”œβ”€β”€ terraform/               # Terraform Cloudflare & AWS deployment plans
β”‚   β”œβ”€β”€ k8s/                     # Kubernetes Deployment & Service manifests
β”‚   └── cloudflare/              # Cloudflare Workers wrangler.toml edge runtime config
β”œβ”€β”€ packages/                    # Shared internal libraries, registries & adapters
β”‚   β”œβ”€β”€ edge-runtime/            # Serverless Edge MCP Gateway & Geo-Distributed KV Cache
β”‚   β”œβ”€β”€ addon-sdk/               # 3rd-Party Addon SDK (Crocoblock JetEngine, Essential Addons)
β”‚   β”œβ”€β”€ mcp-server/              # Universal MCP Server Daemon (86 Tools, stdio & SSE)
β”‚   β”œβ”€β”€ elementor-ast/           # Bi-Directional JSON AST Parser, Popups & Mutator
β”‚   β”œβ”€β”€ wordpress-bridge/        # WP REST Bridge, ACF Pro, RankMath SEO & Multilingual
β”‚   β”œβ”€β”€ client-adapters/         # Dedicated Adapters (Cursor, Claude, Antigravity, VS Code)
β”‚   β”œβ”€β”€ tool-registry/           # 86-Tool Registry & Alias Resolver
β”‚   β”œβ”€β”€ design-tokens/           # WCAG 2.1 AA Palette, Typography & Spacing JSON
β”‚   β”œβ”€β”€ shared-types/            # Shared TypeScript Interfaces & Contract Models
β”‚   └── shared-utils/            # VoiceIntentClassifier, Cryptography, Logger & Retry
β”œβ”€β”€ services/                    # Microservices & Background Workers
β”‚   β”œβ”€β”€ collaboration/           # Multi-Agent Swarm Orchestrator & CRDT Vector Clock Sync
β”‚   β”œβ”€β”€ self-healing/            # AST Auto-Repair, PHP Error Triage & Performance Tuner
β”‚   β”œβ”€β”€ authentication/          # AES-256 Key Vault, HMAC & Token Middleware
β”‚   β”œβ”€β”€ licensing/               # Cryptographic License Activation & Seat Manager
β”‚   β”œβ”€β”€ analytics/               # Real-Time Telemetry Ingestion Worker
β”‚   β”œβ”€β”€ billing/                 # Stripe Usage Metering & Quota Enforcer
β”‚   β”œβ”€β”€ update-service/          # OTA Release Distribution & Package Signer
β”‚   └── notification-service/    # Webhook, Email & Slack Event Dispatcher
β”œβ”€β”€ tests/                       # Test Suites & Quality Assurance Matrix
β”‚   β”œβ”€β”€ contracts/               # 24 Contract Test Suites (TypeScript AST & Tools)
β”‚   β”œβ”€β”€ e2e/                     # Playwright Multi-Client Handshake & Mutation Suites
β”‚   └── prompts/                 # Promptfoo LLM Precision Benchmarks
└── docs/                        # Specifications, PRDs, ADRs & Stage Gate Certifications (1-12)

⚑ Key Capabilities Across 12 Certified Phases

  1. Dual Transport MCP Server (stdio + SSE): Ultra-low latency local stdio pipes and remote SSE over HTTPS with Bearer token authentication.
  2. Serverless Global Edge Mesh (packages/edge-runtime): Cloudflare Workers edge gateway with Geo-distributed KV caching for sub-15ms AST response times.
  3. Bi-Directional Elementor AST Engine: Manipulates modern Flexbox/Grid containers, sections, columns, and widgets with 7-character hexadecimal UUID preservation.
  4. WooCommerce Engine: Programmatic management of products, variations, inventory, orders, customer cohorts, and batch coupon campaigns.
  5. AI Voice Studio (VoiceStudio): Real-time WebRTC audio waveform visualization and Speech-to-Intent classification (craftor_voice_classify_intent, craftor_voice_dispatch_action).
  6. 3rd-Party Addon Ecosystem SDK (@craftor/addon-sdk): Extensible SDK with official adapters for Crocoblock (JetEngine) dynamic listings and Essential Addons.
  7. Multi-Agent Swarm Canvas (services/collaboration): Concurrent orchestration of Designer, Copywriter, SEO, and QA agents with Conflict-Free Replicated Data Type (CRDT) synchronization.
  8. Autonomous Self-Healing Daemon (services/self-healing): Automatic malformed AST repair, circular reference remediation, and PHP fatal timeout/memory triage.
  9. Real-Time Performance Auto-Tuner: External CSS generation, font-display swap injection, image lazy loading, and Cloudflare/LiteSpeed cache purges.
  10. Advanced WordPress Integrations: Programmatic CPT and ACF Pro field groups, RankMath / Yoast SEO metadata, and WPML / Polylang AST translations.
  11. Zero-Trust Security Shield: AST prompt injection scanner, capability boundaries, AES-256 token vaults, and rate quota enforcement.
  12. Instant Micro-Rollbacks: Automated pre-mutation state snapshots for 1-click zero-downtime recovery.

πŸ“‹ Comprehensive 86-Tool MCP Catalog

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  CORE WORDPRESS (12 TOOLS)   β”‚  ELEMENTOR ENGINE (18 TOOLS) β”‚   WOOCOMMERCE (14 TOOLS)     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β€’ craftor_get_posts          β”‚ β€’ craftor_elementor_get_ast  β”‚ β€’ craftor_wc_get_products    β”‚
β”‚ β€’ craftor_create_post        β”‚ β€’ craftor_elementor_update   β”‚ β€’ craftor_wc_create_product  β”‚
β”‚ β€’ craftor_update_post        β”‚ β€’ craftor_elementor_generate β”‚ β€’ craftor_wc_update_product  β”‚
β”‚ β€’ craftor_delete_post        β”‚ β€’ craftor_elementor_diff_ast β”‚ β€’ craftor_wc_delete_product  β”‚
β”‚ β€’ craftor_get_pages          β”‚ β€’ craftor_elementor_popup    β”‚ β€’ craftor_wc_update_inventoryβ”‚
β”‚ β€’ craftor_create_page        β”‚ β€’ craftor_elementor_funnel   β”‚ β€’ craftor_wc_get_orders      β”‚
β”‚ β€’ craftor_update_page        β”‚ β€’ craftor_elementor_header   β”‚ β€’ craftor_wc_get_customers   β”‚
β”‚ β€’ craftor_get_taxonomies     β”‚ β€’ craftor_elementor_footer   β”‚ β€’ craftor_wc_get_coupons     β”‚
β”‚ β€’ craftor_create_taxonomy    β”‚ β€’ craftor_elementor_palette  β”‚ β€’ craftor_wc_create_coupon   β”‚
β”‚ β€’ craftor_get_cpt            β”‚ β€’ craftor_elementor_schema   β”‚ β€’ craftor_wc_batch_coupons   β”‚
β”‚ β€’ craftor_register_cpt       β”‚ β€’ craftor_elementor_wireframeβ”‚ β€’ craftor_wc_get_analytics   β”‚
β”‚ β€’ craftor_acf_register_group β”‚ β€’ craftor_elementor_kit_bind β”‚ β€’ craftor_wc_refund_order    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚   MULTISITE & OPS (12 TOOLS) β”‚   INTELLIGENCE & AI (8 TOOLS)β”‚  VOICE, SWARM & EDGE (12)    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β€’ multisite_list_sites       β”‚ β€’ craftor_llm_query_local    β”‚ β€’ craftor_voice_classify     β”‚
β”‚ β€’ multisite_switch_site      β”‚ β€’ craftor_ast_compress       β”‚ β€’ craftor_voice_dispatch     β”‚
β”‚ β€’ multisite_batch_dispatch   β”‚ β€’ craftor_security_scan_ast  β”‚ β€’ craftor_swarm_dispatch     β”‚
β”‚ β€’ multisite_sync_template    β”‚ β€’ craftor_whitelabel_config  β”‚ β€’ craftor_crdt_sync_document β”‚
β”‚ β€’ craftor_create_snapshot    β”‚ β€’ craftor_whitelabel_portal  β”‚ β€’ craftor_addon_register     β”‚
β”‚ β€’ craftor_restore_snapshot   β”‚ β€’ craftor_quota_check_limits β”‚ β€’ craftor_addon_get_catalog  β”‚
β”‚ β€’ craftor_list_snapshots     β”‚ β€’ craftor_telemetry_query    β”‚ β€’ craftor_self_healing_repairβ”‚
β”‚ β€’ craftor_system_status      β”‚ β€’ craftor_seo_update_meta    β”‚ β€’ craftor_self_healing_triageβ”‚
β”‚ β€’ craftor_verify_license     β”‚ β€’ craftor_multilingual_clone β”‚ β€’ craftor_performance_tune   β”‚
β”‚ β€’ craftor_get_visual_diff    β”‚ β€’ craftor_get_activity_log   β”‚ β€’ craftor_cdn_purge_cache    β”‚
β”‚                              β”‚                              β”‚ β€’ craftor_edge_route_request β”‚
β”‚                              β”‚                              β”‚ β€’ craftor_edge_get_status    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ 5-Minute Setup for All 8 AI Clients

1. Claude Desktop

Add to %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "craftor": {
      "command": "node",
      "args": ["c:/Users/420/Crafter/packages/mcp-server/dist/index.js"],
      "env": {
        "CRAFTOR_SITE_URL": "https://yoursite.com",
        "CRAFTOR_AUTH_TOKEN": "craftor_live_secret_token_here"
      }
    }
  }
}

2. Cursor IDE

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "craftor": {
      "command": "node",
      "args": ["c:/Users/420/Crafter/packages/mcp-server/dist/index.js"]
    }
  }
}

3. Claude Code CLI

Add to ~/.claude.json:

{
  "mcpServers": {
    "craftor": {
      "command": "node",
      "args": ["c:/Users/420/Crafter/packages/mcp-server/dist/index.js"]
    }
  }
}

4. Google Antigravity IDE

Add to .gemini/antigravity-ide/mcp_config.json:

{
  "mcpServers": {
    "craftor": {
      "command": "node",
      "args": ["c:/Users/420/Crafter/packages/mcp-server/dist/index.js"]
    }
  }
}

5. VS Code (Cline / Roo-Code / Copilot)

Add to .vscode/settings.json:

{
  "mcp.servers": {
    "craftor": {
      "type": "stdio",
      "command": "node",
      "args": ["c:/Users/420/Crafter/packages/mcp-server/dist/index.js"]
    }
  }
}

πŸ§ͺ Validation & Testing Pipeline

Run the full autonomous quality assurance harness:

# 1. Build all 35 monorepo packages in topological DAG order
pnpm build

# 2. Execute strict ESLint across all TypeScript packages & apps
pnpm lint

# 3. Execute 24 Contract Test Suites
pnpm test

# 4. Run Playwright End-to-End Multi-Client Handshake Test
pnpm run test:e2e

# 5. Run Automated Promptfoo LLM Tool Accuracy Benchmarks
node scripts/run-benchmarks.js

# 6. Verify entire 210-item ecosystem certification
pnpm run verify:all

πŸ“œ Stage Gate Certifications (All 12 Phases)

Stage Gate Certification Document Lead Persona Status
01 18_FINAL_ARCHITECTURE_FREEZE.md Solution Architect Certified
02 21_STAGE_GATE_2_CERTIFICATION.md Elementor Engineer Certified
03 22_STAGE_GATE_3_CERTIFICATION.md Prompt Engineer Certified
04 23_STAGE_GATE_4_CERTIFICATION.md Security Engineer Certified
05 24_STAGE_GATE_5_CERTIFICATION.md Release Manager Certified
06 25_STAGE_GATE_6_CERTIFICATION.md UI/UX Designer Certified
07 26_STAGE_GATE_7_CERTIFICATION.md WordPress Engineer Certified
08 27_STAGE_GATE_8_CERTIFICATION.md Debugging Engineer Certified
09 28_STAGE_GATE_9_CERTIFICATION.md Prompt Engineer Certified
10 29_STAGE_GATE_10_CERTIFICATION.md Tool Registry Manager Certified
11 30_STAGE_GATE_11_CERTIFICATION.md Solution Architect Certified
12 31_STAGE_GATE_12_CERTIFICATION.md Release Manager Certified

Craftor is engineered from first principles to establish the global standard for AI-native web building and headless WordPress orchestration.

About

Universal MCP Platform for WordPress, Elementor & WooCommerce

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages