Terry-Form MCP
Enterprise-grade Terraform automation through Model Context Protocol
Security First
Enterprise-hardened with comprehensive security controls, input validation, and sandboxed execution
AI-Powered
Intelligent automation with MCP protocol integration for seamless AI assistant workflows
Multi-Cloud
Support for AWS, Azure, GCP, and Terraform Cloud with unified management interface
Developer Friendly
LSP integration, GitHub App support, and comprehensive API for modern DevOps workflows
Code Intelligence
LSP-powered validation, security scanning, and best practice recommendations
Production Ready
Docker containerization with comprehensive security controls and rate limiting
What is Terry-Form MCP?
Terry-Form MCP is a secure, production-ready Terraform automation server that integrates with AI assistants through the Model Context Protocol (MCP). It provides a controlled environment for infrastructure-as-code operations with comprehensive LSP integration for intelligent development.
graph LR
A[AI Assistant] -->|MCP Protocol| B[Terry-Form Server]
B --> C[Terraform Executor]
B --> D[Security Layer]
B --> E[Cloud Providers]
C --> F[Infrastructure]
D --> G[Validation]
D --> H[Sandboxing]
Key Features
Security Hardened
- Input Validation: Comprehensive request validation and sanitization
- Path Traversal Protection: Secure file system access controls
- Command Injection Prevention: Safe subprocess execution
- Sandboxed Execution: Isolated Terraform operations
MCP Protocol Integration
- Native MCP Support: Built for AI assistant integration
- Tool Discovery: Automatic tool registration and documentation
- Streaming Responses: Real-time operation feedback
- Error Handling: Graceful error reporting and recovery
Infrastructure Management
- Multi-Workspace: Manage multiple Terraform workspaces
- State Management: Secure state file handling
- Plan Analysis: Terraform plan execution and validation
- LSP Integration: terraform-ls for code intelligence
Integrations
- GitHub App: Optional repository integration via GitHub OAuth
- Terraform Cloud: Basic workspace and run monitoring
- LSP Support: Full Language Server Protocol integration via terraform-ls
- MCP Protocol: Native Model Context Protocol for AI assistants
Quick Start
# Using Docker
docker run -d \
-p 3000:3000 \
-v /path/to/workspace:/mnt/workspace \
aj-geddes/terry-form-mcp:latest
# Using Docker Compose
docker-compose up -d
# Configure your AI assistant
{
"mcpServers": {
"terry-form": {
"command": "docker",
"args": ["run", "-i", "--rm", "-v", "./workspace:/mnt/workspace", "terry-form-mcp"]
}
}
}
Use Cases
Enterprise Infrastructure
Manage complex multi-cloud environments with security controls and compliance
CI/CD Integration
Automate infrastructure provisioning in your deployment pipelines
Team Collaboration
Enable safe infrastructure changes through AI-assisted workflows
Learning Platform
Safe environment for learning and experimenting with Terraform
Architecture Overview
graph TB
subgraph "Client Layer"
A[Claude/AI Assistant]
B[Web Dashboard]
C[CLI Tools]
end
subgraph "Terry-Form MCP"
D[MCP Server]
E[Web Server]
F[Security Layer]
G[Terraform Executor]
H[GitHub App Handler]
I[Cloud Integrations]
end
subgraph "Infrastructure"
J[AWS]
K[Azure]
L[GCP]
M[Terraform Cloud]
end
A -->|MCP| D
B -->|HTTP| E
C -->|MCP| D
D --> F
E --> F
F --> G
F --> H
F --> I
G --> J
G --> K
G --> L
I --> M