Skip to content
MCP server

MCP Api

Preview release of FusionAuth API MCP server

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.14
Listing updated
4 days ago

About MCP Api

MCP Api is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-api --env API_KEY_APIKEYAUTH='<API_KEY_APIKEYAUTH>' --env API_BASE_URL='<API_BASE_URL>' -- npx -y @fusionauth/mcp-api

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-api": {
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-api": {
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-api": {
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-api": {
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "<API_KEY_APIKEYAUTH>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}

Configuration

  • API_KEY_APIKEYAUTHYour API key for FusionAuth instanceRequired
  • API_BASE_URLThe URL for your FusionAuth instanceRequired
  • USE_TOOLSPrefixes of APIs to create MCP tools for, if not set defaults to all available tools

Pricing

Open source

MCP Api FAQ

Is MCP Api free?

Yes. MCP Api is open source, so you can use and self-host it for free.

How do I add MCP Api to Claude Code?

Run this command in your terminal: claude mcp add mcp-api --env API_KEY_APIKEYAUTH='<API_KEY_APIKEYAUTH>' --env API_BASE_URL='<API_BASE_URL>' -- npx -y @fusionauth/mcp-api