@happyvertical/smrt-dev-mcp
Tier 2 development MCP server for SMRT framework -- code generation and project introspection.
v0.20.44MCPTier 2 Dev Tool
Overview
smrt-dev-mcp is a Tier 2 (Development) MCP server that provides code generation and project introspection tools. It is read-only -- it never writes files or executes generated code.
Installation
bash
pnpm install @happyvertical/smrt-dev-mcpSetup
Add to your .mcp.json or Claude Desktop config:
json
{
"mcpServers": {
"smrt-dev-mcp": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@happyvertical/smrt-dev-mcp"]
}
}
}Set DEBUG=true in the environment to enable diagnostic logging.
Available Tools
generate-smrt-class
Generate a complete SMRT class with @smrt() decorator, fields, and imports.
| Parameter | Type | Required | Description |
|---|---|---|---|
className | string | Yes | Class name (PascalCase) |
properties | array | Yes | Property definitions (name, type, required?, description?) |
baseClass | string | No | 'SmrtObject' (default) or 'SmrtCollection' |
includeApiConfig | boolean | No | Include REST API config (default: true) |
includeMcpConfig | boolean | No | Include MCP config (default: true) |
includeCliConfig | boolean | No | Include CLI config (default: true) |
Supported property types: text, integer, decimal, boolean, datetime, json.
introspect-project
Scan a project directory for SMRT objects and return a class/field/relationship report.
| Parameter | Type | Required | Description |
|---|---|---|---|
directory | string | No | Project directory (default: cwd) |
includeFields | boolean | No | Include field details |
includeRelationships | boolean | No | Analyze relationships |
Important Notes
- This is a Tier 2 dev tool -- it does NOT provide runtime data operations
- For runtime MCP (live CRUD on your objects), use Tier 1 auto-generated MCP from
@smrt({ mcp: true }) - Read-only: never writes files or executes generated code
- Field type mapping supports:
text,integer,decimal,boolean,datetime,json