Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Privateer Agent

MCP server by privateer-agent Verified · npm:privateer-agent

Privateer Agent is a privacy-first terminal coding agent that works with 20 model providers, including local Ollama. It gates file edits, shell commands and network calls behind a permission check. It suits developers who want to choose their own model and keep control of their data.

  • Score 79
  • 9 stars
  • 441 a week
  • MIT
  • Updated

Install Privateer Agent

Built from the published package, never by AI.

claude mcp add privateer-agent -- npx -y privateer-agent

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Privateer Agent in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the privateer-agent block.

About

Privateer Agent is a privacy-first, safe-by-default distribution of the Pi coding agent. It runs in the terminal and lets you switch between many model providers, including OpenRouter, Anthropic, OpenAI, Google and local Ollama, with /model, even mid-session. Every edit, shell command and network call is classified and gated before it runs.

It also supports MCP servers, sub-agents, scheduled routines, workflows and chat-app bridges. Confidential-enclave inference on NEAR AI and Tinfoil can be checked by attestation, and an on-device PII gate warns before personal data goes to an unverified model. It suits developers who want to bring their own model and keep control of their privacy.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Permission gateClassifies and gates every edit, shell command and network call before it runs.
  • Model switchingSwaps between many providers with /model, even mid-session.
  • MCP connectorsLoads MCP servers through Pi's built-in client, with tool calls gated individually.
  • Sub-agentsHands work to bounded parallel agents that keep their MCP tools.
  • Verifiable private inferenceRuns models in a TEE on NEAR AI and Tinfoil, with /verify for attestation reports.
  • On-device PII gateScans prompts for emails, phone numbers, SSNs, cards, IBANs and IPs before unverified models.
  • Declarative workflowsRuns multi-step YAML pipelines with conditional routes and human approval gates.
  • Scheduled routinesHarbor runs approved tasks unattended, on cron or once.
  • Private handoffprivateer -p --private reads sensitive files locally and returns only the answer.

What you need

  • An API key from a supported provider, or a Privateer account via /login
  • Or a local Ollama server, which runs keyless
  • macOS, Linux or Windows (x64)
  • Git for Windows or WSL on Windows for the command tool
  • Node.js 22.19 or newer, only for the npm route

Try asking

  • Use /model to switch this session to a local Ollama model.
  • Ask before running any shell command or editing a file in this project.
  • Check the attestation for this TEE model before sending my prompt.

Good to know

  • Windows needs bash from Git for Windows or WSL for the command tool.
  • There are no Linux arm64 or Windows arm64 bundles yet.
  • Remote access from the phone is off by default.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://privateer.pro/install.sh | sh

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Privateer Agent

All alternatives →
MR Office XinaTian
98

Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.

ACA Local and remote 5.8k
kordocchrisryugj
94

Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.

AAA Local 129k/wk
Desktop Commanderwonderwhy-er
94

Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.

AAA Local 1.4M/wk
MCP Linear tacticlaunch
94

Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.

AAB Local 69k/wk
Pptx Viewer MCP ChristopherVR
94

pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.

AAB Local 50k/wk
Dsh Plugin Reactive Resume amruthpillai
94

Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.

AAA Local 46k

Compare with MR Office, kordoc or Desktop Commander

Privateer Agent: common questions

Does Privateer Agent need an API key?

No. You can bring a key from a supported provider, run keyless against a local Ollama, or /login to bill a Privateer account.

How can I check what I am installing?

The README points to npm provenance and the privateer verify command, which reports whether the install matches the published version.

What is the TEE inference feature?

Confidential-enclave inference on NEAR AI and Tinfoil is cryptographically attested, and /verify checks the report on demand.

How do I install Privateer Agent?

In Claude Code run claude mcp add privateer-agent -- npx -y privateer-agent. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Privateer Agent the official server?

Privateer Agent is published by npm:privateer-agent from its verified domain in the official MCP Registry.

Is Privateer Agent free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Privateer Agent safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Privateer Agent?

Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.

Does Privateer Agent work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Privateer Agent Install

Add to stack

Loading.