@launchframe/mcp 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +55 -0
  2. package/package.json +7 -3
package/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # @launchframe/mcp
2
+
3
+ MCP server that gives AI agents (Claude Code, Cursor, etc.) architectural knowledge about your LaunchFrame project — auth patterns, entity conventions, queue usage, cron jobs, webhooks, and more.
4
+
5
+ ## Installation
6
+
7
+ Running `launchframe init` automatically configures this MCP server in your project. No manual setup needed.
8
+
9
+ ## What It Does
10
+
11
+ Instead of bloating `CLAUDE.md` with rules, agents call tools on demand to pull the exact pattern they need:
12
+
13
+ | Tool | Description |
14
+ |------|-------------|
15
+ | `auth_get_overview` | Auth system, guard hierarchy, session flow |
16
+ | `auth_get_decorator_usage` | Exact decorator for a given auth need |
17
+ | `auth_get_guard_usage` | Guard class + import for admin/user/credits |
18
+ | `feature_gates_get_overview` | How feature gates are stored and queried |
19
+ | `feature_gates_get_check_pattern` | Copy-paste feature check snippet |
20
+ | `credits_get_deduction_pattern` | Decorator + guard for route-level credit deduction |
21
+ | `credits_get_add_pattern` | Code snippet for programmatic credit addition |
22
+ | `credits_get_monetization_strategies` | Overview of free/subscription/credits/hybrid modes |
23
+ | `queue_get_names` | Available Bull queues and their purpose |
24
+ | `queue_scaffold_producer` | Producer injection snippet for a given queue |
25
+ | `queue_scaffold_processor` | Processor class scaffold for a queue + job name |
26
+ | `webhook_get_architecture` | Receipt/processing separation, retry logic |
27
+ | `webhook_scaffold_handler` | Controller + processor scaffold for a provider/event |
28
+ | `cron_get_pattern` | Where crons live, available schedules, rules |
29
+ | `cron_scaffold_job` | Cron method scaffold to add to CronService |
30
+ | `module_get_structure` | NestJS module folder structure and conventions |
31
+ | `module_scaffold_nestjs` | Full module scaffold (module + service + controller + entity) |
32
+ | `entity_get_conventions` | TypeORM entity conventions and required decorators |
33
+ | `entity_scaffold_typeorm` | TypeORM entity file scaffold |
34
+ | `env_get_conventions` | Centralized `.env` rules and key variable reference |
35
+ | `variant_get_overview` | Base / Multi-tenant / B2B2C variant differences |
36
+
37
+ ## Manual Install
38
+
39
+ If you prefer a global install:
40
+
41
+ ```bash
42
+ npm install -g @launchframe/mcp
43
+ ```
44
+
45
+ Then in `.mcp.json`:
46
+
47
+ ```json
48
+ {
49
+ "mcpServers": {
50
+ "launchframe": {
51
+ "command": "launchframe-mcp"
52
+ }
53
+ }
54
+ }
55
+ ```
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@launchframe/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "LaunchFrame MCP Server — knowledge tools for AI agents building LaunchFrame projects",
5
- "bin": { "launchframe-mcp": "dist/index.js" },
5
+ "bin": {
6
+ "launchframe-mcp": "dist/index.js"
7
+ },
6
8
  "main": "dist/index.js",
7
9
  "scripts": {
8
10
  "build": "tsc && cp -r src/content dist/content",
@@ -17,7 +19,9 @@
17
19
  "typescript": "^5.4.0",
18
20
  "@types/node": "^22.0.0"
19
21
  },
20
- "publishConfig": { "access": "public" },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
21
25
  "license": "MIT",
22
26
  "type": "module"
23
27
  }