GCP Terraform MCP Server
Description
# GCP Terraform MCP Server MCP server for Terraform on GCP best practices, infrastructure as code patterns, and security compliance with Checkov. ## Features - **Terraform Best Practices** - Get prescriptive Terraform advice for building applications on GCP - GCP Architecture…
About
# GCP Terraform MCP Server MCP server for Terraform on GCP best practices, infrastructure as code patterns, and security compliance with Checkov. ## Features - **Terraform Best Practices** - Get prescriptive Terraform advice for building applications on GCP - GCP Architecture guidance for Terraform configurations -…
Details
- Author
- Kamalesh-Seervi
- Downloads
- 327
- Categories
- Cloud Service
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
GCP Terraform MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"gcp terraform mcp server": {
"gap-terraform-mcp-server": {
"command": "uv",
"args": [
"pip",
"install",
"fastmcp"
]
}
}
}
}
McpServers
{
"gap-terraform-mcp-server": {
"command": "uv",
"args": [
"pip",
"install",
"fastmcp"
]
}
}
GCP Terraform MCP Server
MCP server for Terraform on GCP best practices, infrastructure as code patterns, and security compliance with Checkov.
Features
- Terraform Best Practices - Get prescriptive Terraform advice for building applications on GCP
- GCP Architecture guidance for Terraform configurations
- Security and compliance recommendations
- Best practices for GCP provider configurations
- Security-First Development Workflow - Follow a structured process for creating secure code
- Step-by-step guidance for validation and security scanning
- Integration of Checkov at the right stages of development
- Clear handoff points between AI assistance and developer deployment
- Checkov Integration - Work with Checkov for security and compliance scanning
- Run security scans on Terraform code to identify vulnerabilities
- Automatically fix identified security issues when possible
- Get detailed remediation guidance for compliance issues
- GCP Provider Documentation - Search for Google Cloud provider resources
- Find documentation for specific resources and attributes
- Get example snippets and implementation guidance
- Access best practices for GCP service configuration
- GCP GenAI Modules - Access specialized modules for AI/ML workloads
- Vertex AI module for generative AI applications
- BigQuery and BigTable for data storage capabilities
- Cloud Functions for serverless workloads
- Google Kubernetes Engine for AI workload orchestration
- Terraform Registry Module Analysis - Analyze Terraform Registry modules
- Search for modules by URL or identifier
- Extract input variables, output variables, and README content
- Understand module usage and configuration options
- Analyze module structure and dependencies
- Terraform Workflow Execution - Run Terraform commands directly
- Initialize, plan, validate, apply, and destroy operations
- Pass variables and specify GCP regions
- Get formatted command output for analysis
Tools and Resources
- Terraform Development Workflow: Follow security-focused development process via terraform://workflow_guide
- GCP Best Practices: Access GCP-specific guidance via terraform://gcp_best_practices
- GCP Provider Resources: Access resource listings via terraform://gcp_provider_resources_listing
Prerequisites
1. Install uv from Astral or the GitHub README
2. Install Python using uv python install 3.10
3. Install Terraform CLI for workflow execution
4. Install Checkov for security scanning
5. Set up GCP authentication (gcloud CLI recommended)
Installation
Install FastMCP
We recommend using uv to install and manage FastMCP:
uv add fastmcp
Alternatively, install directly with pip or uv pip:
```bash
uv pip install fastmcp
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

