Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: ui improvements

Sheen Capadngan79610eaa03b3
diff --git a/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointConnectedServersSection.tsx b/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointConnectedServersSection.tsx
index 76acd4593e..f0679b9b66 100644
--- a/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointConnectedServersSection.tsx
+++ b/frontend/src/pages/ai/MCPEndpointDetailPage/components/MCPEndpointConnectedServersSection.tsx
@@ -63,7 +63,7 @@ export const MCPEndpointConnectedServersSection = ({ endpointId, projectId, serv
return (
<div className="flex w-full flex-col gap-3 rounded-lg border border-mineshaft-600 bg-mineshaft-900 px-4 py-3">
<div className="flex items-center justify-between border-b border-mineshaft-400 pb-2">
- <h3 className="font-medium text-mineshaft-100">Connected MCP Servers</h3>
+ <h3 className="font-medium text-mineshaft-100">MCP Servers</h3>
{isEditing ? (
<div className="flex items-center gap-1">
<IconButton
diff --git a/frontend/src/pages/ai/MCPPage/components/MCPServersTab/AddMCPServerModal/AuthenticationStep.tsx b/frontend/src/pages/ai/MCPPage/components/MCPServersTab/AddMCPServerModal/AuthenticationStep.tsx
index 240d1fb9c0..93cb8b911c 100644
--- a/frontend/src/pages/ai/MCPPage/components/MCPServersTab/AddMCPServerModal/AuthenticationStep.tsx
+++ b/frontend/src/pages/ai/MCPPage/components/MCPServersTab/AddMCPServerModal/AuthenticationStep.tsx
@@ -406,9 +406,11 @@ export const AuthenticationStep = ({ onOAuthSuccess }: Props) => {
)}
{!isOAuthAuthorized && isOAuthPending && (
<div className="space-y-3">
- <div className="flex items-center gap-2 rounded-md border border-yellow-500/30 bg-yellow-500/10 p-3">
- <FontAwesomeIcon icon={faSpinner} className="animate-spin text-yellow-500" />
- <span className="text-sm text-yellow-500">Waiting for OAuth authorization...</span>
+ <div className="flex items-center gap-2 rounded-md border border-primary-500/30 bg-primary-500/10 p-3">
+ <FontAwesomeIcon icon={faSpinner} className="animate-spin text-primary-400" />
+ <span className="text-sm text-mineshaft-200">
+ Waiting for OAuth authorization...
+ </span>
</div>
<Button
onClick={handleCancelOAuth}
diff --git a/frontend/src/pages/organization/McpEndpointFinalizePage/McpEndpointFinalizePage.tsx b/frontend/src/pages/organization/McpEndpointFinalizePage/McpEndpointFinalizePage.tsx
index 8bc0b8a429..ecd2842e4f 100644
--- a/frontend/src/pages/organization/McpEndpointFinalizePage/McpEndpointFinalizePage.tsx
+++ b/frontend/src/pages/organization/McpEndpointFinalizePage/McpEndpointFinalizePage.tsx
@@ -1,13 +1,7 @@
import { useCallback, useEffect, useRef, useState } from "react";
import { Helmet } from "react-helmet";
import { Controller, useForm } from "react-hook-form";
-import {
- faCheckCircle,
- faExternalLink,
- faPlug,
- faSpinner,
- faWarning
-} from "@fortawesome/free-solid-svg-icons";
+import { faCheckCircle, faExternalLink, faSpinner } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { Link, useSearch } from "@tanstack/react-router";
@@ -335,9 +329,6 @@ export const McpEndpointFinalizePage = () => {
</Link>
<div className="mb-6 text-center">
- <div className="mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-primary/10">
- <FontAwesomeIcon icon={faPlug} className="text-2xl text-primary" />
- </div>
<h1 className="text-xl font-semibold text-mineshaft-100">Authorize MCP Access</h1>
<p className="mt-2 text-sm text-bunker-300">
An external application is requesting access to your MCP endpoint
@@ -371,11 +362,12 @@ export const McpEndpointFinalizePage = () => {
{/* Servers requiring authentication */}
{!isServersLoading && hasServersRequiringAuth && (
- <div className="mb-6 space-y-2">
+ <div className="mt-6 mb-6 space-y-2">
{pendingServers && pendingServers.length > 0 && (
- <p className="flex items-center gap-2 text-xs text-yellow-500">
- <FontAwesomeIcon icon={faWarning} />
- <span>Authenticate with personal credential servers to continue</span>
+ <p className="text-xs text-bunker-300">
+ {pendingServers.length === 1
+ ? "The following server uses personal credentials. Authenticate with your own account to access its tools."
+ : "The following servers use personal credentials. Authenticate with your own accounts to access their tools."}
</p>
)}
{serversRequiringAuth.map((server) => {