# Frontegg MCP for AI Agents AI Agent Connect

> Frontegg MCP lets you manage B2B SaaS identities, provision users, and handle multi-tenant configurations through your AI agent. It connects your identity platform to Claude or Cursor so you can handle customer onboarding, role assignments, and security audits with natural language.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_RtQnv4z9ho1XhiWq5Cn4n2bJY03Vkezre5g9klKT/ai-agent-connect
- **Tags:** b2b-saas, user-management, authentication, multi-tenancy, provisioning, audit-logs

## Description

This Connector lets you manage your entire Frontegg environment directly through a chat interface. Instead of jumping between the dashboard and your terminal, you can tell your agent to provision new customers, check user permissions, or grab tokens for backend work. It handles the heavy lifting of B2B identity management, like creating tenants or deleting users, so you don't have to manually navigate complex settings menus. Because Vinkius hosts this Connector, you can plug it into your existing workflow and let your agent handle the repetitive stuff. It's built for teams who need to move fast without breaking security rules, giving you a way to audit roles and permissions across your whole multi-tenant architecture in seconds. You get a direct line to your user database and tenant configurations, making it much easier to troubleshoot access issues or scale your customer base.

## Tools

### check_environment_status
Verify your API connection is active. Use this to make sure your agent can talk to Frontegg.

### get_tenant_details
Fetch specific metadata for a customer account. This helps you see configuration details quickly.

### get_user_details
Get the profile and tenant info for a specific user. Use this to troubleshoot individual account issues.

### list_permissions
View all granular permissions available in your system. This is great for auditing your security model.

### list_system_roles
See all available roles like Admin or Read-Only. Use this to see what roles you can assign to users.

### list_tenants
Get a list of all active customer accounts. This provides a high level view of your entire customer base.

### list_users
Pull a global list of all users in your system. Use this to see who has access across your whole platform.

### create_tenant
Provision a new customer account instantly. This automates the manual work of setting up new B2B customers.

### create_user
Add a new user to your platform. Use this to provision team members to specific accounts on the fly.

### delete_tenant
Remove a customer account from your system. Use this to clean up inactive or deleted customer data.

### delete_user
Remove a user from your platform. This lets you quickly offboard users who no longer need access.

### list_m2m_tokens
See all machine-to-machine tokens for your backend integrations. It simplifies finding keys for your services.

## Prompt Examples

**Prompt:** 
```
List the first 10 tenants in our Frontegg environment.
```

**Response:** 
```
Retrieving tenants... I found 10 active customer tenants, including 'Acme Corp' (ID: tnt_123) and 'Globex Inc' (ID: tnt_456). Would you like to see the users for Acme Corp?
```

**Prompt:** 
```
Find the user details for 'jane@example.com'.
```

**Response:** 
```
Searching users... I found Jane Doe (jane@example.com). She is assigned to tenant 'Acme Corp' and has the 'Admin' role. Her account was created on Oct 1st.
```

**Prompt:** 
```
Create a new tenant named 'Stark Industries'.
```

**Response:** 
```
Tenant created! I have successfully provisioned the new tenant 'Stark Industries' in your Frontegg environment. The new Tenant ID is tnt_789012.
```

## Capabilities

### Provision new customer accounts
Create new tenants instantly through your AI client.

### Add users to specific accounts
Grant access to new users across your multi-tenant system.

### Audit security roles
Check all available system roles and permissions in one go.

### Fetch backend integration keys
Retrieve machine-to-machine tokens for your specific tenants.

### Get detailed user profiles
Pull metadata for any user or tenant in your environment.

### Remove users or tenants
Delete accounts or users from your database using natural language.

## Use Cases

### Onboarding a new enterprise client
A founder asks the agent to create a tenant and provision 5 seats. The agent uses create_tenant and create_user to finish it in seconds.

### Security audit for compliance
A DevOps lead asks the agent to list all system roles to ensure no over-privileged accounts exist. The agent uses list_system_roles.

### Support ticket resolution
A support tech asks the agent to find a user's tenant and check their permission level. The agent uses get_user_details and list_permissions.

### Backend integration setup
A developer asks the agent to find the M2M token for a specific tenant. The agent uses list_m2m_tokens to pull the correct key.

## Benefits

- Faster onboarding: Use create_tenant to set up new customers in seconds instead of clicking through menus.
- Easier audits: Use list_permissions and list_system_roles to check your security posture across all tenants.
- Faster troubleshooting: Use get_user_details to find account issues without switching tabs or searching logs.
- Automated provisioning: Use create_user to add team members to your app instantly during high-growth periods.
- Backend simplicity: Use list_m2m_tokens to grab the keys you need for server-side integrations without manual searching.

## How It Works

The bottom line is you get a natural language interface for your B2B identity management.

1. Subscribe to the Frontegg MCP on the Vinkius Marketplace.
2. Enter your Vendor Client ID and API Key from your Frontegg workspace.
3. Ask your agent to manage users, tenants, or permissions.

## Frequently Asked Questions

**Can I use Frontegg MCP to automate my B2B customer onboarding?**
Yes. You can use your AI agent to create new customer tenants and provision their initial users automatically, removing the need for manual dashboard entries.

**How does Frontegg MCP help with security audits?**
It allows your agent to list all system roles and granular permissions across your entire platform, making it easy to spot over-privileged accounts.

**Can I use this to find specific user data for support tickets?**
Absolutely. You can ask your agent to pull detailed user metadata or tenant configurations to quickly troubleshoot access issues for your customers.

**Does Frontegg MCP work with Claude and Cursor?**
Yes, it connects to any MCP-compatible client, including Claude, Cursor, and Windsurf, giving you a natural language interface for your identity data.

**Can I manage machine-to-machine tokens with this?**
Yes, the Connector can list M2M tokens for your specific tenants, which helps you manage backend integrations without hunting through your settings pages.

**How do I get my Client ID and API Key for Frontegg?**
Log in to the Frontegg Portal, select your workspace/environment, go to 'Environment Settings' > 'API Keys', and create a Vendor token to get your Client ID and API Key.

**Does this support multi-tenant management?**
Yes! The agent can list, create, and delete individual tenants (customer accounts) within your environment using the 'list_tenants' and 'create_tenant' tools.

**Can I search for a user across all tenants?**
Yes, use the 'list_users' tool and provide an exact 'email' parameter. The agent will search across all tenants in the environment to find the user profile.

**Is it possible to view role permissions?**
You can use the 'list_system_roles' to view all roles and the 'list_permissions' tool to see the granular permissions available for assignment.