Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
refactor(dashboard): rename MCP/A2A pages to *Server, wrap headers in Card, add MCP sidebar group
diegosouzapw06bdc31a50c1
diff --git a/src/app/(dashboard)/dashboard/a2a/page.tsx b/src/app/(dashboard)/dashboard/a2a/page.tsxindex 2f03fa79d6..89b163f3e7 100644--- a/src/app/(dashboard)/dashboard/a2a/page.tsx+++ b/src/app/(dashboard)/dashboard/a2a/page.tsx@@ -177,48 +177,42 @@ export default function A2APage() {return (<div className="flex flex-col gap-6">- <div className="flex items-start justify-between gap-4">- <div>- <h3 className="font-semibold flex items-center gap-2 mb-1">- <span- className="material-symbols-rounded text-base"- style={{ color: "var(--color-primary)" }}+ <Card>+ <div className="flex items-start justify-between gap-4">+ <div>+ <p className="text-sm" style={{ color: "var(--color-text-muted)" }}>+ Agent2Agent JSON-RPC 2.0 endpoint — send tasks, stream responses, cancel in-flight+ jobs.+ </p>+ <ol+ className="mt-2 text-sm space-y-0.5 list-decimal list-inside"+ style={{ color: "var(--color-text-muted)" }}>- group_work- </span>- A2A Server- </h3>- <p className="text-sm" style={{ color: "var(--color-text-muted)" }}>- Agent2Agent JSON-RPC 2.0 endpoint — send tasks, stream responses, cancel in-flight jobs.- </p>- <ol- className="mt-2 text-sm space-y-0.5 list-decimal list-inside"- style={{ color: "var(--color-text-muted)" }}- >- <li>- Discover the agent card at <code className="text-xs">/.well-known/agent.json</code>.- </li>- <li>- Send JSON-RPC to <code className="text-xs">POST /a2a</code> using{" "}- <code className="text-xs">message/send</code> or{" "}- <code className="text-xs">message/stream</code>.- </li>- <li>- Track and cancel tasks with <code className="text-xs">tasks/get</code> and{" "}- <code className="text-xs">tasks/cancel</code>.- </li>- </ol>- </div>- <div className="shrink-0">- <ServiceToggle- label="A2A"- status={a2aStatus}- enabled={a2aEnabled}- onToggle={() => void toggleA2a()}- toggling={a2aToggling}- />+ <li>+ Discover the agent card at <code className="text-xs">/.well-known/agent.json</code>.+ </li>+ <li>+ Send JSON-RPC to <code className="text-xs">POST /a2a</code> using{" "}+ <code className="text-xs">message/send</code> or{" "}+ <code className="text-xs">message/stream</code>.+ </li>+ <li>+ Track and cancel tasks with <code className="text-xs">tasks/get</code> and{" "}+ <code className="text-xs">tasks/cancel</code>.+ </li>+ </ol>+ </div>+ <div className="shrink-0">+ <ServiceToggle+ label="A2A"+ status={a2aStatus}+ enabled={a2aEnabled}+ onToggle={() => void toggleA2a()}+ toggling={a2aToggling}+ />+ </div></div>- </div>+ </Card>{a2aEnabled ? <A2ADashboardPage /> : <DisabledPanel />}</div>diff --git a/src/app/(dashboard)/dashboard/mcp/page.tsx b/src/app/(dashboard)/dashboard/mcp/page.tsxindex b4024adea3..bb6d677505 100644--- a/src/app/(dashboard)/dashboard/mcp/page.tsx+++ b/src/app/(dashboard)/dashboard/mcp/page.tsx@@ -307,45 +307,38 @@ export default function McpPage() {return (<div className="flex flex-col gap-6">- <div className="flex items-start justify-between gap-4">- <div>- <h3 className="font-semibold flex items-center gap-2 mb-1">- <span- className="material-symbols-rounded text-base"- style={{ color: "var(--color-primary)" }}+ <Card>+ <div className="flex items-start justify-between gap-4">+ <div>+ <p className="text-sm" style={{ color: "var(--color-text-muted)" }}>+ Model Context Protocol — 37 tools across 13 scopes, 3 transports (stdio / SSE /+ Streamable HTTP).+ </p>+ <ol+ className="mt-2 text-sm space-y-0.5 list-decimal list-inside"+ style={{ color: "var(--color-text-muted)" }}>- hub- </span>- MCP Server- </h3>- <p className="text-sm" style={{ color: "var(--color-text-muted)" }}>- Model Context Protocol — 37 tools across 13 scopes, 3 transports (stdio / SSE /- Streamable HTTP).- </p>- <ol- className="mt-2 text-sm space-y-0.5 list-decimal list-inside"- style={{ color: "var(--color-text-muted)" }}- >- <li>- Run via <code className="text-xs">omniroute --mcp</code>- </li>- <li>Configure your MCP client to connect over stdio transport.</li>- <li>- Invoke tools like <code className="text-xs">omniroute_get_health</code> and{" "}- <code className="text-xs">omniroute_list_combos</code>.- </li>- </ol>- </div>- <div className="shrink-0">- <ServiceToggle- label="MCP"- status={mcpStatus}- enabled={mcpEnabled}- onToggle={() => void toggleMcp()}- toggling={mcpToggling}- />+ <li>+ Run via <code className="text-xs">omniroute --mcp</code>+ </li>+ <li>Configure your MCP client to connect over stdio transport.</li>+ <li>+ Invoke tools like <code className="text-xs">omniroute_get_health</code> and{" "}+ <code className="text-xs">omniroute_list_combos</code>.+ </li>+ </ol>+ </div>+ <div className="shrink-0">+ <ServiceToggle+ label="MCP"+ status={mcpStatus}+ enabled={mcpEnabled}+ onToggle={() => void toggleMcp()}+ toggling={mcpToggling}+ />+ </div></div>- </div>+ </Card>{mcpEnabled && (<TransportSelectordiff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.jsonindex 5ee104a74a..7b5b47e592 100644--- a/src/i18n/messages/en.json+++ b/src/i18n/messages/en.json@@ -757,8 +757,8 @@"devtoolsSection": "Dev Tools","configurationSection": "Configuration","aiFeaturesSection": "AI Features",- "mcp": "MCP",- "a2a": "A2A",+ "mcp": "MCP Server",+ "a2a": "A2A Server","apiEndpoints": "API Endpoints","batchFiles": "Files","analyticsEvals": "Evals",@@ -918,9 +918,9 @@"homeDescription": "Welcome to OmniRoute","endpoint": "Endpoints","endpointDescription": "Manage proxy endpoints, MCP, A2A, and API endpoints",- "mcp": "MCP",+ "mcp": "MCP Server","mcpDescription": "Model Context Protocol server management and tools",- "a2a": "A2A",+ "a2a": "A2A Server","a2aDescription": "Agent-to-Agent protocol tasks and observability","settings": "Settings","settingsDescription": "Manage your preferences",diff --git a/src/shared/constants/sidebarVisibility.ts b/src/shared/constants/sidebarVisibility.tsindex 0dfeb01d92..ae63b289db 100644--- a/src/shared/constants/sidebarVisibility.ts+++ b/src/shared/constants/sidebarVisibility.ts@@ -291,11 +291,22 @@ const DEVTOOLS_ITEMS: readonly SidebarItemDefinition[] = [},];-const AGENTIC_FEATURES_ITEMS: readonly SidebarItemDefinition[] = [+const MCP_GROUP: SidebarItemGroup = {+ type: "group",+ id: "mcp",+ titleKey: "mcp",+ titleFallback: "MCP Server",+ items: [+ { id: "mcp", href: "/dashboard/mcp", i18nKey: "mcp", icon: "hub" },+ { id: "audit-mcp", href: "/dashboard/audit/mcp", i18nKey: "auditMcp", icon: "security" },+ ],+};++const AGENTIC_FEATURES_ITEMS: readonly SidebarSectionChild[] = [{ id: "memory", href: "/dashboard/memory", i18nKey: "memory", icon: "psychology" },{ id: "skills", href: "/dashboard/skills", i18nKey: "omniSkills", icon: "auto_fix_high" },{ id: "agent-skills", href: "/dashboard/agent-skills", i18nKey: "agentSkills", icon: "share" },- { id: "mcp", href: "/dashboard/mcp", i18nKey: "mcp", icon: "hub" },+ MCP_GROUP,{ id: "a2a", href: "/dashboard/a2a", i18nKey: "a2a", icon: "device_hub" },];