MCP
Connection panel
An endpoint, an auth method, and a clear connection state.
Installation
Terminal
bunx shadcn@latest add https://ui.fabrials.com/r/connection-panel.jsonAPI
| Prop / export | Type | Description |
|---|---|---|
| status | string | Connection lifecycle state. |
| onConnect | (ConnectionOptions) => Promise<void> | Connect with the selected method. |
| onDisconnect | () => Promise<void> | Release the connection. |
| defaultEndpoint | string? | Initial endpoint URL. |
Behavior & compatibility
Bearer tokens stay in memory. OAuth requires callback and client metadata routes; see the authentication guide. CORS is controlled by the destination server.
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.