Craftor
Universal autonomous MCP platform for WordPress, Elementor, and WooCommerce enabling AI clients to inspect, design, build, test, and manage websites.
README
Craftor β Universal Autonomous MCP Platform for WordPress, Elementor & WooCommerce
[](file:///c:/Users/420/Crafter)
[
](file:///c:/Users/420/Crafter/packages/mcp-server)
[
](file:///c:/Users/420/Crafter/packages/mcp-server/src/handlers/tools.ts)
[
](file:///c:/Users/420/Crafter/tests/contracts)
[
](file:///c:/Users/420/Crafter/tests/e2e)
[
](file:///c:/Users/420/Crafter/prompts/evals)
[
](file:///c:/Users/420/Crafter/docs)
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
- Dual Transport MCP Server (stdio + SSE): Ultra-low latency local stdio pipes and remote SSE over HTTPS with Bearer token authentication.
- Serverless Global Edge Mesh (
packages/edge-runtime): Cloudflare Workers edge gateway with Geo-distributed KV caching for sub-15ms AST response times. - Bi-Directional Elementor AST Engine: Manipulates modern Flexbox/Grid containers, sections, columns, and widgets with 7-character hexadecimal UUID preservation.
- WooCommerce Engine: Programmatic management of products, variations, inventory, orders, customer cohorts, and batch coupon campaigns.
- AI Voice Studio (
VoiceStudio): Real-time WebRTC audio waveform visualization and Speech-to-Intent classification (craftor_voice_classify_intent,craftor_voice_dispatch_action). - 3rd-Party Addon Ecosystem SDK (
@craftor/addon-sdk): Extensible SDK with official adapters for Crocoblock (JetEngine) dynamic listings and Essential Addons. - Multi-Agent Swarm Canvas (
services/collaboration): Concurrent orchestration of Designer, Copywriter, SEO, and QA agents with Conflict-Free Replicated Data Type (CRDT) synchronization. - Autonomous Self-Healing Daemon (
services/self-healing): Automatic malformed AST repair, circular reference remediation, and PHP fatal timeout/memory triage. - Real-Time Performance Auto-Tuner: External CSS generation, font-display swap injection, image lazy loading, and Cloudflare/LiteSpeed cache purges.
- Advanced WordPress Integrations: Programmatic CPT and ACF Pro field groups, RankMath / Yoast SEO metadata, and WPML / Polylang AST translations.
- Zero-Trust Security Shield: AST prompt injection scanner, capability boundaries, AES-256 token vaults, and rate quota enforcement.
- 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](file:///c:/Users/420/Crafter/docs/18_FINAL_ARCHITECTURE_FREEZE_AND_READINESS_CERTIFICATION.md) |
Solution Architect | Certified |
| 02 | [21_STAGE_GATE_2_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/21_STAGE_GATE_2_CERTIFICATION_AND_CANVAS_SYNC_SIGN_OFF.md) |
Elementor Engineer | Certified |
| 03 | [22_STAGE_GATE_3_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/22_STAGE_GATE_3_CERTIFICATION_AND_ADVANCED_INTEL_SIGN_OFF.md) |
Prompt Engineer | Certified |
| 04 | [23_STAGE_GATE_4_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/23_STAGE_GATE_4_CERTIFICATION_AND_ENTERPRISE_SIGN_OFF.md) |
Security Engineer | Certified |
| 05 | [24_STAGE_GATE_5_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/24_STAGE_GATE_5_CERTIFICATION_AND_DISTRIBUTION_SIGN_OFF.md) |
Release Manager | Certified |
| 06 | [25_STAGE_GATE_6_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/25_STAGE_GATE_6_CERTIFICATION_AND_DASHBOARD_SIGN_OFF.md) |
UI/UX Designer | Certified |
| 07 | [26_STAGE_GATE_7_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/26_STAGE_GATE_7_CERTIFICATION_AND_ADVANCED_TOOLS_SIGN_OFF.md) |
WordPress Engineer | Certified |
| 08 | [27_STAGE_GATE_8_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/27_STAGE_GATE_8_CERTIFICATION_AND_SELF_HEALING_SIGN_OFF.md) |
Debugging Engineer | Certified |
| 09 | [28_STAGE_GATE_9_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/28_STAGE_GATE_9_CERTIFICATION_AND_VOICE_STUDIO_SIGN_OFF.md) |
Prompt Engineer | Certified |
| 10 | [29_STAGE_GATE_10_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/29_STAGE_GATE_10_CERTIFICATION_AND_ADDON_SDK_SIGN_OFF.md) |
Tool Registry Manager | Certified |
| 11 | [30_STAGE_GATE_11_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/30_STAGE_GATE_11_CERTIFICATION_AND_COLLABORATION_SIGN_OFF.md) |
Solution Architect | Certified |
| 12 | [31_STAGE_GATE_12_CERTIFICATION.md](file:///c:/Users/420/Crafter/docs/31_STAGE_GATE_12_CERTIFICATION_AND_PRODUCTION_GA_SIGN_OFF.md) |
Release Manager | Certified |
Craftor is engineered from first principles to establish the global standard for AI-native web building and headless WordPress orchestration.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.