MCP Server
Connect Better Fullstack to Claude Code, Cursor, VS Code, and MCP-compatible AI coding agents.
Open documentation actions
The Better Fullstack MCP server lets agents scaffold projects through structured tool calls instead of guessing CLI flags. It handles schema lookup, compatibility validation, dry-run previews, project creation, and feature additions.
This page describes the Better Fullstack MCP server. The generated-project mcp addon is separate: it writes MCP client/server configuration into a scaffolded app and may run external setup commands.
Setup
Claude Code
claude mcp add --transport stdio better-fullstack -- npx create-better-fullstack mcpCursor
{
"mcpServers": {
"better-fullstack": {
"command": "npx",
"args": ["-y", "create-better-fullstack", "mcp"]
}
}
}VS Code
{
"servers": {
"better-fullstack": {
"type": "stdio",
"command": "npx",
"args": ["-y", "create-better-fullstack", "mcp"]
}
}
}Other MCP clients
Use the same stdio command with clients such as Claude Desktop, Zed, Cursor, Codex, OpenCode, Gemini CLI, Goose, or other MCP-compatible tools:
npx -y create-better-fullstack mcpTools
| Tool | Purpose |
|---|---|
bfs_get_guidance | Returns workflow rules and field semantics. Call this first. |
bfs_get_schema | Returns valid options for configuration categories. |
bfs_check_compatibility | Validates a stack and returns adjusted selections with warnings. |
bfs_plan_project | Dry-runs project generation in memory. |
bfs_create_project | Writes a new project to disk. |
bfs_plan_addition | Validates addon changes for an existing project. |
bfs_add_feature | Adds supported addons to an existing project. |
Resources
The server exposes these MCP resources:
| Resource | Contents |
|---|---|
docs://compatibility-rules | Compatibility rules for stack combinations. |
docs://stack-options | Available technology options by category. |
docs://getting-started | Quick-start recipes for supported ecosystems. |
Recommended tool order
For a new project:
bfs_get_guidancebfs_get_schemabfs_check_compatibilitybfs_plan_projectbfs_create_project
For an existing project:
bfs_plan_additionbfs_add_feature
Key rules for agents
frontendis an array and can contain multiple frontend targets.nonedisables a category.- Set
ecosystemfirst so the agent uses the correct field family. - Array fields include
frontend,addons,examples,rustLibraries,pythonAi,javaLibraries, andjavaTestingLibraries. - Current MCP project schemas do not expose
aiDocsas a create field; project creation uses the server's built-in AI-doc behavior. - Always call
bfs_check_compatibilitybefore creating a project.
Agent prompt
Use Better Fullstack MCP. First call bfs_get_guidance to understand
the rules, then bfs_get_schema for the relevant categories, then
bfs_check_compatibility to validate the stack, then bfs_plan_project
for a dry-run. Only call bfs_create_project after the dry-run succeeds.
Skip normal dependency installation and tell me the exact commands to
install, test, and run the project.