Add the Prompts tab to the MCP Inspector. Depends on #671 for the page shell, connection bar, and MCP session management.
Prompts tab:
Alert (info, inline) — "Generating prompts creates text templates only and does not execute commands"
- Left panel — "Select a prompt":
Select (typeahead) with refresh Button
- Prompt name with sparkle
Icon + MCP server name
- Description text
- Copy
Button (icon)
- Dynamic
FormGroup inputs from prompt arguments (TextInput, Select)
Button (primary): "Generate prompt"
Button (secondary): "Clear fields"
- Right panel — "Output":
CodeBlock showing generated prompt text
- Token count display
MCP protocol
| Action |
MCP Method |
Proxy endpoint |
| List prompts |
prompts/list |
POST /gateways/<ns>/<name>/mcp |
| Get prompt |
prompts/get |
POST /gateways/<ns>/<name>/mcp |
Designs: https://www.figma.com/proto/oizjCN6EVed31dW71YXS3K/RHCL-MCP?node-id=332-19491
Definition of done
Add the Prompts tab to the MCP Inspector. Depends on #671 for the page shell, connection bar, and MCP session management.
Prompts tab:
Alert(info, inline) — "Generating prompts creates text templates only and does not execute commands"Select(typeahead) with refreshButtonIcon+ MCP server nameButton(icon)FormGroupinputs from prompt arguments (TextInput,Select)Button(primary): "Generate prompt"Button(secondary): "Clear fields"CodeBlockshowing generated prompt textMCP protocol
prompts/listPOST /gateways/<ns>/<name>/mcpprompts/getPOST /gateways/<ns>/<name>/mcpDesigns: https://www.figma.com/proto/oizjCN6EVed31dW71YXS3K/RHCL-MCP?node-id=332-19491
Definition of done