The Model Context Protocol (MCP) is becoming the standard way for LLMs to call tools. Adding an MCP server entry point would let Claude Desktop, Cursor, and other MCP-compatible clients use dbt Cloud commands directly without any custom integration code.
pip install dbt-cloud-cli[mcp]
Overview
The Model Context Protocol (MCP) is becoming the standard way for LLMs to call tools. Adding an MCP server entry point would let Claude Desktop, Cursor, and other MCP-compatible clients use dbt Cloud commands directly without any custom integration code.
Background
dbt-cloud-clialready has all the building blocks: Pydantic command models,TOOL_REGISTRY,execute_tool_call(Add dbt_cloud/tools.py: auto-generate OpenAI/Anthropic tool definitions #135)get_anthropic_tools()+execute_tool_call()Proposed approach
Add an optional
mcpextra and adbt-cloud-mcpentry point:The server would:
tools/list→ delegates toget_anthropic_tools()tools/call→ delegates toexecute_tool_call(tool_name, tool_input)DBT_CLOUD_API_TOKEN,DBT_CLOUD_HOST)DBT_CLOUD_READONLYto expose a read-only subsetDependencies
mcpPython SDK (optional dependency)Related