diff --git a/frontend/public/images/integrations/MCP.png b/frontend/public/images/integrations/MCP.png new file mode 100644 index 000000000..ba293b810 Binary files /dev/null and b/frontend/public/images/integrations/MCP.png differ diff --git a/frontend/src/hooks/api/pam/enums.ts b/frontend/src/hooks/api/pam/enums.ts index 0684f6073..b8239252f 100644 --- a/frontend/src/hooks/api/pam/enums.ts +++ b/frontend/src/hooks/api/pam/enums.ts @@ -3,7 +3,8 @@ export enum PamResourceType { MySQL = "mysql", RDP = "rdp", SSH = "ssh", - Kubernetes = "kubernetes" + Kubernetes = "kubernetes", + MCP = "mcp" } export enum PamSessionStatus { diff --git a/frontend/src/hooks/api/pam/maps.ts b/frontend/src/hooks/api/pam/maps.ts index c240a12ad..de6d5fa06 100644 --- a/frontend/src/hooks/api/pam/maps.ts +++ b/frontend/src/hooks/api/pam/maps.ts @@ -8,5 +8,6 @@ export const PAM_RESOURCE_TYPE_MAP: Record< [PamResourceType.MySQL]: { name: "MySQL", image: "MySql.png" }, [PamResourceType.RDP]: { name: "RDP", image: "RDP.png" }, [PamResourceType.SSH]: { name: "SSH", image: "SSH.png" }, - [PamResourceType.Kubernetes]: { name: "Kubernetes", image: "Kubernetes.png" } + [PamResourceType.Kubernetes]: { name: "Kubernetes", image: "Kubernetes.png" }, + [PamResourceType.MCP]: { name: "MCP", image: "MCP.png" } }; diff --git a/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx b/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx index b34f33721..f864f9e00 100644 --- a/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx +++ b/frontend/src/pages/pam/PamResourcesPage/components/ResourceTypeSelect.tsx @@ -28,7 +28,8 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => { // We are temporarily showing these resources so that we can gauge interest before committing { name: "RDP", resource: PamResourceType.RDP }, { name: "SSH", resource: PamResourceType.SSH }, - { name: "Kubernetes", resource: PamResourceType.Kubernetes } + { name: "Kubernetes", resource: PamResourceType.Kubernetes }, + { name: "MCP", resource: PamResourceType.MCP } ]; }, [resourceOptions]); @@ -65,7 +66,8 @@ export const ResourceTypeSelect = ({ onSelect }: Props) => { if ( resource === PamResourceType.RDP || resource === PamResourceType.SSH || - resource === PamResourceType.Kubernetes + resource === PamResourceType.Kubernetes || + resource === PamResourceType.MCP ) { handlePopUpOpen("upgradePlan", { text: "Your current plan does not include access to this resource type. To unlock this feature, please upgrade to Infisical Enterprise plan.",