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 mcpThe 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 mcpGeneric MCP client config:
{
"mcpServers": {
"better-fullstack": {
"command": "npx",
"args": ["-y", "create-better-fullstack", "mcp"]
}
}
}Tool Surface
| Tool | Purpose |
|---|---|
bfs_get_guidance | Returns workflow rules and field semantics. |
bfs_get_schema | Returns valid options for one category or all categories. |
bfs_check_compatibility | Validates stack selections before generation. |
bfs_plan_project | Dry-runs generation in memory. |
bfs_create_project | Writes a new project to disk. |
bfs_plan_addition | Plans feature additions for an existing project. |
bfs_add_feature | Adds supported features to an existing project. |
See the MCP tools reference for inputs, outputs, and safe workflows.
Safety Notes
bfs_plan_projectdoes not write files.bfs_create_projectwrites files but does not install dependencies.bfs_add_featuremutates an existing Better Fullstack project and does not install dependencies.- Agents should call
bfs_get_guidanceandbfs_check_compatibilitybefore project creation.
Related Commands
docsopens the public documentation site.builderopens the interactive Stack Builder.sponsorsshows Better Fullstack sponsors.
See the CLI reference for examples of these utility commands.