Summary
The current /mcp command is CLI-only (graff mcp list/import/remove/show/reload) and not available in the codegraff TUI at all. Typing /mcp in the TUI silently sends it to the LLM. We need a much better experience, inspired by opencode's MCP UX.
What opencode does well
mcp add — interactive guided prompts to add local (subprocess) or remote (HTTP/SSE) servers
mcp ls — unified status view showing connection state, disabled status, and auth requirements in one glance
mcp auth/logout — first-class OAuth lifecycle as dedicated subcommands
- Per-agent tool scoping — global disable + per-agent enable
What we need
- Wire
/mcp into the codegraff TUI command palette
- Interactive
mcp add — guided flow instead of raw JSON import
- Rich status view — connection state, tool count, errors, auth status at a glance
- TUI-native MCP panel — browse servers, tools, and status without leaving the TUI
Summary
The current
/mcpcommand is CLI-only (graff mcp list/import/remove/show/reload) and not available in the codegraff TUI at all. Typing/mcpin the TUI silently sends it to the LLM. We need a much better experience, inspired by opencode's MCP UX.What opencode does well
mcp add— interactive guided prompts to add local (subprocess) or remote (HTTP/SSE) serversmcp ls— unified status view showing connection state, disabled status, and auth requirements in one glancemcp auth/logout— first-class OAuth lifecycle as dedicated subcommandsWhat we need
/mcpinto the codegraff TUI command palettemcp add— guided flow instead of raw JSON import