Cover image
Try Now
2025-04-06

Servidor MCP para trabajar con HCP Terraform

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

mcp-server-hcp-terraform

MCP server for working with HashiCorp Terraform Cloud/Enterprise API

Overview

This project provides a MCP server that integrates with the HCP Terraform Cloud/Enterprise API. Through MCP, you can access features such as searching for Terraform modules and retrieving module information.

Prerequisites

  • Python 3.13+
  • HCP Terraform Cloud/Enterprise account
  • Access token

Environment Variables

Set the following environment variables before use:

  • HCP_TERRAFORM_TOKEN: HCP Terraform access token (required)
  • HCP_TERRAFORM_ORG: HCP Terraform organization name (required)
  • HCP_TERRAFORM_BASE_URL: HCP Terraform base URL (optional, default: https://app.terraform.io)

Features

This MCP server provides the following features:

Search Private Modules

Use the hcp_terraform_search_private_modules tool to search for modules in the HCP Terraform Private Registry.

Parameters:

  • query: Search query
  • provider (optional): Provider filter (e.g., aws, gcp, azure)
  • limit (optional): Maximum number of results (default: 10)

Get Module Details

Use the hcp_terraform_get_module tool to retrieve detailed information about a specific module from the HCP Terraform Registry.

Parameters:

  • module_name: Name of the module
  • provider: Provider (e.g., aws, gcp, azure)
  • registry_name (optional): Registry name (private or public, default: private)
  • namespace (optional): Module namespace (uses organization name if not specified)

Usage

{
  "globalShortcut": "",
  "mcpServers": {
    "HCP Terraform": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "path/to/mcp-server-hcp-terraform/server.py"
      ],
      "env": {
        "HCP_TERRAFORM_TOKEN": "paste_here",
        "HCP_TERRAFORM_ORG": "my_org"
      }
    }
  }
}

License

MIT License

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • JackKuo666
  • 🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

    Reviews

    4 (1)
    Avatar
    user_0Ur0BKiq
    2025-04-18

    I've been using the mcp-server-hcp-terraform for managing my cloud infrastructure, and it's been a game-changer. Kudos to dulltz for creating such a robust and efficient tool! The documentation on the GitHub page is comprehensive, making it easy to get started and implement. Highly recommended for anyone looking to streamline their Terraform workflows.