PrivaTools MCP Server
Stateless privacy-first PDF, image, document, and media processing tools via PrivaTools API.
PrivaTools scores 70 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 6 tools. Filed under Knowledge. GitHub shows 0 stars. Package registries report about 79 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
70 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
78/100 for listing completeness. Lost points: 5 of 6 tools barely described, short summary.
How quality is graded
Where the 70 comes from
22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ethereaglehq-privatools-mcp": { "command": "npx", "args": [ "-y", "@privatools/mcp@0.1.0" ], "env": { "PRIVATOOLS_API_KEY": "YOUR_PRIVATOOLS_API_KEY", "PRIVATOOLS_MCP_ALLOWED_DIRS": "", "PRIVATOOLS_API_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PRIVATOOLS_API_KEYSecret | Optional | Optional PrivaTools API key from privatools.me for authenticated higher-quota access |
PRIVATOOLS_MCP_ALLOWED_DIRS | Optional | Optional OS path-delimited directory allowlist for local file reads and writes |
PRIVATOOLS_API_URL | Optional | Optional PrivaTools-compatible API v1 base URL (defaults to https://api.privatools.me/api/v1) |
Tools6Tool docs quality grade D
All capabilitiesDelete PrivaTools Async Job
Inspect PrivaTools Operation Schema
Check or Download PrivaTools Job
Search PrivaTools Operations
Run PrivaTools File Operation
Submit Async PrivaTools Job
About
@privatools/mcp
A zero-dependency, stateless, dual-era Model Context Protocol (MCP) server for the PrivaTools /api/v1 file-processing API — giving AI assistants access to 140+ privacy-first PDF, document, image, audio, video, OCR, archive, and accessibility tools through 6 progressive-discovery tools.
PrivaTools itself is a closed-source web and API application; this @privatools/mcp client repository (including its Antigravity plugin, Gemini CLI extension, and MCPB manifest) is open source under the MIT License.
Built on pure Node.js (>= 20) ESM built-ins (fs, path, fetch, FormData, Blob, crypto) with zero external runtime dependencies, keeping the npm, OCI, and .mcpb supply-chain footprint minimal.
- Docs & setup guide: privatools.me/mcp · OpenAPI spec: api.privatools.me/api/v1/openapi.json
- Local stdio package (npm):
@privatools/mcp - Remote Streamable HTTP endpoint:
https://api.privatools.me/mcp - Official MCP Registry:
io.github.ethereaglehq/privatools - Container image (OCI):
ghcr.io/ethereaglehq/privatools-mcp - Source & issues: github.com/ethereaglehq/privatools-mcp
- Privacy Policy & Security: privatools.me/privacy · privatools.me/security
Directory & Marketplace Listings
- Glama: glama.ai/mcp/servers/ethereaglehq/privatools-mcp (claimed,
0.1.0build/release passing) - LobeHub:
ethereaglehq-privatools-mcp - Cursor Directory: submitted (scanning)
- Cline MCP Marketplace:
cline/mcp-marketplace#4106 - mcp.so:
chatmcp/mcpso#8044 - awesome-mcp-servers:
punkpeye/awesome-mcp-servers#20670 - awesome-remote-mcp-servers:
punkpeye/awesome-remote-mcp-servers#5880 - Docker MCP Catalog:
docker/mcp-registry#7686 - Google Antigravity Marketplace: plugin packaged (
plugin.json+mcp_config.json+assets/logo.png, partner intake pending)
Protocol Support (Dual-Era MCP 2026-07-28 + Legacy <= 2025-11-25)
@privatools/mcp implements both modern and legacy MCP protocol eras concurrently over stdio:
- Modern stateless core (
2026-07-28):server/discoveradvertising supported protocol versions, capabilities, server metadata (name,version,title,description,websiteUrl,icons), and cache hints (ttlMs,cacheScope).- Per-request
_meta["io.modelcontextprotocol/protocolVersion"]validation, returning-32022(UnsupportedProtocolVersionError) withdata: { supported, requested }on version mismatch. resultType: "complete"and_meta["io.modelcontextprotocol/serverInfo"]on modern results.tools/listcache directives (ttlMs,cacheScope: "public").
- Legacy handshake compatibility (
2025-11-25,2025-06-18,2025-03-26,2024-11-05):- Full
initialize,notifications/initialized,notifications/cancelled, andpingsupport with version negotiation down to2024-11-05. - JSON-RPC batching is cleanly rejected for protocol versions
>= 2025-06-18(and stateless2026-07-28), while remaining supported for negotiated2025-03-26/2024-11-05sessions.
- Full
- Structured tool metadata & SEP-1303 error semantics:
- Every tool defines
title,annotations(readOnlyHint,destructiveHint,idempotentHint,openWorldHint),inputSchema, andoutputSchema. - Successful
tools/callresponses return bothstructuredContent(conforming tooutputSchema) and serialized JSON inTextContentfor backwards compatibility. - Tool input validation failures and API/file errors return Tool Execution Errors (
isError: true) rather than raw JSON-RPC protocol exceptions so models can self-correct.
- Every tool defines
Why 6 tools instead of 200+ schemas?
Dumping every PrivaTools endpoint into tools/list would consume tens of thousands of tokens in every agent session. Instead, @privatools/mcp exposes 6 progressive-discovery tools with strict read/write separation (no single tool mixes safe reads and destructive deletes):
| Tool | Title | Annotations | Purpose |
|---|---|---|---|
privatools_list_tools | Search PrivaTools Operations | readOnlyHint: true, idempotentHint: true | Search and filter /api/v1 operations by query, category, or mode (sync / async), backed by live /api/v1/operations (or /api/v1/openapi.json) with a bundled offline fallback covering 145 HTTP operations (192 aliases + 37 browser-only = 229 catalog tools). |
privatools_describe_tool | Inspect PrivaTools Operation Schema | readOnlyHint: true, idempotentHint: true | Inspect exact endpoint path, HTTP method, upload field names (file vs files vs named fields), form/query parameters, constraints, cost, async availability, and response media types. |
privatools_run_tool | Run PrivaTools File Operation | readOnlyHint: false, destructiveHint: false, openWorldHint: true | Run any synchronous /api/v1/<operation> endpoint against local file(s) and parameters. Binary outputs are written directly to disk (never clobbering existing files unless overwrite: true) and concise metadata + X-* headers are returned; JSON tools (e.g. accessibility-check, view-exif, remove-watermark/detect) return JSON inline. |
privatools_submit_job | Submit Async PrivaTools Job | readOnlyHint: false, destructiveHint: false, openWorldHint: true | Submit an asynchronous background job (POST /api/v1/jobs) for heavy/large PDF operations (merge, compress, grayscale, pdf-to-text) with automatic Idempotency-Key support. On https://api.privatools.me/mcp, anonymous async jobs work without an API key starting with PrivaTools v2.7.39 using 192-bit capability job_ids (same per-format limits as sync, <= 1 h retention; optional X-API-Key raises quotas). |
privatools_job_status | Check or Download PrivaTools Job | readOnlyHint: true, idempotentHint: true, openWorldHint: true | Read-only on the server: poll job status (action: "status") or download a completed artifact (action: "download"). |
privatools_delete_job | Delete PrivaTools Async Job | readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true | Dedicated destructive tool to immediately delete a completed server-side job artifact or cancel a running job (DELETE /api/v1/jobs/{job_id}). |
Requirements
- Node.js 20+ (for local stdio execution via
npx -y @privatools/mcpor from source) - No API key required on the hosted remote endpoint (
https://api.privatools.me/mcp) — both synchronous tools and (starting with PrivaToolsv2.7.39) anonymous async jobs work out of the box (192-bit capabilityjob_ids, same per-format limits as sync,<= 1 hretention); an optional PrivaTools API key (X-API-Key/PRIVATOOLS_API_KEY) from privatools.me unlocks higher keyed quotas
Setup
You can run the server via npx -y @privatools/mcp, directly from this repository (node /path/to/privatools-mcp/bin/privatools-mcp.mjs), via Docker (ghcr.io/ethereaglehq/privatools-mcp), or connect directly to the hosted Streamable HTTP endpoint (https://api.privatools.me/mcp).
Official MCP Registry:
package.jsondeclares"mcpName": "io.github.ethereaglehq/privatools", matchingserver.json(published via GitHub Actions OIDC in.github/workflows/publish.yml).
Claude Desktop / Claude Code
Claude Code CLI:
# Local stdio (reads/writes local files directly)
claude mcp add privatools \
-e PRIVATOOLS_API_KEY="YOUR_API_KEY" \
-e PRIVATOOLS_MCP_ALLOWED_DIRS="$HOME/Documents:$HOME/Downloads" \
-- npx -y @privatools/mcp
# Remote Streamable HTTP (no local runtime)
claude mcp add --transport http privatools https://api.privatools.me/mcp
Claude Desktop (claude_desktop_config.json):
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"privatools": {
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_KEY": "YOUR_API_KEY",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "/Users/you/Documents:/Users/you/Downloads"
}
}
}
}
Or in a project .mcp.json when running directly from a local checkout:
{
"mcpServers": {
"privatools": {
"command": "node",
"args": ["./bin/privatools-mcp.mjs"],
"env": {
"PRIVATOOLS_API_KEY": "${PRIVATOOLS_API_KEY}",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "${PWD}"
}
}
}
}
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"privatools": {
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_KEY": "YOUR_API_KEY",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "/path/to/workspace"
}
}
}
}
For remote Streamable HTTP in Cursor, use { "mcpServers": { "privatools": { "url": "https://api.privatools.me/mcp" } } }. See docs/listings/install-links.md for verified one-click deeplinks.
VS Code
Use the one-click badges at the top of this README or add .vscode/mcp.json:
{
"servers": {
"privatools": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_KEY": "${input:privatools_api_key}"
}
}
},
"inputs": [
{
"id": "privatools_api_key",
"type": "promptString",
"description": "Optional PrivaTools API key from privatools.me",
"password": true
}
]
}
For remote Streamable HTTP in VS Code, set "type": "http" and "url": "https://api.privatools.me/mcp".
Google Antigravity
This repository is packaged as a native Antigravity plugin (plugin.json, mcp_config.json, assets/logo.png) connecting to the hosted Streamable HTTP endpoint (https://api.privatools.me/mcp, no account or API key required).
Install directly from GitHub with the Antigravity CLI (agy):
agy plugin install https://github.com/ethereaglehq/privatools-mcp
Or add the remote Streamable HTTP server directly in ~/.gemini/config/mcp_config.json (global) or <workspace>/.agents/mcp_config.json (project):
{
"mcpServers": {
"privatools": {
"url": "https://api.privatools.me/mcp"
}
}
}
If you need direct local filesystem reads and writes (with optional PRIVATOOLS_MCP_ALLOWED_DIRS sandboxing) instead of the hosted remote endpoint, configure the MIT-licensed local stdio client (npx -y @privatools/mcp) in mcp_config.json:
{
"mcpServers": {
"privatools": {
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_KEY": "YOUR_OPTIONAL_API_KEY",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "/path/to/workspace"
}
}
}
}
Gemini CLI
Install as a Gemini CLI extension directly from this repository:
gemini extensions install https://github.com/ethereaglehq/privatools-mcp
Or add directly to ~/.gemini/settings.json (or .gemini/settings.json):
{
"mcpServers": {
"privatools": {
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_KEY": "$PRIVATOOLS_API_KEY",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "$PWD"
}
}
}
}
Codex
Add to ~/.codex/config.toml:
[mcp_servers.privatools]
command = "npx"
args = ["-y", "@privatools/mcp"]
[mcp_servers.privatools.env]
PRIVATOOLS_API_KEY = "YOUR_API_KEY"
PRIVATOOLS_MCP_ALLOWED_DIRS = "/path/to/workspace"
Custom PrivaTools-Compatible Endpoint
Point PRIVATOOLS_API_URL at another PrivaTools-compatible /api/v1 endpoint if you want the client to target a non-default base URL (defaults to https://api.privatools.me/api/v1):
{
"mcpServers": {
"privatools-custom": {
"command": "npx",
"args": ["-y", "@privatools/mcp"],
"env": {
"PRIVATOOLS_API_URL": "https://your-privatools-compatible-endpoint.example/api/v1",
"PRIVATOOLS_API_KEY": "YOUR_API_KEY_IF_REQUIRED",
"PRIVATOOLS_MCP_ALLOWED_DIRS": "/path/to/working-dir"
}
}
}
}
PRIVATOOLS_API_KEY is omitted from requests when unset.
Privacy & Stateless Design
- Zero local state:
@privatools/mcpcreates no databases, caches no files on disk, and writes nothing except the output files you explicitly request (or auto-named outputs next to inputs). - Minimal context footprint: Binary files are streamed to/from local disk rather than base64-encoded into LLM messages; only concise metadata (
output_path,bytes,media_type, relevantX-*headers) is returned to the model. - Short-lived async artifacts: On
https://api.privatools.me/mcp, anonymous async jobs work without an API key (scoped by unguessable capabilityjob_ids with the same per-format limits as sync; optionalX-API-Keyraises quotas). Background job results expire within one hour on PrivaTools servers and can be deleted immediately viaprivatools_delete_job. - Stdout isolation: All protocol traffic uses newline-delimited JSON-RPC 2.0 on
stdout. Diagnostics (whenPRIVATOOLS_MCP_DEBUG=1) go exclusively tostderr, andPRIVATOOLS_API_KEYis never logged or echoed in error payloads. - Full privacy policy: https://privatools.me/privacy
Filesystem Sandboxing (PRIVATOOLS_MCP_ALLOWED_DIRS)
By default, the server can read and write paths accessible to the OS user running it. To restrict all file reads and writes to specific folders, set PRIVATOOLS_MCP_ALLOWED_DIRS using your OS path delimiter (: on Linux/macOS, ; on Windows):
export PRIVATOOLS_MCP_ALLOWED_DIRS="$HOME/Documents:$HOME/Downloads"
When set:
- Every input file and output path is resolved through
fs.realpath(catching..traversal and symlinks pointing outside the allowlist). - Paths containing null bytes or pointing outside the allowlist are rejected before any network request is made.
- Existing output files are never overwritten unless
overwrite: trueis explicitly passed.
Environment Variables
| Variable | Default | Description |
|---|---|---|
PRIVATOOLS_API_URL | https://api.privatools.me/api/v1 | Base URL for the PrivaTools v1 API. |
PRIVATOOLS_API_KEY | (unset) | Sent in the X-API-Key header when set. |
PRIVATOOLS_MCP_ALLOWED_DIRS | (unset) | Optional path-delimiter-separated directory allowlist for reads and writes. |
PRIVATOOLS_API_TIMEOUT_MS | 120000 | Per-request HTTP timeout in milliseconds. |
PRIVATOOLS_MCP_DEBUG | (unset) | Set to 1 to log diagnostics to stderr. |
Running Tests, MCPB Packaging & Conformance Checks
# Unit & stdio integration tests
node --test test/*.test.mjs
# Validate .mcpb manifest and bundle inputs
node scripts/build-mcpb.mjs --check
# Verify npm package payload contents
npm pack --dry-run
# MCP Inspector CLI conformance (strict schema portability + tool calls)
npx -y @modelcontextprotocol/inspector --cli node bin/privatools-mcp.mjs \
--method tools/list --strict --format json
npx -y @modelcontextprotocol/inspector --cli --protocol-era modern \
node bin/privatools-mcp.mjs --method tools/list --strict --format json
License
The @privatools/mcp client in this repository is licensed under the MIT License — see LICENSE.
Frequently asked questions
What is PrivaTools MCP Server?
Stateless privacy-first PDF, image, document, and media processing tools via PrivaTools API.
How do I install PrivaTools MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. PrivaTools MCP Server runs locally from the npm package @privatools/mcp with the command npx -y @privatools/mcp@0.1.0.
Is PrivaTools MCP Server free and open source?
Yes. PrivaTools MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does PrivaTools MCP Server support remote (HTTP) connections?
Yes. PrivaTools MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does PrivaTools MCP Server provide?
PrivaTools MCP Server provides 6 tools, including privatools_delete_job, privatools_describe_tool, privatools_job_status, and privatools_list_tools. See the full tool list for descriptions and parameters.
How is PrivaTools MCP Server's trust score calculated?
PrivaTools MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.