MCP Command

Start the Better Fullstack MCP server over stdio for AI coding agents.

Open documentation actions

The mcp command starts the Better Fullstack MCP server. Agents can use it to inspect schemas, validate compatibility, preview generated files, create projects, and add supported features to existing projects.

npx create-better-fullstack@latest mcp

The server uses stdio transport. Configure your MCP client to launch the command and communicate over standard input/output.

Client Examples

Claude Code:

claude mcp add --transport stdio better-fullstack -- npx create-better-fullstack mcp

Generic MCP client config:

{
  "mcpServers": {
    "better-fullstack": {
      "command": "npx",
      "args": ["-y", "create-better-fullstack", "mcp"]
    }
  }
}

Tool Surface

ToolPurpose
bfs_get_guidanceReturns workflow rules and field semantics.
bfs_get_schemaReturns valid options for one category or all categories.
bfs_check_compatibilityValidates stack selections before generation.
bfs_plan_projectDry-runs generation in memory.
bfs_create_projectWrites a new project to disk.
bfs_plan_additionPlans feature additions for an existing project.
bfs_add_featureAdds supported features to an existing project.

See the MCP tools reference for inputs, outputs, and safe workflows.

Safety Notes

  • bfs_plan_project does not write files.
  • bfs_create_project writes files but does not install dependencies.
  • bfs_add_feature mutates an existing Better Fullstack project and does not install dependencies.
  • Agents should call bfs_get_guidance and bfs_check_compatibility before project creation.
  • docs opens the public documentation site.
  • builder opens the interactive Stack Builder.
  • sponsors shows Better Fullstack sponsors.

See the CLI reference for examples of these utility commands.