Terraform MCP
检索 Provider 文档与资源用法,辅助编写 IaC 配置。
安装命令
终端
npx -y @hashicorp/terraform-mcp-server在 Cursor 中配置(mcp.json)
{
"mcpServers": {
"terraform": {
"command": "npx",
"args": [
"-y",
"@hashicorp/terraform-mcp-server"
]
}
}
}