MCP ExplorerExplorer

Terraform Mcp Server Sse

@edalfereson 15 days ago
1 MIT
FreeCommunity
AI Systems
This Docker setup wraps the terraform-mcp-server with supergateway, exposing it as an HTTP SSE endpoint that can be consumed by tools.

Overview

What is Terraform Mcp Server Sse

terraform-mcp-server-sse is a Docker setup that wraps the terraform-mcp-server with supergateway, exposing it as an HTTP SSE endpoint for consumption by various tools.

Use cases

Use cases include streaming data from the MCP server to web clients, integrating with monitoring tools, and enabling real-time notifications in applications.

How to use

To use terraform-mcp-server-sse, clone the project to your machine, ensure you have Docker and Docker Compose installed, and then run ‘docker compose up --build’ to build and start the services.

Key features

Key features include the ability to expose the MCP server via HTTP/SSE, integration with supergateway, and a simple Docker-based deployment process.

Where to use

terraform-mcp-server-sse can be used in web applications, real-time data processing systems, and any environment where HTTP/SSE communication is required.

Content

MCP Gateway Docker (stdio → SSE) - Terraform MCP Server

This Docker setup wraps the terraform-mcp-server (which communicates via stdio) with supergateway, exposing it as an HTTP SSE endpoint that can be consumed by tools.

📦 Files in this project

Dockerfile

Builds a Docker image using:

  • supercorp/supergateway:2.8.3 as base
  • Downloads terraform-mcp-server version 0.1.0
  • Installs curl and unzip
  • Copies entrypoint.sh that starts the gateway

entrypoint.sh

Shell script that starts supergateway in one modes:

  • stdio → SSE: expose the MCP server locally via HTTP/SSE

docker-compose.yml

Defines two services:

  • mcp-gateway: builds and runs the MCP gateway container

🚀 Quick Start

  1. Clone or copy this project to your machine.
  2. Ensure docker and docker-compose are installed.
  3. Build and run:
docker compose up --build

Tools

No tools

Comments