Copy-paste for agents
Read llms.txt and
llms-full.txt.
These four commands are read-only. They need no account and they write nothing.
npx -y -p @ashlr/stack stack providers --json
npx -y -p @ashlr/stack stack recommend "B2B SaaS with auth, AI, and payments" --json
npx -y -p @ashlr/stack stack scan --json
npx -y -p @ashlr/stack stack templates list --json One command on macOS or Linux. It also installs Phantom Secrets if that CLI is missing.
curl -fsSL stack.ashlr.ai/install.sh | bash
Claude Code, Cursor, and Codex use the same stdio server. Cursor file:
~/.cursor/mcp.json or the project .mcp.json.
{
"mcpServers": {
"ashlr-stack": {
"command": "npx",
"args": ["-y", "-p", "@ashlr/stack", "-p", "ashlr-stack-mcp", "ashlr-stack-mcp"]
}
}
} claude mcp add ashlr-stack -- npx -y -p @ashlr/stack -p ashlr-stack-mcp ashlr-stack-mcp
codex mcp add ashlr-stack -- npx -y -p @ashlr/stack -p ashlr-stack-mcp ashlr-stack-mcp Three paths to Stack
Pick the one that matches where you are. You can mix and match — most users start with the quickstart, then come back for the CLI reference.
Quickstart
Install, stack init, then
stack add supabase. Inspect
each setup result; shown outputs are illustrative.
CLI reference
Every stack command with flags,
defaults, and illustrative examples.
Providers
39 source catalog entries. Adapter notes and available MCP descriptors, where its dashboard is.
What Stack is
Stack is a thin control plane over the services your app actually uses. It
drives provider login and supported creation or attachment, then attempts
credential writes through Phantom, optional
.env.example skeleton export, .mcp.json descriptors
and .stack.toml split config. Populated env files are not
generated automatically; writes and cleanup can be partial.
# inside an initialized project; setup can contact the provider
stack add supabase What Stack isn't
- Not a secret manager. Persistence uses Phantom. Stack handles supplied values during setup and records dedicated slot names in config.
- Not a deploy tool. We don't rebuild Vercel or Railway — we just give them the keys they need.
- Not a lock-in. Stack's own state is plain files:
.stack.tomland.stack.local.toml(TOML) and.mcp.json. It does not write.env; secrets stay in Phantom. Removing Stack does not migrate credentials or guarantee the app still boots; inspect its runtime dependencies.
Part of the Ashlr ecosystem
Stack is one tool in the Ashlr ecosystem. Together these tools aim to be an autonomous, code-first, agent-native software factory, chasing open-source RSI (recursive self-improvement). Agents do the work, and the human acts as a passive board member. Stack is the service layer: it turns provider setup into commands an agent can run and parse.
- Phantom (
phm) runs the agents that improve these repos. - Phantom Secrets (
phantom) is the vault for the secrets you select. - Locus (
locus) pins which account a session acts as. - Lexicon, Ashlr Markdown and the Ashlr plugin cover dictated names, Markdown and Claude Code or Codex.
stack doctor --ecosystem --json reports which of these are
installed and writes nothing. The full list and how agents work on this
repo are on For AI agents.
The whole map
Everything in these docs, grouped by purpose:
- Capabilities and installInstall the CLI and MCP bridge, inspect capabilities and review limits.
- IntroductionWhat Stack is, and what it isn't.
- QuickstartPrepare a project and inspect the supported
stack add supabaseworkflow. - AI recommend + applyRetrieve provider suggestions, save a recipe, then review setup and optional wiring.
- Identify services in an existing projectReview the services a repository depends on before planning setup. Follow a local inventory workflow and interpret the evidence behind each result.
- Plan a SaaS service configurationInspect a starter configuration before provisioning. Review service declarations, local writes and the decisions needed before connecting provider accounts.
- Review service configuration driftCompare a project's configured services with local detection evidence. Interpret orphaned and untracked entries before choosing any cleanup action.
- Stack vs PulumiPulumi builds cloud infra in real code; Stack wires third-party SaaS.
- Stack vs TerraformTerraform is IaC for cloud primitives; Stack is the SaaS control plane.
- Stack vs RailwayCompare Stack's catalog-driven setup with a deployment platform.
- Stack vs DopplerCompare project setup workflows and Phantom-backed credential persistence.
- ChangelogShipped features, hardening passes, and redesigns — in reverse-chronological order.
- RoadmapWhat's shipped, in-progress, considered, and explicitly off the table.
- TelemetryWhat's collected, what isn't, and three ways to opt out.
- Privacy PolicyFull data policy — fields collected, retention schedule, and changelog.