MCP server managerPro
Connected MCP servers with transport, sign in and connection state in words, tool lists, latency and the one action each state needs.
On this page
ProConnected, signing in, failing and turned off servers with the one action each needs.
Installation
Usage
import { McpServerManager } from "@/components/ui/chatcn/pro/mcp-server-manager"
<McpServerManager servers={servers} onAuthenticate={signIn} onReconnect={retry} />A server that needs sign in shows Sign in; one that failed shows Retry and the error in words that say how to fix it. Turning off and removing live in the row menu. On narrow screens the status moves under the name.
Examples
States
ProNo servers and connecting.
Props
| Prop | Type | Notes |
|---|---|---|
servers | McpServer[] | { id, name, transport, endpoint, status, tools, latencyMs?, error? } |
onAdd, onAuthenticate, onReconnect | (id) => void | Each adds its action |
onEnabledChange, onRemove | (id, ...) => void | Fill the row menu |
Accessibility
- Status changes are announced politely.
- The row menu is named for the server: "More for Calendar".