Fingerprint MCP Server

Fingerprint MCP Server

Enables MCP-compatible clients to interact with Fingerprint's identification events and management APIs, supporting both private and public modes with tool filtering and multiple transport protocols.

Category
Visit Server

README

<p align="center"> <a href="https://fingerprint.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://fingerprintjs.github.io/home/resources/logo_light.svg" /> <source media="(prefers-color-scheme: light)" srcset="https://fingerprintjs.github.io/home/resources/logo_dark.svg" /> <img src="https://fingerprintjs.github.io/home/resources/logo_dark.svg" alt="Fingerprint logo" width="312px" /> </picture> </a> </p>

Fingerprint MCP Server

Features

  • Run locally or use managed instance at https://mcp.fpjs.io/mcp
  • Event tools: Retrieve and search identification events with full smart signal data
  • Management tools: Manage workspace environments and API keys
  • Onboarding prompt: Guided setup for integrating Fingerprint into a project
  • Supports both stdio and streamable-http transports
  • Optional HTTPS with TLS certificates
  • OAuth2 login supported
  • Public mode for multi-tenant deployments (API keys passed via JWT bearer token)
  • Tool filtering to control which tools are exposed
  • Configurable via environment variables or CLI flags
  • Docker support for easy deployment

Installation

From Source

go install github.com/fingerprintjs/fingerprint-mcp-server@latest

Build Locally

git clone https://github.com/fingerprintjs/fingerprint-mcp-server.git
cd fingerprint-mcp-server
make build

make build runs go generate (to download the OpenAPI spec and generate schema files under internal/schema/) and then builds the binary.

Configuration

The server can be configured via CLI flags or environment variables:

CLI Flag Environment Variable Default Description
--server-api-key FINGERPRINT_SERVER_API_KEY Fingerprint Server API key (private mode)
--server-api-url FINGERPRINT_SERVER_API_URL api.fpjs.io Custom Server API URL (omit to use default)
--management-api-key FINGERPRINT_MANAGEMENT_API_KEY Fingerprint Management API key (private mode)
--management-api-url FINGERPRINT_MANAGEMENT_API_URL management-api.fpjs.io Custom Management API URL (omit to use default)
--region FINGERPRINT_REGION us API region: us, eu, or ap (private mode)
--transport MCP_TRANSPORT stdio Transport: stdio or streamable-http
--port MCP_PORT 8080 Port for HTTP/HTTPS server
--tls-cert MCP_TLS_CERT Path to TLS certificate file
--tls-key MCP_TLS_KEY Path to TLS private key file
--read-only MCP_READ_ONLY false Only expose read tools (shorthand for --tools with read-only tools)
--tools MCP_TOOLS Comma-separated list of tool names to register (overrides --read-only)
--public MCP_PUBLIC false Public mode: extract API keys from JWT bearer tokens
--auth-token MCP_AUTH_TOKEN (auto-generated in private mode) Bearer token required to access the server (private mode)
--jwt-public-key FINGERPRINT_PUBLIC_KEY PEM-encoded ES256 public key for verifying Fingerprint-issued JWT tokens
--oauth-resource OAUTH_RESOURCE URL of this server (for OAuth metadata)
--oauth-auth-server OAUTH_AUTH_SERVER URL of the OAuth authorization server
--jwks-url JWKS_URL JWKS URL for JWT token verification in public mode

Telemetry

This binary ships with telemetry disabled. There is no built-in analytics backend and the default emitter is a no-op, so running the OSS binary sends nothing to anyone.

The server exposes a hook (analytics.Emitter in the analytics package) that fires on each MCP method. Embedders who want product analytics register their own emitter by importing this package as a library and calling WithAnalytics(emitter) when constructing the server. Fingerprint's hosted build (mcp.fpjs.io) does this with an Amplitude emitter, but that implementation lives in the private managed repo, not here.

If you build your own emitter, the event shape is in analytics/analytics.go. The middleware fires one mcp_method_called event per MCP method, gated on a non-empty subscription_id (so pre-auth methods and the private-mode auth path stay silent regardless).

Usage

Private mode vs. Public mode

Private mode means the server runs with its API keys pre-configured (FINGERPRINT_SERVER_API_KEY and FINGERPRINT_MANAGEMENT_API_KEY). This mode is useful when you are running a local instance intended to be used within your organization: server automatically uses those specified in the config. In this mode, auth token (MCP_AUTH_TOKEN) is enforced to protect your instance of the MCP server from unauthenticated use.

Public mode is how https://mcp.fpjs.io/mcp is run. It is meant to be used in situations when a single instance can be used by different users from different organizations, each with their own API keys. In this mode, API keys are extracted from JWT access tokens that are issued by https://dashboard.fingerprint.com or by user following the OAuth2 flow.

Stdio Transport (Default)

export FINGERPRINT_SERVER_API_KEY=your-secret-api-key
./fingerprint-mcp-server

Streamable HTTP Transport

export FINGERPRINT_SERVER_API_KEY=your-secret-api-key
./fingerprint-mcp-server --transport=streamable-http --port=8080

The MCP endpoint will be available at http://localhost:8080/mcp.

HTTPS

Provide TLS certificate and key files to enable HTTPS:

./fingerprint-mcp-server --transport=streamable-http \
  --tls-cert=cert.pem --tls-key=key.pem

Tool Filtering

By default, all tools are registered based on which API keys are configured. You can restrict which tools are exposed:

# Only expose read-only tools
./fingerprint-mcp-server --read-only

# Expose a specific set of tools
./fingerprint-mcp-server --tools=get_event,search_events,list_environments

When --tools is set, it overrides --read-only.

Docker

Build the Image

docker build -t fingerprint-mcp-server .

Run with Stdio Transport

docker run -i --rm \
  -e FINGERPRINT_SERVER_API_KEY=your-secret-api-key \
  fingerprint-mcp-server

Run with Streamable HTTP Transport

docker run -d --rm \
  -e FINGERPRINT_SERVER_API_KEY=your-secret-api-key \
  -e MCP_TRANSPORT=streamable-http \
  -p 8080:8080 \
  fingerprint-mcp-server

MCP Client Configuration

Hosted endpoint (managed)

The quickest way to connect is the managed instance at https://mcp.fpjs.io/mcp, which runs in public mode and authenticates each user via OAuth2.

Add to Cursor

{
  "mcpServers": {
    "fingerprint": {
      "type": "http",
      "url": "https://mcp.fpjs.io/mcp"
    }
  }
}

Self-hosted

Add to your Cursor/Claude Desktop/etc configuration file (e.g. claude_desktop_config.json):

Stdio Transport:

{
  "mcpServers": {
    "fingerprint": {
      "command": "/path/to/fingerprint-mcp-server",
      "env": {
        "FINGERPRINT_SERVER_API_KEY": "your-secret-api-key"
      }
    }
  }
}

Streamable HTTP Transport:

{
  "mcpServers": {
    "fingerprint": {
      "url": "https://url/mcp",
      "headers": {
        "Authorization": "Bearer <auth-token>"
      }
    }
  }
}

Docker with Stdio:

{
  "mcpServers": {
    "fingerprint": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "FINGERPRINT_SERVER_API_KEY=your-secret-api-key", "fingerprint-mcp-server"]
    }
  }
}

Available Tools

Event tools require a Server API key. Management tools require a Management API key. get_current_time needs no key and is always available. Write tools (create/update/delete) are hidden when --read-only is set or excluded via --tools.

Tool Description
get_current_time Return the current date/time in UTC (and an optional IANA timezone)
get_event Retrieve a specific identification event by ID
search_events Search events with filters (visitor, IP, smart signals, time range)
list_environments List workspace environments with pagination
get_api_key Get details of a specific API key
list_api_keys List API keys with optional type/status/environment filters
create_environment Create a new workspace environment
update_environment Update an existing workspace environment
delete_environment Delete a workspace environment
create_api_key Create a new API key (public/secret/proxy)
update_api_key Update an existing API key
delete_api_key Delete an API key (irreversible)

Available Resources

  • fingerprint://events/{event_id} — Returns full event data for a given event ID.
  • fingerprint://schemas/event — JSON Schema describing the event output structure.
  • fingerprint://schemas/environment — JSON Schema for environment objects.
  • fingerprint://schemas/api-key — JSON Schema for API key objects.

Available Prompts

  • onboarding — A guided walkthrough for integrating Fingerprint into a project, covering JavaScript Agent installation, API key setup, and verification steps.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured