MCP.so
登录

GCP Terraform MCP Server

@Kamalesh-Seervi

关于 GCP Terraform MCP Server

暂无概览

基本信息

分类

云与基础设施

许可证

MIT license

运行时

python

传输方式

stdio

发布者

Kamalesh-Seervi

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "gap-terraform-mcp-server": {
      "command": "uv",
      "args": [
        "pip",
        "install",
        "fastmcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GCP Terraform MCP Server?

A Model Context Protocol (MCP) server that provides Terraform best practices, infrastructure as code patterns, and security compliance with Checkov for Google Cloud Platform (GCP). It is designed for developers and DevOps engineers building and managing GCP infrastructure with Terraform.

How to use GCP Terraform MCP Server?

Install the server using uv and add its configuration to your MCP client (e.g., VS Code, GitHub Copilot Chat). Then invoke any of the available tools—such as terraform_workflow_guide, terraform_init, or terraform_run_checkov—via the MCP interface.

Key features of GCP Terraform MCP Server

  • Terraform best practices for GCP
  • Security-first development workflow with validation checks
  • Checkov integration for security and compliance scanning
  • GCP provider documentation and resource search
  • GenAI module templates (Vertex AI, GKE, BigQuery)
  • Terraform Registry module analysis

Use cases of GCP Terraform MCP Server

  • Develop secure GCP infrastructure using Terraform best practices
  • Automate security scanning and remediation with Checkov
  • Generate GCP provider resource configuration snippets
  • Deploy AI/ML workloads using specialized GenAI modules
  • Analyze and reuse Terraform Registry modules in your projects

FAQ from GCP Terraform MCP Server

What are the prerequisites to use GCP Terraform MCP Server?

You need uv, Python 3.10, the Terraform CLI, Checkov, and GCP authentication (gcloud CLI recommended).

How do I install GCP Terraform MCP Server?

Install uv, then run uvx gcp-terraform-mcp-server@latest or install the package with pip. You may also need to install FastMCP separately using uv add fastmcp.

How do I run the server?

Use the FastMCP CLI: fastmcp run src/gcp_terraform_mcp_server/main.py:mcp for stdio transport, or add --transport sse --host 0.0.0.0 --port 8080 for SSE mode.

Can I integrate with GitHub Copilot?

Yes. Add the server configuration to your VS Code settings.json as shown in the README, then use the commands in the Copilot Chat panel.

What security considerations should I keep in mind?

Follow the structured development workflow, review all Checkov warnings manually, fix security issues when possible, document exceptions, and conduct your own independent assessment before applying changes to production.

评论

云与基础设施 分类下的更多 MCP 服务器