MCP serversPro
Look after the Model Context Protocol connections behind an agent: a token budget bar split by server, health per connection with sign in and retry, per-tool switches with their cost, and a catalogue to plug in new ones.
oxyn add mcp-serversMCP servers
11 tools · 4.5k tokens of context
4,540 of 5,500 budgeted tokens
Connection refused on localhost:5432
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Manage the Model Context Protocol servers that give an agent its tools, and see what the enabled tools cost in context.
When not to use
- Sit in on a crew of agents mid-run: use Live Session instead.
- One overview for a whole fleet: use Fleet overview instead.
- The fleet overview laid out against time: use Fleet timeline instead.
Installation
MCP servers is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add mcp-serversUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
List
Five connections in three health states.
MCP servers
11 tools · 4.5k tokens of context
4,540 of 5,500 budgeted tokens
Connection refused on localhost:5432
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Tools
GitHub open with its tools (Oxyn extra).
MCP servers
11 tools · 4.5k tokens of context
4,540 of 5,500 budgeted tokens
- list_issuesRead420
- get_pull_requestRead380
- search_codeRead510
- create_issueWrite460
- comment_on_prWrite400
- merge_pull_requestWrite520
Tool callshttps://mcp.example-git.dev/sseConnection refused on localhost:5432
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Add
The Add server sheet open (Oxyn extra).
Add a server
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
McpServers
| Prop | Type | Default | Description |
|---|---|---|---|
nowrequired | ClockMs | — | Host clock. |
open | Option<usize> | Default::default() | Open this server's tools at the start. |
adding | bool | Default::default() | Open the Add server sheet at the start. |
meter | bool | true | Show the context bar. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| ↑or↓orHomeorEnd | Step through the connections |
| EnterorSpace | Expand a connection; flip a tool |
| CmdorCtrlZ | Bring back the connection you just removed |
| Esc | Dismiss the catalogue |
Accessibility
- Connection rows read their name, health, local or remote, enabled tools and token cost.
- The budget bar is role meter; its text says by how much the budget is exceeded.
- Health is a glyph with a word; each tool switch speaks the tool, read or write and tokens.
From the spec
Server rows are buttons with aria-expanded named with server, status, transport, tools on and tokens; the context bar is a meter whose value text says how far over budget; switches are named with tool, access and tokens; the sheet is a modal dialog (Escape closes, Cmd/Ctrl+Z undoes a remove). Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.
Motion & interaction
Toggling a tool resizes its server's segment and rolls the totals; discovered tools appear one by one; a new server lands on top, open.
Timing
Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.
| Transition | Duration | Easing |
|---|---|---|
| Connect after Retry | 1500 ms | — |
| Authorize | 1200 ms | — |
| Tool discovered | 450 ms each | — |
| Undo window | 6000 ms | — |
Reduced motion: shimmer, pulses and slides stop; every state keeps its words and icons.
Responsive behaviour
- Max 720 px; tools lose their inset under 520 px and the access label turns into an icon under 400 px.
Edge cases (spec)
Up to 720 px; below 520 px the tool list drops its indent and the sheet rises higher; below 400 px the tool count leaves the row and read / write become icons. Layout follows the block's own width (container queries), never the viewport. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus data series and the official coloured brand and model marks.
Notes for AI
- Import
McpServersfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
BlocksViewinoxyn_gpui. - Props to set first:
now. - It reads a clock (
now) for live timers; pass one clock for the whole page rather than one per component. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.