AITeamGuide Hub · MCP server
Terraform MCP Server
HashiCorp's MCP server that gives assistants current Terraform provider and module docs for writing infrastructure code.
MCP server★ 1.6k starsArchived on GitHubMPL-2.0Ops & ITSoftware development
Key facts
- Type
- MCP server
- Jobs it fits
- Write and review infrastructure code
- Fields
- Ops & IT, Software development
- Works with
- Claude Code, VS Code, Any MCP client
- Licence
- MPL-2.0
- Stars
- 1,551 as of October 21, 2026
- Last updated
- October 21, 2026 (last push to GitHub)
- Author
- @hashicorp
- Submitted by
- @aiteamguide
- Added to the Hub
- October 21, 2026
Install / Use it
MPL-2.0Local MCP server
Cursor
Or paste into ~/.cursor/mcp.json
{
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server"
]
}
}
}Claude Code
Command from the README
claude mcp add terraform -s user -t stdio -- docker run -i --rm hashicorp/terraform-mcp-serverClaude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude
{
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"hashicorp/terraform-mcp-server"
]
}
}
}VS Code
Or from the command line
code --add-mcp '{"name":"terraform","type":"stdio","command":"docker","args":["run","-i","--rm","hashicorp/terraform-mcp-server"]}'Codex
Command from the README
codex mcp add terraform -- docker run -i --rm hashicorp/terraform-mcp-serverSafety: Runs code from a third-party repo. Review the source and the permissions before installing.
Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.
Prefer a ready-made product?
Commercial agents for the same job, with real prices: all coding agents.
More from the Hub
-
Skill
Superpowers
A skills library and working method for coding agents: brainstorm, plan, test first, then build.
Software development★ 303k
-
Agent
OpenCode
An open-source coding agent for the terminal and desktop that works with many model providers.
Software development★ 220k
-
MCP server
MCP reference servers
The official set of reference MCP servers (filesystem, fetch, git, memory, time and more) used as starting points.
Software development · Personal productivity★ 91k
-
MCP server
Context7
An MCP server and CLI that feeds coding assistants up-to-date library docs so they stop using outdated APIs.
Software development★ 63k
Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.