Skip to content

Conversation

@severity1
Copy link

Description

Adding Terraform Cloud MCP Server, to the community list. A Model Context Protocol (MCP) server that integrates AI assistants with the Terraform Cloud API, allowing you to manage your infrastructure through natural conversation

Server Details

  • Server: New Community Server - Terraform Cloud MCP
  • Changes to: README.md - Adding new entry to Community Servers section

Motivation and Context

The MCP ecosystem lacks an MCP server that strives to have full feature parity with Terraform Cloud's API. The primary motivation for this project is to enable AI-powered tools to interact seamlessly with Terraform Cloud. By leveraging the MCP, the server facilitates real-time, structured communication between AI assistants and Terraform Cloud, allowing for tasks such as workspace management, project updates, and run operations to be executed through conversational interfaces. This approach simplifies complex IaC tasks, making them more approachable for users and integrating smoothly into agentic coding workflows.

Key Features

  • Natural Language Interaction: Manage Terraform Cloud resources through conversational commands.
  • Comprehensive Resource Management: Capabilities include creating, updating, and deleting workspaces and projects; managing runs and plans; and handling organization settings.
  • AI Assistant Compatibility: Designed to work with various AI platforms supporting MCP, such as Claude, Cursor, and Copilot Studio.
  • Extensible Architecture: Built with Pydantic models and structured modules, allowing for future enhancements like variable management and state versioning

How Has This Been Tested?

Tested all tools using actual Terraform Cloud account and organizations. You can find example conversation/prompts for each tool in this project here

Breaking Changes

No breaking changes - This is a new server addition to the community list. No existing functionality is affected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

###Repository Links
GitHub: https://github.com/severity1/terraform-cloud-mcp

Key Technical Details

  • Language: Python
  • MCP: FastMCP
  • Target API: Terraform Cloud API
  • Comprehensive Documentation: Complete API reference, deployment guides, and IDE integration examples

@olaservo
Copy link
Member

olaservo commented Jun 9, 2025

Thanks for your contribution to the servers list. This has been merged in this combined PR: #2007

This is a new process we're trying out, so if you see any issues feel free to re-open the PR and tag me.

@olaservo olaservo closed this Jun 9, 2025
@severity1 severity1 deleted the feature/add-terraform-cloud-mcp branch June 13, 2025 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants