MCP Server Studio
Preview release of FusionAuth API MCP server
Registry name: io.fusionauth/mcp-api
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/[email protected]"
],
"env": {
"API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<API_BASE_URL>",
"USE_TOOLS": "<USE_TOOLS>"
}
}
}
}Run in your terminal:
claude mcp add mcp-api -e API_KEY_APIKEYAUTH='<API_KEY_APIKEYAUTH>' -e API_BASE_URL='<API_BASE_URL>' -e USE_TOOLS='<USE_TOOLS>' -- npx -y @fusionauth/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/[email protected]"
],
"env": {
"API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<API_BASE_URL>",
"USE_TOOLS": "<USE_TOOLS>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp-api": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fusionauth/[email protected]"
],
"env": {
"API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<API_BASE_URL>",
"USE_TOOLS": "<USE_TOOLS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp-api": {
"command": "npx",
"args": [
"-y",
"@fusionauth/[email protected]"
],
"env": {
"API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
"API_BASE_URL": "<API_BASE_URL>",
"USE_TOOLS": "<USE_TOOLS>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
API_KEY_APIKEYAUTH | Yes | Your API key for FusionAuth instance |
API_BASE_URL | Yes | The URL for your FusionAuth instance |
USE_TOOLS | No | Prefixes of APIs to create MCP tools for, if not set defaults to all available tools |