Skip to content

Commit d04cd33

Browse files
Added documentation for Terraform MCP Server integration (#2107)
* feat(mcp-server-integration): TF-28514 TF-30372: Added: enable / disable mcp server config * feat(mcp-server-integration): TF-28514 TF-30372: Added: changelog * feat(mcp-server-integration): TF-28514 TF-30372: Refactored: linting * feat(mcp-server-integration): TF-28514 TF-30372: Refactored: checking mcp api available at root * feat(mcp-server-integration): TF-28514 TF-30372: Modified: enabled to enable * feat(mcp-server-integration): TF-28514 TF-30372: Modified: enabled to enable * feat(mcp-server-integration): TF-28514 TF-30372: Modified: if not our server, return the server definition * feat(mcp-server-integration): TF-28514 TF-30373: Added documentation for Terraform MCP Server integration * feat(mcp-server-integration): TF-28514 TF-30373: Added: Changelog * feat(mcp-server-integration): TF-28514 TF-30373: Modified: readme content Co-authored-by: James Pogran <[email protected]> * feat(mcp-server-integration): TF-28514 TF-30373: Modified: enabled to enable --------- Co-authored-by: James Pogran <[email protected]>
1 parent f019f7f commit d04cd33

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: NOTES
2+
body: Added documentation for Terraform MCP Server integration
3+
time: 2025-09-09T17:44:04.774529+05:30
4+
custom:
5+
Issue: "2107"
6+
Repository: vscode-terraform

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,21 @@ List Terraform providers used in the current open document in the Explorer Pane,
171171

172172
![](docs/module_providers.png)
173173

174+
175+
### Terraform MCP Server Integration
176+
177+
The extension registers the [Terraform MCP Server](https://github.com/hashicorp/terraform-mcp-server), which provides advanced AI assistance capabilities for Terraform development through the Model Context Protocol (MCP). For a complete list of features and capabilities, please refer to the [official](https://github.com/hashicorp/terraform-mcp-server) Terraform MCP Server documentation.
178+
179+
The MCP server integration is enabled by default, requiring only Docker to be installed and running on your system. The extension automatically manages the server lifecycle, starting it when needed for AI interactions.
180+
181+
![](/docs/hashicorp-terraform-mcp-server.gif)
182+
183+
You can enable or disable this feature via:
184+
- The Command Palette: `HashiCorp Terraform: Enable MCP Server` or `HashiCorp Terraform: Disable MCP Server`
185+
- Settings: `terraform.mcp.server.enable`
186+
187+
When enabled, the MCP server runs as a Docker container (`hashicorp/terraform-mcp-server`), providing your AI assistant with contextual knowledge about Terraform providers, modules, and best practices.
188+
174189
### Terraform Commands
175190

176191
The extension provides access to several Terraform commands through the Command Palette:
361 KB
Loading

0 commit comments

Comments
 (0)