T
Terraform
HashiCorp Terraform MCP server for Infrastructure as Code workflows, including provider and module discovery through the Terraform Registry.
Share:
About
HashiCorp Terraform MCP server for Infrastructure as Code workflows, including provider and module discovery through the Terraform Registry.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about Terraform.
- What does the Terraform MCP server do?
- The Terraform MCP server facilitates Infrastructure as Code workflows, including provider and module discovery, through the Terraform Registry. It integrates with various MCP clients to streamline Terraform operations.
- How do I configure the Terraform MCP server with an MCP client?
- Configuration typically involves specifying the server's transport method, which is 'stdio' for this server, and its address within your MCP client's settings. Consult your client's documentation for exact steps.
- Does the Terraform MCP server require authentication or API keys?
- No, the Terraform MCP server explicitly uses 'none' for its authentication type. It does not require API keys, OAuth, or other direct credentials for operation.
- What are the key capabilities exposed by the Terraform MCP server?
- This MCP server focuses on enabling core Terraform functionalities. It's designed to expose tools that support Infrastructure as Code, devops practices, and cloud resource management.
- Is there a cost associated with using the Terraform MCP server?
- The Terraform MCP server itself is open source, hosted on GitHub. Any costs would depend on the specific cloud services or infrastructure provisioned and managed by Terraform.
- What is a common limitation or prerequisite for the Terraform MCP server?
- A common prerequisite is having an existing Terraform installation and familiarity with Terraform concepts. The server enhances, but does not replace, the core Terraform CLI experience.
Install Terraform
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terraform"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terraform"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"terraform": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-terraform"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.