|
| 1 | +# PlanExe + Chlorpromazine MCP Integration Design |
| 2 | + |
| 3 | +**Version:** 1.0 |
| 4 | +**Date:** February 8, 2026 |
| 5 | +**Author:** OpenClaw Agent |
| 6 | +**Status:** Design Phase |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +## Executive Summary |
| 11 | + |
| 12 | +This document outlines the strategy for integrating **PlanExe** (a strategic planning tool) into **Chlorpromazine MCP Server** to enable organic discovery by AI agents and establish a monetization pathway. The integration will add PlanExe as a new MCP tool in Chlorpromazine, allowing AI agents to automatically invoke comprehensive planning workflows when users express planning needs. |
| 13 | + |
| 14 | +**Key Benefits:** |
| 15 | +- **Organic Discovery**: AI agents discover PlanExe through Smithery.ai's MCP directory |
| 16 | +- **Seamless Integration**: Single tool call triggers 15-20 minute planning workflow |
| 17 | +- **Built-in Monetization**: Credit system with free tier -> paid conversion funnel |
| 18 | +- **Low Friction**: No user authentication required for discovery; API key only for paid usage |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +## 1. Integration Strategy |
| 23 | + |
| 24 | +### 1.1 High-Level Architecture |
| 25 | + |
| 26 | +``` |
| 27 | +User -> AI Agent (Claude/GPT) -> Chlorpromazine MCP -> PlanExe HTTP API -> Strategic Plan |
| 28 | + | |
| 29 | + Smithery.ai Directory |
| 30 | + | |
| 31 | + Organic Discovery |
| 32 | +``` |
| 33 | + |
| 34 | +### 1.2 Tool Name Options |
| 35 | + |
| 36 | +Recommended tool names (ranked by discoverability): |
| 37 | + |
| 38 | +1. **`strategic_plan`** * RECOMMENDED |
| 39 | + - Clear, professional, matches what users ask for |
| 40 | + - Natural language: "create a strategic plan for..." |
| 41 | + - SEO-friendly for Smithery.ai search |
| 42 | + |
| 43 | +2. **`plan_escape`** |
| 44 | + - Clever callback to "PlanExe" branding |
| 45 | + - Less discoverable (users don't search for "escape") |
| 46 | + |
| 47 | +3. **`make_a_plan`** |
| 48 | + - Conversational, approachable |
| 49 | + - Matches natural speech patterns |
| 50 | + - Risk: Too generic, may conflict with other tools |
| 51 | + |
| 52 | +4. **`structured_thinking`** |
| 53 | + - Abstract, less clear about output |
| 54 | + - Doesn't convey "business plan" or "strategic plan" |
| 55 | + |
| 56 | +### 1.3 When AI Agents Should Invoke It |
| 57 | + |
| 58 | +**Context Triggers** (high-confidence scenarios): |
| 59 | + |
| 60 | +1. **Explicit Planning Requests** |
| 61 | + - "Create a business plan for..." |
| 62 | + - "I need a strategic plan for..." |
| 63 | + - "Help me plan a project to..." |
| 64 | + - "Generate a feasibility study for..." |
| 65 | + |
| 66 | +2. **Project Kickoffs** |
| 67 | + - User describes a new venture/project without a clear path |
| 68 | + - Questions like "How do I start a [business/project]?" |
| 69 | + - "What would it take to launch..." |
| 70 | + |
| 71 | +3. **Complex Problem Decomposition** |
| 72 | + - Multi-month initiatives with unclear scope |
| 73 | + - Budget planning for large projects ($10k+) |
| 74 | + - Stakeholder coordination needs |
| 75 | + - Regulatory/compliance-heavy projects |
| 76 | + |
| 77 | +4. **User Frustration Signals** |
| 78 | + - "I don't know where to start" |
| 79 | + - "This is too overwhelming" |
| 80 | + - "Can you break this down for me?" |
| 81 | + |
| 82 | +**Anti-Triggers** (when NOT to invoke): |
| 83 | +- Simple task lists or to-dos |
| 84 | +- Quick tactical decisions |
| 85 | +- Code architecture discussions (use other tools) |
| 86 | +- Time-sensitive questions (PlanExe takes 15-20 min) |
| 87 | + |
| 88 | +--- |
| 89 | + |
| 90 | +## 2. Technical Implementation |
| 91 | + |
| 92 | +### 2.1 Tool Handler Structure |
| 93 | + |
| 94 | +Following Chlorpromazine's pattern, create a new tool at: |
| 95 | +`/mnt/d/1Projects/chlorpromazine-mcp/src/tools/strategic-plan/` |
| 96 | + |
| 97 | +**File Structure:** |
| 98 | +``` |
| 99 | +strategic-plan/ |
| 100 | +├── handler.ts # Core logic, API calls to PlanExe |
| 101 | +├── schema.ts # Zod schemas for input/output validation |
| 102 | +├── index.ts # Tool definition and exports |
| 103 | +└── README.md # Documentation for contributors |
| 104 | +``` |
| 105 | + |
| 106 | +[TRUNCATED FOR CLEAN PUSH] |
0 commit comments