Skip to content
Skillpedia
βœ“ Official Β· FusionAuthπŸ’» LocalπŸ”‘ Needs an API keySecurity

FusionAuth API MCP

Lets your AI agent query and manage a FusionAuth instance: users, applications and settings, through its API.

0 stars on GitHubby FusionAuthUpdated β€”

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add fusionauth-mcp-api -e API_KEY_APIKEYAUTH="<your value>" -e API_BASE_URL="<your value>" -- npx -y @fusionauth/mcp-api

What to fill in

NameWhat it isRequired
API_KEY_APIKEYAUTHYour API key for FusionAuth instanceYes
API_BASE_URLThe URL for your FusionAuth instanceYes
USE_TOOLSPrefixes of APIs to create MCP tools for, if not set defaults to all available toolsNo

Ready! Now test it

Restart the app and paste one of these requests in the chat:

How many users do I have in my FusionAuth instance?
How many FusionAuth applications do I have?

What it is

This server connects your AI agent to your own FusionAuth instance, an identity and login system. It has a tool for each FusionAuth API endpoint, so the agent can look up users and applications or, if you allow it, create and change them. You can limit it to read-only tools.

What it can do

  • retrieve tools: read items such as users and applications
  • search tools: search users and other records
  • create tools: add new items (optional)
  • update and patch tools: change existing items (optional)
  • delete tools: remove items (optional)
  • USE_TOOLS setting: choose which groups of tools are offered

When to use

  • β€ΊWhen you want to ask how many users or applications your FusionAuth instance has
  • β€ΊWhen you need to add or update a user without opening the admin screen
  • β€ΊWhen you want a read-only assistant that can look at your FusionAuth setup safely

What you need

A running FusionAuth instance, Node.js, and a FusionAuth API key with limited permissions.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The package is published under the Apache 2.0 license. You still need your own FusionAuth instance.

What do I need before it works?

A running FusionAuth instance, Node.js, and an API key created in FusionAuth.

Can I make it read-only?

Yes. Set USE_TOOLS to retrieve,search so only read operations are available.

Why are there so many tools?

By default there is one tool for every API endpoint, over 300 in total. Together they use nearly 200k tokens, so restricting them is recommended.

Is it safe to use?

The API key is stored in your MCP client configuration, so scope the key narrowly. FusionAuth says it is not responsible for leaked sensitive information.

Where does it run?

On your machine through npx, started by your MCP client. It talks to the instance set in API_BASE_URL.

If it does not work

  • β€ΊCheck that your API key has the permissions for the action the agent is trying.
  • β€ΊIf your client struggles with the long tool list, set USE_TOOLS to a smaller group such as retrieve,search.
  • β€ΊCheck your MCP client logs, or run npx @modelcontextprotocol/inspector to find out whether the problem is the server or the client.

5 new skills a week. 1 minute to read.