Skip to main content
Glama
Provision Stack MCP

Provision Stack MCP

by TravisLinkey

Provision Stack MCP

Cloud infrastructure provisioning via natural language. Deploy production-ready infrastructure on your own AWS, GCP, Azure, or Oracle account with a single prompt.

Quick Start

Point your MCP client directly at the hosted API — no local process needed:

{
  "mcpServers": {
    "provision-stack": {
      "url": "https://api.provision-stack.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}

Get a token: curl -X POST https://api.provision-stack.com/auth/tokens -H 'Content-Type: application/json' -d '{"agentId":"your-agent","scopes":[]}'

Local stdio (via npx)

npx @provision-stack/mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "provision-stack": {
      "command": "npx",
      "args": ["-y", "@provision-stack/mcp"],
      "env": {
        "PROVISION_STACK_API_TOKEN": "YOUR_TOKEN"
      }
    }
  }
}

Install globally

npm install -g @provision-stack/mcp
provision-stack-mcp

Related MCP server: cloudwright-mcp

Tools (12)

Tool

Purpose

suggestions.generate

Get 4 tier options (Starter/MVP/Startup/Enterprise) with monthly costs

pricing.get

Detailed cost breakdown for individual cloud resources

region.detect

Detect configured AWS/GCP/Azure/Oracle region

providers.detect

Detect all configured cloud providers

credentials.list

Check cloud credential configuration

deploy.run

Provision infrastructure via the Execution API

deploy.status

Check deployment progress

deploy.destroy

Tear down a specific deployment

deploy.list

List all tracked deployments

deploy.teardown_latest

Destroy most recent active deployment

billing.balance

Check account credit balance

billing.top_up

Add credits (XRP or Stripe)

Typical Flow

1. region.detect          → Get your AWS region
2. suggestions.generate   → Get 4 tier options with costs
3. Present options        → Show costs, resources, tradeoffs
4. WAIT for user choice   → Never proceed without explicit selection
5. deploy.run             → Provision infrastructure
6. Report results         → Deployment ID, resources, costs

Environment Variables

Variable

Description

Default

PROVISION_STACK_EXECUTION_API_URL

API base URL

https://api.provision-stack.com

PROVISION_STACK_API_TOKEN

Bearer token

(none — read-only tools work without)

AWS_REGION

AWS region override

~/.aws/config or us-east-1

AWS_PROFILE

AWS profile name

default

Architecture

This package is a thin client — it defines MCP tools and forwards calls to the hosted Execution API. All business logic (pattern matching, pricing, Terraform generation, verification) runs server-side.

Your AI Client → MCP stdio/HTTP → This Package → Execution API → Your AWS Account

The API endpoint requires authentication for write operations (deploy.run, deploy.destroy, billing.top_up). Read operations (suggestions.generate, pricing.get, region.detect) work without a token.

Pre-0.5.0 underscore names still work on tools/call (e.g. generate_suggestions → suggestions.generate); tools/list advertises only the dotted names.

License

MIT

Available Tools

12 tools
billing.balanceA
Read-onlyIdempotent

Return the account credit position as total, held, and available USD without modifying the balance. Call when deploy.run returns HTTP 402 insufficient_credits, or before deploy.run when you need to confirm availableUsd covers the hold. Do not use this to add funds — call billing.top_up when availableUsd is insufficient, then retry deploy.run. Read-only; does not create charges or hold credits.

Inputs: no named parameters. Returns: heldUsd, accountId, balanceUsd, availableUsd

billing.top_upA

Create a credit top-up intent for the account (does not immediately increase balance). Call when deploy.run fails with HTTP 402 or billing.balance shows availableUsd below the required hold; choose rail=xrp (agent pays on-ledger with REQUIRED destination tag + exact amount) or rail=stripe (human Checkout URL). Do not call to inspect balance — use billing.balance. After funds confirm, retry the failed deploy.run. Side effects: opens a payment/deposit flow (open world); not idempotent — each call creates a new top-up.

Inputs: amountUsd (required), rail. Returns: memo, topupId, amountUsd, amountXrp, +6 more

credentials.listA
Read-onlyIdempotent

Check cloud provider credential configuration without exposing secrets. Call before deploy.run to confirm AWS/GCP/Azure/Oracle/Cloudflare are ready. Returns configured=true/false plus guidance — never returns secret values.

Inputs: provider. Returns: aws, gcp, azure, oracle, +1 more

deploy.destroyA
Destructive

DESTRUCTIVE: permanently destroy all cloud resources owned by a deployment. Irreversible — confirm the deploymentId with the user first. Prefer deploy.teardown_latest only when intentionally removing the newest active deployment. Optional reason is stored for audit.

Inputs: deploymentId (required), reason. Returns: status, destroyedAt, deploymentId

deploy.listA
Read-onlyIdempotent

Return the Execution API’s tracked deployments (deploymentId, status, category, createdAt) so you can select a target for status checks or teardown. Call when you need a deploymentId and do not already have one from deploy.run, or to inventory active work before deploy.destroy/deploy.teardown_latest. Do not use this to monitor a known deployment — poll deploy.status with that id instead. Read-only; does not create, modify, or destroy resources.

Inputs: no named parameters. Returns: count, deployments

deploy.runA

Provision the explicitly selected suggestion through the Execution API. Never call before presenting options and receiving user approval. Pass resources from the chosen suggestions.generate option as selection evidence. The deploy fee is held from the account credit balance and captured only after verification passes (failed deployments are free). On HTTP 402, call billing.top_up and retry. When the outcome includes a custom domain and CLOUDFLARE_API_TOKEN is set, DNS records are automatically created pointing the domain at the deployed endpoint. After accept, poll deploy.status.

Inputs: outcome (required), resources (required), tier, region, +3 more. Returns: tier, quote, region, status, +5 more

deploy.statusA
Read-onlyIdempotent

Check deployment progress and retrieve verification evidence when complete. Poll after deploy.run until status is verified/failed/destroyed. On success, result.endpoints and result.verificationResults contain live URLs and check outcomes.

Inputs: deploymentId (required). Returns: result, status, agentId, category, +5 more

deploy.teardown_latestA
Destructive

DESTRUCTIVE: destroy the newest active deployment, or all active deployments when all=true. Skips already destroyed/failed entries. Confirm with the user before calling — especially with all=true. Prefer deploy.destroy with an explicit deploymentId when targeting a specific deployment.

Inputs: all. Returns: results, destroyed

pricing.getA
Read-onlyIdempotent

Estimate monthly and hourly USD cost for one cloud resource type (e.g. ec2_instance, rds_instance, gcp_cloud_run) without provisioning anything. Use after suggestions.generate when the user wants a component-level breakdown for a single resource; prefer region from region.detect. Provider is inferred from resourceType prefixes (gcp_*, azure_*, oracle_*) when omitted. Do not use for full-stack option comparison — that is suggestions.generate. Does not create resources or hold credits.

Inputs: resourceType (required), zone, ocpus, shape, +10 more. Returns: region, provider, components, estimateId, +4 more

providers.detectA
Read-onlyIdempotent

Detect all configured cloud providers and their regions in one call. Prefer this over repeated region.detect when comparing AWS/GCP/Azure/Oracle. Returns { providers: [...] } with source (env|config|default) and a guidance message per provider.

Inputs: no named parameters. Returns: providers

region.detectA
Read-onlyIdempotent

Resolve the active region for one cloud provider from env/config, or a documented default when unset. Call before suggestions.generate/deploy.run when targeting a single provider so pricing and placement match local config. Prefer providers.detect instead when comparing AWS/GCP/Azure/Oracle in one step. Read-only; does not change cloud config.

Inputs: provider. Returns: region, source, message, provider

suggestions.generateA
Read-onlyIdempotent

START HERE for any deployment. STEP 1: Call region.detect or providers.detect. STEP 2: Call this tool with the detected region. Returns Starter/MVP/Startup/Enterprise options with monthly costs. When the response includes a clarificationRequest, answer the suggested questions and call again with requirements. Present all options and wait for an explicit choice before deploy.run. When the outcome mentions a custom domain (e.g. 'deploy to api.example.com') and CLOUDFLARE_API_TOKEN is set, DNS records are auto-detected and will be created during deployment.

Inputs: outcome (required), region, provider, requirements, +2 more. Returns: options, outcome, resultId, infraType, +3 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose. Suggestions.generate for options, providers.detect for provider discovery, pricing.get for component costs, credentials.list for credential checks, region.detect for region resolution, and deploy.* tools cover the full lifecycle with clear differentiation (e.g., deploy.destroy vs deploy.teardown_latest). Billing tools are separate. No overlap.

    Naming Consistency5/5

    All tools follow a consistent category.action pattern (noun.verb) using snake_case in the verb part (e.g., suggestions.generate, deploy.teardown_latest, billing.top_up). The pattern is uniform across the set, making it predictable for agents.

    Tool Count5/5

    With 12 tools, the surface is well-scoped. It covers discovery (detect, list), pricing (get, generate), deployment (run, status, destroy, list, teardown_latest), and billing (balance, top_up). No tool is extraneous, and the count feels appropriate for a provisioning domain.

    Completeness5/5

    The tool set appears complete for the domain of provisioning cloud stacks. It covers the full workflow: initial discovery, pricing, deployment, monitoring, teardown, and billing. No obvious gaps like missing deployment modification or log retrieval, given the stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with natural language control over AWS, Azure, GCP, and Alibaba Cloud infrastructure through dynamic API discovery and execution. Supports 51,900+ cloud operations and includes OpenTofu integration for complete infrastructure lifecycle management.
      3
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables deploying and managing infrastructure via natural language, including project/domain management, compute nodes, image deployment, and CI/CD integration.
      70
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      AI infrastructure design agent. Describe your app in plain English; Riley designs, prices, and deploys AWS or GCP infrastructure with generated Terraform.
      24
      Apache 2.0