Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Terraform MCP server with 118 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Terraform — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Terraform MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Terraform tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Terraform call.
Tools Discovery →A Terraform MCP server lets AI agents read and write Terraform data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Terraform MCP server ships with 118 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Terraform's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a new configuration version for uploading configuration files.
List configuration versions for a workspace.
Retrieve details about a specific configuration version.
Download configuration files for a configuration version.
Create a notification configuration for a workspace.
List notification configurations for a workspace.
Retrieve details about a notification configuration.
Update a notification configuration.
Delete a notification configuration.
Create a new organization.
List all organizations the user has access to.
Retrieve details about a specific organization.
Update an existing organization's settings.
Delete an organization and all its resources.
List all memberships for an organization.
Retrieve details about a specific organization membership.
Export a plan for external use.
Retrieve details about a plan export.
Get download URL for an exported plan.
Delete an exported plan.
Create a new project in an organization.
List all projects in an organization.
Retrieve details about a specific project.
Update an existing project's configuration.
Delete an empty project.
List tags bound to a project.
Add or update tag bindings on a project.
Create a new run in a workspace.
Retrieve details about a specific run.
List policy checks for a run.
Retrieve details about a specific policy check.
Add a comment to a run.
List comments on a run.
Create a run trigger to connect workspaces.
List all run triggers for a workspace.
Retrieve details about a specific run trigger.
Delete a run trigger.
Create a new state version for a workspace.
List state versions for a workspace.
Retrieve details about a specific state version.
List outputs for a state version.
Retrieve a specific state version output.
Create a new team in an organization.
List all teams in an organization.
Retrieve details about a specific team.
Update an existing team's configuration.
Delete a team from an organization.
Create a new variable in a workspace.
List all variables in a workspace.
Update an existing workspace variable.
Delete a variable from a workspace.
Create a new variable set in an organization.
List all variable sets for an organization.
Retrieve details about a specific variable set.
Update an existing variable set.
Delete a variable set.
Create a new workspace in an organization.
List all workspaces in an organization.
Retrieve details about a specific workspace.
Update an existing workspace's configuration.
Delete a workspace and all its data.
Add tags to a workspace.
List tags attached to a workspace.
Remove tags from a workspace.
Add workspaces that can access this workspace's state.
List workspaces that can access this workspace's state.
Remove workspaces from accessing this workspace's state.
Add organization members to a team by organization membership ID.
Add a variable to a variable set.
Retrieve details about the authenticated user's account.
Retrieve commit information for a configuration version.
Download configuration files for a run.
Retrieve a cost estimate for a run.
Retrieve the entitlement set for an organization.
List the current user's organization memberships.
Retrieve details about a specific plan.
Retrieve the JSON execution plan by plan ID.
Retrieve the JSON execution plan by run ID.
Retrieve details about a specific apply.
Recover state from a failed apply.
List all runs for a specific workspace.
List all runs across an organization.
Retrieve the current state version for a workspace.
List outputs from the current state version of a workspace.
Retrieve details about a specific user.
List all variable sets for a project.
List all variable sets for a workspace.
List all variables in a variable set.
Retrieve details about a workspace using its ID.
Move workspaces into a project.
Update a variable in a variable set.
Remove a user from an organization.
Delete organization members from a team by organization membership ID.
Delete a variable from a variable set.
Remove a variable set from one or more workspaces.
Remove a variable set from one or more projects.
Archive a configuration version.
Mark a configuration version for garbage collection (Enterprise only).
Restore a configuration version marked for garbage collection (Enterprise only).
Permanently delete a configuration version (Enterprise only).
Invite a user to join an organization.
Apply a planned run.
Discard a run that has not been applied.
Cancel a run that is currently planning or applying.
Forcefully cancel a run after normal cancel has been initiated.
Force execute a pending run.
Override a soft-mandatory policy check.
Rollback to a previous state version.
Mark a state version for garbage collection (Enterprise only).
Restore a state version marked for garbage collection (Enterprise only).
Permanently delete a state version (Enterprise only).
Apply a variable set to one or more workspaces.
Apply a variable set to one or more projects.
Safely delete a workspace only if it has no managed resources.
Lock a workspace to prevent new runs.
Unlock a workspace to allow new runs.
Force unlock a workspace locked by another user.
Assign an SSH key to a workspace.
One endpoint. Any framework. Your agent is talking to Terraform in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}172+ actions
137+ actions
134+ actions
128+ actions
125+ actions
109+ actions
85+ actions
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.