OO

opentofu/opentofu-mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

117 stars 7 forks 品質 72 トレンド 8NOASSERTION

opentofu/opentofu-mcp-serverは、https://github.com/opentofu/opentofu-mcp-server.からインポートされたMCPサーバー候補です。

概要

opentofu/opentofu-mcp-serverは、https://github.com/opentofu/opentofu-mcp-server.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

OpenTofuレジストリにアクセスするためのモデルコンテキストプロトコル(MCP)サーバーです。このサーバーは、言語モデルアシスタントがOpenTofuのプロバイダー、モジュール、リソース、データソースに関する情報を検索し取得できるようにします。

ローカルNode.jsサーバーおよびリモートのCloudflare Workerデプロイの両方として利用可能です。

特徴

  • OpenTofuレジストリでプロバイダー、モジュール、リソース、データソースを検索
  • 特定のプロバイダーやモジュールに関する詳細な情報を得る
  • リソースやデータソースのドキュメントへのアクセス
  • OpenTofuの包括的な構成例取得
  • AIアシスタント向けのMCP互換インターフェース

設置

このMCPサーバーは、モデルコンテキストプロトコルをサポートする任意のAIアシスタントと組み合わせて使用できます。ホストサービスかローカルインストールのどちらかを選びましょう:

ホスティングサービス(推奨)

始める最も簡単な方法は、mcp.opentofu.orgのホストサービスを利用することです。メリットには以下が含まれます:

  • ✅ 現地での設置不要
  • ✅ 最新のOpenTofuレジストリデータに常に更新
  • ✅ Cloudflare Workersを通じてグローバルに配信
  • ✅ 高い可用性とパフォーマンス

クロード・コード

ホストされたOpenTofu MCPサーバーをClaude Codeに追加する:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

OpenTofu MCP Server

A Model Context Protocol (MCP) server for accessing the OpenTofu Registry. This server allows language model assistants to search for and retrieve information about OpenTofu providers, modules, resources, and data sources.

Available as both a local Node.js server and a remote Cloudflare Worker deployment.

Features

  • Search the OpenTofu Registry for providers, modules, resources, and data sources
  • Get detailed information about specific providers and modules
  • Access documentation for resources and data sources
  • Retrieve comprehensive OpenTofu configuration examples
  • MCP-compatible interface for AI assistants

Installation

You can use this MCP server with any AI assistant that supports the Model Context Protocol. Choose between the hosted service or local installation:

The easiest way to get started is to use our hosted service at mcp.opentofu.org. Benefits include:

  • ✅ No local installation required
  • ✅ Always up-to-date with the latest OpenTofu Registry data
  • ✅ Globally distributed via Cloudflare Workers
  • ✅ High availability and performance

Claude Code

Add the hosted OpenTofu MCP server to Claude Code:

claude mcp add opentofu -t streamable-http https://mcp.opentofu.org/mcp

Cursor / VS Code

Automatically install to Cursor in one click

Add this to your settings.json.

{
  "mcp": {
    "servers": {
      "opentofu": {
        "type": "streamable-http",
        "url": "https://mcp.opentofu.org/mcp"
      }
    }
  }
}

You do not need to define any inputs.

Generic MCP Configuration

{
  "mcpServers": {
    "opentofu": {
      "transport": "streamable-http",
      "url": "https://mcp.opentofu.org/mcp"
    }
  }
}

Local Server

Basic Usage

You can also run the server locally with npx:

npx @opentofu/opentofu-mcp-server

Global Installation

Install globally for repeated use:

npm install -g @opentofu/opentofu-mcp-server
opentofu-mcp-server

Claude Code (Local)

Add the local server to Claude Code:

claude mcp add opentofu -- npx @opentofu/opentofu-mcp-server

Generic MCP Configuration (Local)

{
  "mcpServers": {
    "opentofu": {
      "command": "npx",
      "args": ["-y", "@opentofu/opentofu-mcp-server"]
    }
  }
}

Available Tools

The OpenTofu MCP server provides the following tools:

Registry Search and Information

  • search-opentofu-registry: Search for providers, modules, resources, and data sources
  • get-provider-details: Get detailed information about a specific provider
  • get-module-details: Get detailed information about a specific module
  • get-resource-docs: Get documentation for a specific resource
  • get-datasource-docs: Get documentation for a specific data source
GitHub で README 全文を見る

インストール

npx -y @opentofu/opentofu-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "opentofu": { "transport": "streamable-http", "url": "https://mcp.opentofu.org/mcp" } } }