terraformmcp

The official HashiCorp Terraform MCP server integrates with the Terraform Registry and HCP Terraform, enabling AI agents to browse providers, discover modules, manage workspaces, and validate infrastructure configurations via the Model Context Protocol.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "terraformmcp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-666ee768a7c1d0fd69e3be1167f4be15537e4f552e1a68f3b0def49ba3d14577. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/terraform-mcp-server-infrastructure-as-code before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

The official HashiCorp Terraform MCP server integrates with the Terraform Registry and HCP Terraform, enabling AI agents to browse providers, discover modules, manage workspaces, and validate infrastructure configurations via the Model Context Protocol.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Terraform MCP 服务器用于基础设施即代码"
slug: "terraform-mcp-server-infrastructure-as-code"
version: "1.0.0"
displayName: "Terraform MCP 服务器用于基础设施即代码"
summary: "官方 HashiCorp Terraform MCP 服务器与 Terraform Registry 和 HCP Terraform 集成,使 AI 代理能够通过模型上下文协议浏览提供者、发现模块、管理工作区并验证基础设施配置。"
license: "MIT"
description: "官方 HashiCorp Terraform MCP 服务器与 Terraform Registry 和 HCP Terraform 集成,使 AI 代理能够通过模型上下文协议浏览提供者、发现模块、管理工作区并验证基础设施配置。"
github_stars: 1298
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "MCP"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1298

Terraform MCP 服务器用于基础设施即代码

The official HashiCorp Terraform MCP server integrates with the Terraform Registry and HCP Terraform, enabling AI agents to browse providers, discover modules, manage workspaces, and validate infrastructure configurations through the Model Context Protocol.

Installation

Use the upstream install or setup path that matches your environment:

  • docker run -p 8080:8080 --rm -e TRANSPORT_MODE=streamable-http -e TRANSPORT_HOST=0.0.0.0 hashicorp/terraform-mcp-server
  • go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@latest
  • go install github.com/hashicorp/terraform-mcp-server/cmd/terraform-mcp-server@main
  • git clone https://github.com/1991513ccie-png/skills

Requirements and caveats from upstream:

  • Ensure Docker is installed and running to use the server in a containerized environment.
  • | ENABLE_TF_OPERATIONS | Enable tools that require explicit approval | false |
  • "command": "docker",

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 提供官方 HashiCorp Terraform MCP 服务器集成,解决基础设施即代码的核心需求
  • 支持浏览提供者、发现模块、管理工作区、验证配置等高频刚需功能
Trigger Precision90/100

Highlights

  • description 明确描述核心功能,触发词覆盖合理,边界清晰
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含 Installation、Requirements、Basic usage 等完整章节
  • 提供多种安装方式的端到端示例,frontmatter 完整
Execution Reliability75/100

Areas to improve

  • 异常处理与确认机制缺失 Reported severity: Minor

    未明确说明网络失败、权限不足等异常情况的处理方式,也未提及不可逆操作(如删除工作区)的确认机制

    Recommendation: 建议补充异常处理说明,并为删除等不可逆操作添加确认机制

Highlights

  • 提供多种安装方式(docker、go install、git clone),工具来源明确
  • 参数配置清晰,覆盖主要使用场景
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com
  • www.docker.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.