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
Copy file name to clipboardExpand all lines: README.md
+36Lines changed: 36 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -671,6 +671,42 @@ Set `VERBOSE_ERRORS=true` to get detailed error messages from the MCP server. Th
671
671
672
672
By default, the server returns generic error messages. With verbose errors enabled, you'll receive the actual error details, which can help diagnose API connection issues, invalid parameters, or other problems.
673
673
674
+
#### ENABLE_MCP_UI
675
+
676
+
**MCP-UI Support (Enabled by Default)**
677
+
678
+
MCP-UI allows tools that return URLs to also return interactive iframe resources that can be embedded directly in supporting MCP clients. **This is enabled by default** and is fully backwards compatible with all MCP clients.
- Tools return **both** a text URL (always works) and a UIResource for iframe embedding
689
+
- Clients that don't support MCP-UI (like Claude Desktop) simply ignore the UIResource and use the text URL
690
+
- Clients that support MCP-UI (like Goose) can render the iframe for a richer experience
691
+
692
+
**Disabling MCP-UI (Optional):**
693
+
694
+
If you want to disable MCP-UI support:
695
+
696
+
Via environment variable:
697
+
698
+
```bash
699
+
export ENABLE_MCP_UI=false
700
+
```
701
+
702
+
Or via command-line flag:
703
+
704
+
```bash
705
+
node dist/esm/index.js --disable-mcp-ui
706
+
```
707
+
708
+
**Note:** You typically don't need to disable this. The implementation is fully backwards compatible and doesn't affect clients that don't support MCP-UI. See [mcpui.dev](https://mcpui.dev) for compatible clients.
0 commit comments