Frontend Dev's GuideGenesis MCP

Genesis MCP

The Mindbricks Genesis MCP server allows AI agents and external tools to design, configure, and manage Mindbricks projects, and to access frontend development prompts for building frontends against Mindbricks-generated backends.

Overview

The Mindbricks Genesis MCP Server is a dedicated MCP endpoint exposed by the Mindbricks platform itself. It allows AI agents, external tools, and automation workflows to:

  • Read and modify project configurations

  • Access the Mindbricks Pattern Ontology documentation

  • Fetch frontend prompts for any project and use them for frontend building.

  • Create, update, or delete entire projects

This is the same engine that powers the Ada assistant in the Mindbricks dashboard, now accessible to any MCP-compatible client.


Genesis MCP Server URL

Two transports are supported:

TransportEndpointRecommendation
StreamableHTTP (primary)https://app.mindbricks.com/api/genesis/mcpPreferred for modern MCP clients (Cursor, Claude Desktop)
SSE (legacy fallback)https://app.mindbricks.com/api/genesis/mcp/sseFor older MCP clients that don't support StreamableHTTP

Authentication Required: You must use an API Key for authentication. Pass it as a bearer token:

Authorization: Bearer sk_mbx_your_api_key_here

OpenAuth (OAuth) is not supported yet. Only API key authentication is currently available for the Genesis MCP server.

How to Create an API Key

  1. Log into the Mindbricks dashboard at https://app.mindbricks.com

  2. Navigate to your Profile page

  3. Open the API Keys section

  4. Create a new secret API key with a descriptive name (e.g., "Cursor MCP", "Lovable Agent")

  5. Copy the key immediately — it is shown only once


Available Tools

Schema Tools

ToolDescription
getTypeSchemaGet JSON Schema for a specific Mindbricks pattern type
listTypeNamesList all available pattern type names
ToolDescription
listAtList child items at a project path
getPathInfoGet metadata/type info for a specific path
readAtRead full data at a specific path

Write Tools

ToolDescription
updateAtCreate or update data at a path
deleteAtDelete data at a path

Project Tools

ToolDescription
createProjectCreate a new Mindbricks project
getProjectOverviewGet high-level project structure
getProjectByGroupIdGet project metadata by GitLab groupId (namespace ID)
getFullProjectGet complete project JSON
saveFullProjectSave/replace complete project JSON

Documentation Tools

ToolDescription
getOntologyDocsGet full Mindbricks ontology documentation
getOntologyIndexGet ontology documentation index (table of contents)
getOntologyTreeGet ontology hierarchy tree (modules, chapters, sections, pattern types)
getOntologyDocByPathGet ontology docs resolved from a project path
getOntologyDocByPatternNameGet ontology docs by pattern class name

Frontend Prompt Tools

ToolDescription
listFrontendPromptsList frontend prompt documents for a project
getFrontendPromptGet a specific frontend prompt rendered as markdown

Deployment Tools

ToolDescription
deployProjectStart asynchronous deployment for project services
getDeploymentStatusGet per-service deployment status

MCP Prompts (Native)

In addition to tools, the Genesis MCP server exposes native MCP prompts — a first-class MCP primitive that injects content directly into the AI conversation context. In compatible clients (Claude Desktop, Cursor), these appear as selectable items:

PromptDescription
frontendPromptSelect a frontend development guide by project and index. The full rendered guide is injected into the conversation.
projectOverviewLoad the complete project structure as context — services, data objects, APIs, and configuration.
ontologyTreeLoad the ontology hierarchy map (modules, chapters, sections, pattern types).

Native MCP prompts are the preferred way to load frontend guides interactively, while the tool versions (listFrontendPrompts, getFrontendPrompt) are better for programmatic or automated workflows.

ontologyTree exists in both forms:

  • Tool: getOntologyTree (returns tree text as tool output)

  • Prompt: ontologyTree (injects the tree directly into model context)


Use Cases

1. Build Frontend with AI Agents

AI coding agents (Lovable, Bolt, Cursor) can use the Genesis MCP to understand your backend and build a matching frontend:

  1. Connect the AI agent to the Genesis MCP server

  2. The agent calls getProjectOverview to understand the project structure

  3. The agent calls listFrontendPrompts and getFrontendPrompt to get detailed UI requirements and API documentation

  4. The agent uses the prompts to generate frontend pages with correct API integration

Frontend prompts include complete REST API documentation (endpoints, request/response schemas, authentication headers) so the AI agent can produce working frontend code immediately.

2. Update Backend Design from Frontend Needs

When building a frontend, you often discover that the backend needs adjustments — new fields, new APIs, or different query patterns. With the Genesis MCP:

  1. The AI agent identifies that a new field or API is needed

  2. It calls readPath to see the current configuration

  3. It calls getOntologyDocs to understand the pattern structure

  4. It calls writePath to add the new field, API, or configuration

  5. The project is automatically versioned and ready for regeneration

This creates a feedback loop where frontend development drives backend evolution, all through AI agents.

3. Full Project Design with Natural Language

You can describe your project requirements to an AI agent connected to the Genesis MCP, and it can create or modify the entire project configuration:

  • "Add a comments data object to the blog service with userId, content, and createdAt fields"

  • "Create a new analytics service with pageView tracking and daily aggregation APIs"

  • "Enable API key authentication and add rate limiting to the public APIs"


Connecting External Tools

Cursor

Add the following to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "mindbricks": {
      "url": "https://app.mindbricks.com/api/genesis/mcp",
      "headers": {
        "Authorization": "Bearer sk_mbx_your_api_key_here"
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "mindbricks": {
      "url": "https://app.mindbricks.com/api/genesis/mcp",
      "headers": {
        "Authorization": "Bearer sk_mbx_your_api_key_here"
      }
    }
  }
}

If your Claude Desktop version does not support StreamableHTTP, use the SSE fallback:

{
  "mcpServers": {
    "mindbricks": {
      "transport": "sse",
      "url": "https://app.mindbricks.com/api/genesis/mcp/sse",
      "headers": {
        "Authorization": "Bearer sk_mbx_your_api_key_here"
      }
    }
  }
}

Other MCP Clients

Any MCP-compatible client can connect using either transport:

  • StreamableHTTP (preferred): POST https://app.mindbricks.com/api/genesis/mcp

  • SSE (legacy fallback): GET https://app.mindbricks.com/api/genesis/mcp/sse

  • Authentication: Authorization: Bearer sk_mbx_... header