You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added automatic container runtime detection for MCP server integration with Docker and Podman support (#2139)
* feat(mcp-server-integration): TF-28514: Added configurable container runtime for MCP server integration
* feat(mcp-server-integration): TF-28514: Added changelog
* feat(mcp-server-integration): TF-28514: Modified: image version
* feat(mcp-server-integration): TF-28514: Added: automatic container runtime detection for MCP server integration with Docker and Podman support
Copy file name to clipboardExpand all lines: README.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -185,9 +185,20 @@ You can enable or disable this feature via:
185
185
- The Command Palette: `HashiCorp Terraform: Enable MCP Server` or `HashiCorp Terraform: Disable MCP Server`
186
186
- Settings: `terraform.mcp.server.enable`
187
187
188
-
Note that enabling this feature requires Docker to be installed and running on your system.
188
+
#### Container Runtime Configuration
189
189
190
-
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. The extension automatically manages the server lifecycle, starting it when needed for AI interactions.
190
+
The extension automatically detects available container runtimes on your system and uses them in the following priority order:
191
+
192
+
1.**Docker** (preferred) - If Docker is installed and running
193
+
2.**Podman** (fallback) - If Docker is not available but Podman is installed and running
194
+
195
+
**Supported container runtimes:**
196
+
-`docker` - Requires Docker to be installed and running
197
+
-`podman` - Requires Podman to be installed and running
198
+
199
+
**Note:** At least one supported container runtime (Docker or Podman) must be installed and running on your system before enabling the MCP server integration. If neither is available, the extension will show an error message with links to installation guides for both runtimes.
200
+
201
+
When enabled, the MCP server runs as a container (`hashicorp/terraform-mcp-server`), providing your AI assistant with contextual knowledge about Terraform providers, modules, and best practices. The extension automatically manages the server lifecycle, starting it when needed for AI interactions.
0 commit comments