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.
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.
{
"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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。