For AI Agents

Built for the agentic web

Stacked exposes a full MCP server so any Claude instance or AI agent can audit, order, monitor, and retrieve credentials — all programmatically.

What the Stacked MCP server does

How to connect

Add Stacked to your MCP client configuration. Works with Claude Code, Claude Desktop, and any MCP-compatible agent.

claude_desktop_config.json / mcp_config.json
{
  "mcpServers": {
    "stacked": {
      "url": "https://stacked.help/mcp",
      "headers": {
        "X-Stacked-API-Key": "your-api-key"
      }
    }
  }
}

All five tools

Each tool is available as a standard MCP tool call. Full input and output schemas below.

audit_stack Read

Identify gaps in any stack by scanning the current environment. Compares existing accounts against a standard SaaS launch stack and returns what is configured, what is missing, and a recommended order.

Input
{
  "project_path": "string",
  "customer_email": "string"
}
Output
{
  "existing_accounts": [...],
  "missing_accounts": [...],
  "recommended_order": [...]
}
create_order Write

Place a precise order for missing accounts. Specify the accounts needed, the domain they belong to, and the priority level. Returns a job ID, pricing breakdown, and estimated delivery time.

Input
{
  "customer_email": "string",
  "product_name": "string",
  "domain": "string",
  "accounts": ["string"],
  "priority": "standard" | "same_day"
}
Output
{
  "job_id": "string",
  "accounts": [...],
  "total_price": number,
  "estimated_delivery": "string"
}
check_order_status Read

Monitor fulfillment in real time. Returns the current status of each account in the order, whether credentials are ready, and an estimated completion time.

Input
{
  "job_id": "string"
}
Output
{
  "status": "string",
  "accounts": [{
    "name": "string",
    "status": "string",
    "credential_ready": boolean
  }],
  "estimated_completion": "string"
}
get_vault Read

Retrieve credentials when complete. Returns all credentials for a fulfilled order, pre-formatted with 1Password CLI op:// references for direct use in Claude Code or CI/CD pipelines.

Input
{
  "job_id": "string"
}
Output
{
  "credentials": [{
    "label": "VERCEL_TOKEN",
    "value": "tok_xxx",
    "op_reference": "op://stacked/vercel/token"
  }]
}
get_bounty_rates Read

Get current pricing for all account types. Returns the customer price, same-day surcharge, and estimated fulfillment time for every account in the Stacked catalog.

Input
{}
Output
{
  "rates": [{
    "account_name": "string",
    "customer_price": number,
    "same_day_surcharge": number,
    "estimated_time": "string"
  }]
}

The full stack audit prompt

This is the system prompt Stacked uses internally when Claude Code calls audit_stack. Understanding it helps you write better agent prompts.

System prompt

Scan this project's environment files, package.json, and configuration to identify which third-party service accounts are already configured and which are missing. Compare against a standard SaaS launch stack. Return existing accounts and recommended missing accounts.

Example Claude Code session

A realistic end-to-end flow showing how Claude Code uses the Stacked MCP to audit, order, and retrieve credentials automatically.

claude-code — ~/my-saas-app
> claude "audit my stack and set up everything I'm missing"

Claude: I'll use the Stacked MCP to audit your stack.

[Calling audit_stack...]
Found 3 existing accounts: Vercel, GitHub, Supabase
Missing 5 accounts: Stripe, Resend, Cloudflare, Sentry, Google Analytics

Estimated cost: $55 for 5 accounts
Estimated delivery: 4-8 hours

Should I place this order?

> yes, standard priority

[Calling create_order...]
Order placed. Job ID: job_abc123
Monitoring fulfillment...

[2 hours later]
[Calling get_vault...]
All 5 accounts ready. Credentials:

STRIPE_SECRET_KEY       op://stacked/stripe/secret-key
RESEND_API_KEY          op://stacked/resend/api-key
CLOUDFLARE_API_TOKEN    op://stacked/cloudflare/api-token
SENTRY_DSN              op://stacked/sentry/dsn
GA_MEASUREMENT_ID       op://stacked/google-analytics/measurement-id

All credentials injected into your environment.

Get your API key to connect Stacked to Claude Code.

Create a Stacked account and generate an API key from your dashboard. Connect it to Claude Code in under a minute.

Get API key →