Skip to content

Commit c265b3b

Browse files
cevianclaude
andcommitted
refactor(mcp): remove scaffolding tools (createApp, createDatabase, setupAppSchema)
Scaffolding now happens outside Claude Code via `crayon init` / `crayon local run`, so these MCP tools are no longer needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fd53890 commit c265b3b

File tree

5 files changed

+2
-172
lines changed

5 files changed

+2
-172
lines changed

CLAUDE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ claude --plugin-dir /path/to/crayon
3535

3636
### MCP Tools
3737

38-
12 tools exposed via `scripts/run-mcp.cjs` (prefixed `mcp__plugin_crayon_crayon-local-tools__`):
38+
9 tools exposed via MCP (crayon-sandbox):
3939

40-
- `createApp` / `createDatabase` / `setupAppSchema` - Project scaffolding
4140
- `listIntegrations` / `getConnectionInfo` - OAuth connection management
4241
- `listWorkflows` / `runWorkflow` / `runNode` - Workflow execution
4342
- `listRuns` / `getRun` / `getTrace` - Run history and tracing
@@ -59,7 +58,7 @@ claude --plugin-dir /path/to/crayon
5958
| User node | `src/crayon/nodes/` in app | Custom logic functions |
6059
| Agent | `src/crayon/agents/` in app (.ts + colocated .md spec) | AI reasoning via Vercel AI SDK |
6160

62-
### App Template Structure (scaffolded by `createApp`)
61+
### App Template Structure (scaffolded by `crayon init`)
6362

6463
```
6564
my-app/

packages/core/src/cli/mcp/tools/createApp.ts

Lines changed: 0 additions & 57 deletions
This file was deleted.

packages/core/src/cli/mcp/tools/createDatabase.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

packages/core/src/cli/mcp/tools/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { createAppFactory } from "./createApp.js";
2-
import { createDatabaseFactory } from "./createDatabase.js";
3-
import { setupAppSchemaFactory } from "./setupAppSchema.js";
41
import { listIntegrationsFactory } from "./listIntegrations.js";
52
import { getConnectionInfoFactory } from "./getConnectionInfo.js";
63

@@ -14,9 +11,6 @@ import { getSkillGuideFactory } from "./getSkillGuide.js";
1411

1512
export async function getApiFactories() {
1613
return [
17-
createAppFactory,
18-
createDatabaseFactory,
19-
setupAppSchemaFactory,
2014
listIntegrationsFactory,
2115
getConnectionInfoFactory,
2216

packages/core/src/cli/mcp/tools/setupAppSchema.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)