MCP Server

Build and connect the MakerKit MCP server for AI-assisted development.

Build the MCP server with:

pnpm --filter "@kit/mcp-server" build

This guide is part of the Next.js Prisma SaaS Kit installation.

Built Entry Point

The built server path is:

tooling/mcp-server/build/index.mjs

Cursor Example

{
"makerkit": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/project/tooling/mcp-server/build/index.mjs"]
}
}

Tool Coverage

The server currently registers tools and resources for:

  • env
  • dev
  • db
  • database resources
  • emails
  • mailbox
  • translations
  • migrations
  • scripts
  • run-checks
  • status
  • prerequisites
  • deps-upgrade-advisor
  • PRD management
  • prompts
  • components

See tooling/mcp-server/src/index.ts for the current source of truth.

Common Pitfalls

  • Build the server before pointing your editor at it.
  • Use index.mjs, not index.js.
  • Use an absolute path in editor configs.

Previous: Running the Project