Skip to content

Generator SDK MCP Server

The Generator SDK MCP (Model Context Protocol) Server is an AI protocol service for the Generator SDK. It supports conversational code generation and development through AI tools like Cursor and Claude Desktop.

If your goal is to have a developer start a new generator directly via AI, we recommend reading:

Core Features

  • Intelligent Code Generation: Generate code based on natural language descriptions.
  • Runtime Starter Generation: Generate HTML / Vue generator skeletons that support full / embed dual modes by default and mount generator-workbench as the standard shell.
  • Documentation Query: Search API documentation and usage examples.
  • Supported Modules: auth, cloud, billing, credits, export, and runtime contract.

Quick Start

View on npm

  1. Open Cursor Settings (Cmd/Ctrl + ,).
  2. Search for MCP to find the MCP Servers configuration.
  3. Add the service:
json
{
  "mcpServers": {
    "generator-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "@atomm-developer/generator-sdk-mcp@latest"
      ]
    }
  }
}
  1. Restart Cursor.

Claude Desktop Configuration

Edit the configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows: %APPDATA%\Claude\claude_desktop_config.json

json
{
  "mcpServers": {
    "generator-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "@atomm-developer/generator-sdk-mcp@latest"
      ]
    }
  }
}

Usage Examples

Generate Code

text
Generate an HTML page with user login functionality for production environment.

Generate Runtime Starter

text
Please generate a starter-html-runtime using generator-sdk, supporting auth, billing, and export, 
with full/embed dual modes, panelFilter by default, and generator-workbench as the host shell.

Query API

text
What APIs are available in the cloud module of Generator SDK?

Search Documentation

text
How to use Generator SDK for user authentication?

Available Tools

  • generate_code: Generates Generator SDK code.
  • generate_runtime_starter: Generates a new runtime starter (HTML / Vue).
  • query_documentation: Queries API documentation.
  • list_apis: Lists all available APIs.

FAQ

Q: "command not found" error

bash
npm cache clean --force

Q: "404 Not Found" error Ensure you are using the correct package name:

text
@atomm-developer/generator-sdk-mcp

Technical Support

MIT Licensed