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
- Rename "MCP App tool" to "tool with interactive UI"
- Clarify why structured_output=True is needed
- Recommend Pydantic models for return types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,11 +112,11 @@ Tools are defined using the `@dbt_mcp_tool` decorator and registered with the MC
112
112
5.**Add it to the tool list** (e.g., `DISCOVERY_TOOLS`) in the same module
113
113
6. The registration function (e.g., `register_discovery_tools`) handles context binding and registration
114
114
115
-
### Adding an MCP App tool
115
+
### Adding a tool with interactive UI (MCP Apps)
116
116
117
-
MCP Apps are tools that have an associated interactive UI rendered by the host. They build on top of regular tools with two additions:
117
+
MCP Apps are tools that have an associated interactive UI rendered by the host (e.g., Claude, VS Code). They build on top of regular tools with two additions:
118
118
119
-
1.**Use `structured_output=True` and `meta`** to link the tool to a UI resource:
119
+
1.**Use `structured_output` and `meta`** to link the tool to a UI resource:
120
120
```python
121
121
@dbt_mcp_tool(
122
122
description=get_prompt("category/tool_name"),
@@ -125,10 +125,10 @@ MCP Apps are tools that have an associated interactive UI rendered by the host.
0 commit comments