Skip to content
VS Code

mcp api for VS Code

io.fusionauth/mcp-api

Preview release of FusionAuth API MCP server

client:VS Code transport:stdio runtime:npm

Install mcp api in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "api-key-apikeyauth",
      "description": "API_KEY_APIKEYAUTH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "api-base-url",
      "description": "API_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "use-tools",
      "description": "USE_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "mcp-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@fusionauth/mcp-api"
      ],
      "env": {
        "API_KEY_APIKEYAUTH": "${input:api-key-apikeyauth}",
        "API_BASE_URL": "${input:api-base-url}",
        "USE_TOOLS": "${input:use-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp api in other clients