Stackguardian MCP
MCP server by StackGuardian Verified · gh:stackguardian
Connects AI coding agents to StackGuardian to deploy Terraform, OpenTofu and Ansible. Adds MCP tools and ready-to-use skills for workflows, approvals, policies and troubleshooting. Built for teams that run infrastructure deployments with these tools.
Install Stackguardian MCP
Built from the published package, never by AI.
claude mcp add stackguardian-mcp -- npx -y @stackguardian/mcp-wizardRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"stackguardian-mcp": {
"args": [
"-y",
"@stackguardian/mcp-wizard"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"stackguardian-mcp": {
"args": [
"-y",
"@stackguardian/mcp-wizard"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"stackguardian-mcp": {
"args": [
"-y",
"@stackguardian/mcp-wizard"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add stackguardian-mcp -- npx -y @stackguardian/mcp-wizard{
"mcpServers": {
"stackguardian-mcp": {
"args": [
"-y",
"@stackguardian/mcp-wizard"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add stackguardian-mcp npx -y @stackguardian/mcp-wizardGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the stackguardian-mcp block.
About
StackGuardian MCP connects AI coding agents such as Claude Code, Cursor and Codex to StackGuardian, a platform that runs and governs infrastructure deployments. With it, you can turn existing Terraform, OpenTofu or Ansible code into deployment workflows, review changes, require approvals, add policies and find out why a run failed. A one-command installer sets up the hosted MCP server and installs skills for each supported agent.
The skills are playbooks for multi-step tasks, including creating, updating and upgrading workflows, creating stacks and adding policies. Creating a workflow does not deploy anything. A deployment starts when a run is started or when a schedule fires. The agent asks for approval before it approves, rejects or cancels a run. It suits people who deploy infrastructure with Terraform, OpenTofu or Ansible and want to do it from their coding agent.
Written from the project's README and checked against it.
Tools it gives your assistant
sg-create-workflowCreates a workflow from a git repository or library template for Terraform, OpenTofu or custom steps.sg-update-workflowChanges an existing workflow's connector, variables, schedules, approvals, runner and notifications.sg-upgrade-workflowMoves a workflow to another template revision after a dry run shows the exact change.sg-create-stackCreates several related workflows together from a stack template, without starting any run.sg-create-policyAdds a policy that blocks, warns on or requires approval for infrastructure changes.sg-manage-secretsStores secrets in the StackGuardian vault so workflows can refer to them by name.
What you need
- A StackGuardian account with access to the target organization
- Cloud and git (VCS) connectors for the infrastructure you deploy
- A supported coding agent installed on the machine
- Node.js 18 or later for npx, or the standalone executable
Try asking
- Create a workflow for the Terraform in github.com/acme/infra, folder envs/staging.
- Why did the last run of prod-vpc fail?
- Create a stack that sets up a VPC, a security group and an EC2 instance in staging.
Good to know
- Creating a workflow does not deploy anything until a run starts.
- The agent asks for confirmation before approving, rejecting or cancelling a run.
- The MCP server is hosted by StackGuardian. This repository contains the installer.
Security check
C- Downloads a script from the internet and runs itIn
README.md:curl -fsSL https://dl.stackguardian.io/add-sg-mcp/install.sh | sh
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Stackguardian MCP
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Stackguardian MCP: common questions
Does StackGuardian MCP deploy infrastructure on its own?
No. Creating a workflow does not deploy anything. A deployment happens when a run starts, either when you or your agent start a plan or apply, or when a schedule you set fires.
Which coding agents does it support?
The source lists Claude Code, Cursor, Codex, VS Code (Copilot), Gemini CLI, OpenCode and Windsurf, plus several others. Skills are installed where the agent has a skills directory, and Mastra Code and MCPorter get the server only.
Which regions does StackGuardian support?
The source says the region is either Europe (app.stackguardian.io) or United States (us.stackguardian.io). You pick the region when you sign in.
How do I install Stackguardian MCP?
In Claude Code run claude mcp add stackguardian-mcp -- npx -y @stackguardian/mcp-wizard. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Stackguardian MCP the official server?
Stackguardian MCP is published by gh:stackguardian from its verified domain in the official MCP Registry.
Is Stackguardian MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Stackguardian MCP safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to Stackguardian MCP?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Stackguardian MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
