Skip to content
fabrials/ ui

MCP

Resources & prompts

Read resources, resolve templates, and fill reusable prompts.

Server connection

disconnected

Direct connections stay in your browser. The endpoint must allow CORS. Use the optional server connector for private credentials.

Installation

Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/resource-explorer.json

API

Prop / exportTypeDescription
resources / templatesResource[] / ResourceTemplateType[]Discovered resources and URI templates.
onRead(uri) => Promise<unknown>Read a selected or fully expanded URI.
promptsPrompt[]Discovered prompt definitions.
onGet(name, args) => Promise<unknown>Resolve a prompt.

Behavior & compatibility

Template input accepts a complete expanded URI. Missing capabilities remain explicit empty states.

Accessibility

Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is fully keyboard operable.