AI

MCP Server

Connect FanID WebSDK documentation to AI tools with the built-in MCP server.

The FanID documentation includes a built-in MCP (Model Context Protocol) server. Any MCP-compatible AI tool can connect to the documentation and use it as a knowledge source.

Server URL

https://docs.fanid.co/mcp

How it works

When connected to an AI assistant, the MCP server provides two tools:

list-pages

Lists all documentation pages with their titles, paths, and descriptions. AI assistants call this first to discover available content.

ParameterTypeDescription
localestring (optional)Filter pages by locale

get-page

Retrieves the full markdown content of a specific documentation page.

ParameterTypeDescription
pathstring (required)The page path (e.g., /websdk/quick-start)

The LLM can proactively search the documentation while generating responses — it decides when to use the tools based on conversation context.

Setup

Claude Code

claude mcp add --transport http fanid-docs https://docs.fanid.co/mcp

Cursor

Create or update .cursor/mcp.json in your project root:

.cursor/mcp.json
{
  "mcpServers": {
    "fanid-docs": {
      "type": "http",
      "url": "https://docs.fanid.co/mcp"
    }
  }
}

Visual Studio Code

Ensure GitHub Copilot and GitHub Copilot Chat extensions are installed. Create or update .vscode/mcp.json:

.vscode/mcp.json
{
  "servers": {
    "fanid-docs": {
      "type": "http",
      "url": "https://docs.fanid.co/mcp"
    }
  }
}

Windsurf

Open Settings > Windsurf Settings > Cascade > Manage MCPs > View raw config:

.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "fanid-docs": {
      "type": "http",
      "url": "https://docs.fanid.co/mcp"
    }
  }
}

Zed

Open Settings > Open Settings and add:

.config/zed/settings.json
{
  "context_servers": {
    "fanid-docs": {
      "source": "custom",
      "command": "npx",
      "args": ["mcp-remote", "https://docs.fanid.co/mcp"],
      "env": {}
    }
  }
}

What AI assistants can do

Once connected, the AI assistant can:

  • Answer questions about the FanID WebSDK configuration and API
  • Provide correct code examples for gated content integration
  • Help with CSS custom property overrides for styling
  • Guide framework-specific setup (React, Vue, Angular, WordPress)
  • Explain ad-blocker resistance and SEO behavior
  • Troubleshoot CSP and cross-domain configuration
Copyright © 2026