Make your AI assistant scaffold and extend projects with Better-T-Stack instead of hand-rolling boilerplate.
The plugin bundles:
- MCP server: the official
create-better-t-stack mcpserver. It runs locally over stdio and needs no API key. It exposesbts_get_stack_guidance,bts_get_schema,bts_plan_project,bts_create_project,bts_plan_addons,bts_add_addons. - Skills:
scaffold-projectstarts a new project, andadd-to-projectadds addons or a workspace package to a project that has abts.jsonc. They make the assistant plan a valid stack and generate it instead of writing config by hand. - Commands:
/better-t-stack:newand/better-t-stack:add. - Agent:
stack-architectdesigns a stack from a product description and generates it.
- Node.js with
npx. The MCP server runs withnpx -y create-better-t-stack@latest mcp.
# Add this repo as a plugin marketplace
/plugin marketplace add AmanVarshney01/create-better-t-stack
# Install the plugin
/plugin install better-t-stack@better-t-stackThen ask for a project, such as "create a fullstack app with Next, Hono, Postgres and Better Auth". The scaffold-project skill activates, and the assistant plans the stack before generating it. You can also run /better-t-stack:new <description>.
This plugin is dual-target: the same skills/ and .mcp.json are reused by a Codex manifest (.codex-plugin/plugin.json), and the repo also exposes a Codex marketplace catalog (.agents/plugins/marketplace.json). Codex gets both skills and the MCP server. Codex skills use the same SKILL.md frontmatter and the same implicit invocation as Claude Code.
Add the marketplace and install via Codex's plugins screen, or point Codex at the local source. Codex discovers marketplaces from $REPO_ROOT/.agents/plugins/marketplace.json or ~/.agents/plugins/marketplace.json.
Note: Codex has no slash-command concept, so
/better-t-stack:newand/better-t-stack:add(and thestack-architectsubagent) are Claude Code only. The skills cover the same workflows in Codex.
Add the server to Codex, Cursor, VS Code, Gemini CLI or another client with add-mcp:
npx -y add-mcp@latest "npx -y create-better-t-stack@latest mcp"Choose your client when prompted. For Codex, you can instead add it to ~/.codex/config.toml:
[mcp_servers.better-t-stack]
command = "npx"
args = ["-y", "create-better-t-stack@latest", "mcp"]Clients that can't run a local server, such as claude.ai and ChatGPT, can add https://www.better-t-stack.dev/mcp as a remote connector. It plans stacks and previews the generated files, then returns the command to run. It can't write files or change an existing project.
- Settle the stack: ask a short question or propose defaults.
- Read valid values from
bts_get_schema. - Plan with
bts_plan_project, and confirm the stack with the user. - Create with
bts_create_projectandinstall: false. - Install, check that the project builds, and report the next commands.
The assistant always plans before it creates and always sends the full config, with explicit "none", [] and booleans.
Without the local MCP server, the skills use the CLI's create-json and add-json (with "dryRun": true first), then the hosted MCP server, then a prefilled Stack Builder link.