- search_policies, get_policy_details, get_provider_capabilities tools
- Tool filtering with --toolsets and --tools flags
- Live documentation resources fetched from GitHub
Full changelog
What's Changed
New Tools (3)
search_policies— Search for Terraform policies (Sentinel/OPA) in the public registryget_policy_details— Get detailed information about a specific policy libraryget_provider_capabilities— Show all resources, data sources, functions, and guides available for a provider
Tool Filtering
--toolsetsflag onmcpsubcommand: filter by category (terraform,registry,analysis,all)--toolsflag: enable individual tools by name- Example:
tfmcp mcp --toolsets registry,analysisexposes only registry and analysis tools
Rich Server Instructions
- Comprehensive LLM guidance (1,800 chars) with:
- Tool category descriptions
- Recommended workflows (new project, code review, provider discovery, compliance check)
- Safety notes for destructive operations
Live Documentation Resources
- Style guide and module development docs are now fetched live from GitHub (
hashicorp/web-unified-docs) - Falls back to embedded content if network is unavailable
Provider Resource Template
- New MCP resource template:
terraform://providers/{namespace}/{name}/{version}/docs - Dynamically fetches provider documentation from the Terraform Registry
Summary
- 34 tools total (31 existing + 3 new)
- 3 static resources + 1 dynamic resource template
- 202 tests passing
- 39/39 E2E tests passing (0 warnings, 0 failures)
Designed around Jobs-to-be-Done theory: these features strengthen tfmcp's core value as a local Terraform development companion — helping developers understand their code, discover providers, validate compliance, and work safely.