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.
Install Privateer Agent
Built from the published package, never by AI.
claude mcp add privateer-agent -- npx -y privateer-agentRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"privateer-agent": {
"args": [
"-y",
"privateer-agent"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"privateer-agent": {
"args": [
"-y",
"privateer-agent"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"privateer-agent": {
"args": [
"-y",
"privateer-agent"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add privateer-agent -- npx -y privateer-agent{
"mcpServers": {
"privateer-agent": {
"args": [
"-y",
"privateer-agent"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add privateer-agent npx -y privateer-agentGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 →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.
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.
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.
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.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
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.
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.
