开发者工具 · 人工智能聊天机器人

tfmcp logo

tfmcp

nwiizo/tfmcp

tfmcp项目的Cursor AI规则配置

安装

cargo install tfmcp --version 0.2.4

客户端配置

{
  "mcpServers": {
    "tfmcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-v",
        "/path/to/your/terraform:/app/terraform",
        "tfmcp",
        "mcp"
      ],
      "env": {
        "TERRAFORM_DIR": "<TERRAFORM_DIR>"
      }
    }
  }
}

环境变量

TERRAFORM_DIRTRANSPORT_HOSTTFMCP_ALLOW_DANGEROUS_OPSTFMCP_ALLOW_AUTO_APPROVETFMCP_MAX_RESOURCESTFMCP_AUDIT_ENABLEDTFMCP_AUDIT_LOG_SENSITIVE
GitHub 星标
246
作者
@nwiizo
分类
开发者工具, 人工智能聊天机器人
许可证
MIT
更新于
2026年10月6日

工具(40)

  • init_terraform

    Initialize Terraform working directory

  • get_terraform_plan

    Generate a saved plan, or retrieve its redacted result and status by plan ID

  • list_terraform_plans

    List saved plan IDs, targets, statuses, and destroy flags

  • discard_terraform_plan

    Remove an unneeded saved plan and free retention capacity

  • analyze_plan

    NEW Analyze plan with risk scoring and recommendations

  • apply_terraform

    Apply the reviewed saved plan ID and verify state resource addresses

  • destroy_terraform

    Apply a reviewed saved destroy plan with explicit deletion permissions

  • validate_terraform

    Validate configuration syntax

  • validate_terraform_detailed

    Detailed validation with guidelines

  • get_terraform_state

    Show current state

  • analyze_state

    NEW Analyze state with drift detection

  • review_terraform_plan

    Review plan risk, blockers, destructive changes, and recommendations

  • summarize_plan_for_pr

    Generate markdown plan summary for PR comments

  • run_terraform_quality_checks

    Run CI-friendly validation, module health, guideline, and lockfile checks

  • inspect_state_safety

    Inspect state readability, drift risk, lockfile status, and blockers

  • detect_drift_candidates

    Detect drift candidates from readable state without modifying infrastructure

  • prepare_terraform_change

    Generate blockers, warnings, and a recommended change sequence

  • list_terraform_resources

    List all managed resources

  • set_terraform_directory

    Change active project directory

  • terraform_workspace

    NEW Manage workspaces (list, show, new, select, delete)

  • terraform_import

    NEW Import existing resources

  • terraform_taint

    NEW Taint/untaint resources

  • terraform_refresh

    NEW Refresh state

  • terraform_fmt

    NEW Format code

  • terraform_graph

    NEW Generate dependency graph

  • terraform_output

    Get output values with sensitive values redacted, including named queries

  • terraform_providers

    NEW Get provider info with lock file

  • check_provider_lockfile

    Check.terraform.lock.hcl for reproducible provider selections

  • analyze_terraform

    Analyze configuration

  • inspect_terraform_project

    Inspect local Terraform directories, modules, and likely entrypoints

  • detect_terraform_entrypoints

    Detect likely root module entrypoints

  • analyze_module_health

    Module health with cohesion/coupling metrics

  • get_resource_dependency_graph

    Resource dependencies visualization

  • suggest_module_refactoring

    Refactoring suggestions

  • get_security_status

    Security scan with secret detection

  • search_providers

    Search providers (HashiCorp-compatible alias)

  • search_terraform_providers

    Search providers

  • get_provider_details

    Provider details (HashiCorp-compatible alias)

  • get_provider_info

    Provider details

  • get_provider_docs

    Provider documentation

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS

相关 MCP 服务器

更多服务器
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright是一个跨浏览器的Web测试和自动化框架,支持Chromium、Firefox和WebKit,提供无头执行、多浏览器兼容性测试、强大的断言和工具支持,适用于多种编程语言。

开发者工具
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix是一个将代码库打包为AI友好格式的工具,支持本地和远程仓库处理,提供代码压缩、安全检查和多种输出格式。

开发者工具
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS 是字节跳动的多模态 AI 智能体技术栈,包含两个项目:Agent TARS(基于 MCP 的命令行与 Web UI 智能体)和 UI-TARS-desktop(桌面 GUI 智能体)。

开发者工具
blender logo

blender

ahujasid/blender-mcp

10.6k

BlenderMCP通过MCP协议将Blender与Claude AI连接,实现AI辅助3D建模与场景控制

开发者工具
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

Playwright MCP是一个基于Playwright的浏览器自动化服务器,通过结构化数据而非像素输入实现LLM与网页的交互。

开发者工具
2344 logo

2344

comet-ml/opik

7k

Opik是一个开源的LLM评估框架,支持追踪、评估和监控LLM应用,帮助开发者构建更高效、更经济的LLM系统。

开发者工具