Skip to content

Commit c464a72

Browse files
committed
mcp auth server setup
1 parent ddbaed6 commit c464a72

File tree

10 files changed

+49
-4
lines changed

10 files changed

+49
-4
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { ShieldUser } from "lucide-react";
2+
import ContactUsView from "../views/contactUsView";
3+
4+
export default function MCPAuthConfigView() {
5+
return (
6+
<div className="h-full w-full">
7+
<ContactUsView
8+
className="mx-auto min-h-[80vh]"
9+
icon={<ShieldUser className="h-[5.5rem] w-[5.5rem]" strokeWidth={1} />}
10+
title="Unlock MCP Auth Config"
11+
description="This feature is a part of the Bifrost enterprise license. Configure authentication for MCP servers to secure your MCP connections."
12+
readmeLink="https://docs.getbifrost.ai/mcp/overview"
13+
/>
14+
</div>
15+
);
16+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import MCPAuthConfigView from "@enterprise/components/mcp-auth-config/mcpAuthConfigView";
2+
3+
export default function MCPAuthConfigPage() {
4+
return (
5+
<div className="mx-auto flex w-full max-w-7xl">
6+
<MCPAuthConfigView />
7+
</div>
8+
);
9+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"use client";
22

3-
import MCPClientsTable from "@/app/workspace/mcp-gateway/views/mcpClientsTable";
43
import FullPageLoader from "@/components/fullPageLoader";
54
import { useToast } from "@/hooks/use-toast";
65
import { getErrorMessage, useGetMCPClientsQuery } from "@/lib/store";
76
import { useEffect } from "react";
7+
import MCPClientsTable from "./views/mcpClientsTable";
88

99
export default function MCPServersPage() {
1010
const { data: mcpClients, error, isLoading } = useGetMCPClientsQuery();
File renamed without changes.

ui/app/workspace/mcp-gateway/views/mcpClientSheet.tsx renamed to ui/app/workspace/mcp-registry/views/mcpClientSheet.tsx

File renamed without changes.

ui/app/workspace/mcp-gateway/views/mcpClientsTable.tsx renamed to ui/app/workspace/mcp-registry/views/mcpClientsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import ClientForm from "@/app/workspace/mcp-gateway/views/mcpClientForm";
3+
import ClientForm from "@/app/workspace/mcp-registry/views/mcpClientForm";
44
import {
55
AlertDialog,
66
AlertDialogAction,

ui/app/workspace/mcp-gateway/views/oauth2Authorizer.tsx renamed to ui/app/workspace/mcp-registry/views/oauth2Authorizer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@ -1,299 +0,0 @@
12
"use client";
23

34
import { useEffect, useRef, useState } from "react";
@@ -296,4 +297,4 @@ export const OAuth2Authorizer: React.FC<OAuth2AuthorizerProps> = ({
296297
</DialogContent>
297298
</Dialog>
298299
);
299-
};
300+
};

ui/app/workspace/model-limits/views/modelLimitsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default function ModelLimitsTable({ modelConfigs, onRefresh }: ModelLimit
8585
<div className="space-y-4">
8686
<div className="flex items-center justify-between">
8787
<div>
88+
<h1 className="text-lg font-semibold">Model Limits</h1>
8889
<p className="text-muted-foreground text-sm">
8990
Configure budgets and rate limits at the model level. For provider-specific limits, visit each provider&apos;s settings.
9091
</p>

ui/components/sidebar.tsx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
KeyRound,
1919
Landmark,
2020
Layers,
21+
LayoutGrid,
2122
LogOut,
2223
Logs,
2324
PanelLeftClose,
@@ -26,6 +27,7 @@ import {
2627
Settings,
2728
Settings2Icon,
2829
Shield,
30+
ShieldUser,
2931
Shuffle,
3032
Telescope,
3133
User,
@@ -408,10 +410,26 @@ export default function AppSidebar() {
408410
},
409411
{
410412
title: "MCP Gateway",
411-
url: "/workspace/mcp-gateway",
412413
icon: MCPIcon,
413414
description: "MCP configuration",
415+
url: "/workspace/mcp-gateway",
414416
hasAccess: hasMCPGatewayAccess,
417+
subItems: [
418+
{
419+
title: "MCP Registry",
420+
url: "/workspace/mcp-registry",
421+
icon: LayoutGrid,
422+
description: "MCP registry",
423+
hasAccess: hasMCPGatewayAccess,
424+
},
425+
{
426+
title: "Auth Config",
427+
url: "/workspace/mcp-auth-config",
428+
icon: ShieldUser,
429+
description: "MCP auth config",
430+
hasAccess: hasMCPGatewayAccess,
431+
},
432+
],
415433
},
416434
{
417435
title: "Plugins",

0 commit comments

Comments
 (0)