What is the io.fusionauth/mcp-api MCP server?
Preview release of FusionAuth API MCP server
How to install io.fusionauth/mcp-api
Copy-paste configuration for popular MCP clients.
transport: stdio
Config generated by PluginBench — verify against the source before use.Environment / auth
API_KEY_APIKEYAUTHrequiredsecretYour API key for FusionAuth instance
API_BASE_URLrequiredThe URL for your FusionAuth instance
USE_TOOLSPrefixes of APIs to create MCP tools for, if not set defaults to all available tools
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<YOUR_API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<YOUR_API_BASE_URL>",
"USE_TOOLS": "<YOUR_USE_TOOLS>"
}
}
}
}Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<YOUR_API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<YOUR_API_BASE_URL>",
"USE_TOOLS": "<YOUR_USE_TOOLS>"
}
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<YOUR_API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<YOUR_API_BASE_URL>",
"USE_TOOLS": "<YOUR_USE_TOOLS>"
}
}
}
}VS Code
.vscode/mcp.json
{
"servers": {
"mcp-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fusionauth/mcp-api"
],
"env": {
"API_KEY_APIKEYAUTH": "<YOUR_API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<YOUR_API_BASE_URL>",
"USE_TOOLS": "<YOUR_USE_TOOLS>"
}
}
}
}Claude Code
claude mcp add mcp-api --env API_KEY_APIKEYAUTH=<YOUR_API_KEY_APIKEYAUTH> --env API_BASE_URL=<YOUR_API_BASE_URL> --env USE_TOOLS=<YOUR_USE_TOOLS> -- npx -y @fusionauth/mcp-apiRelated MCP servers
FusionAuth Documentation MCP server