Pincer logo

Pincer

Routes model and GPG operations through a vault-backed MCP gateway without exposing real credentials to agents.

Install Pincer

Run the project’s own setup commands, in order.

Setup steps from the project

pincer installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    

Overview

The pincer MCP server brokers model API calls and GPG operations while keeping provider credentials in an encrypted local vault. Agents authenticate with proxy tokens, and Pincer resolves authorized secrets, injects them for a call, then scrubs them from memory. It supports Gemini, OpenAI, OpenAI-compatible endpoints, Anthropic, OpenRouter, OpenWebUI, and selected GPG operations. Reach for it when an MCP client needs provider access without storing long-lived API keys in the agent environment.

Use cases

  • Broker Gemini or OpenAI calls without exposing provider keys
  • Authorize different agents to use separate API keys
  • Route requests to OpenAI-compatible local or hosted endpoints
  • Sign release data with a vault-stored GPG key
  • Record tool-call activity in a tamper-evident audit log

Key features

  • Proxy-token authentication
  • OS-keychain master key storage
  • Encrypted SQLite secret vault
  • Per-agent, per-tool authorization
  • Model-provider and GPG tools
  • Chain-hashed audit logging

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

20/21 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Pincer works

What pincer does

The pincer MCP server acts as a local gateway between an MCP client and external model providers or GPG operations. Instead of giving an agent a provider's real API key, it gives the agent a proxy token. Pincer uses that token to identify the agent, check its permissions, select the relevant secret, and perform the requested operation.

Supported model operations include Gemini generation; OpenAI chat and model listing; chat and model listing for OpenAI-compatible services; Claude chat; OpenRouter chat and model listing; and OpenWebUI chat and model listing. The GPG tools can sign data or files and decrypt PGP-encrypted data with private keys held in the vault.

How it works

Pincer stores a master encryption key in the operating system's native keychain: macOS Keychain, Windows Credential Manager, or GNOME Keyring. Encrypted secrets, proxy-token mappings, and agent-to-tool authorizations are stored in SQLite at ~/.pincer/vault.db.

A tool request carries the proxy token in _meta.pincer_token. Pincer resolves the token to an agent and authorized tool, decrypts the selected secret just in time, and uses it for the external call. Afterward, it scrubs the credential from memory. Calls are also written to ~/.pincer/audit.jsonl, with timestamps, status, character counts, estimated token usage, and chain-hash fields.

Setup and configuration

The pincer MCP server requires Node.js 18 or newer and macOS, Windows, or Linux with native keychain support. Install the package globally with npm install -g pincer-mcp, or clone the repository, install dependencies, build it, and run npm link for local development.

Initialize the vault with pincer init, then store provider credentials using commands such as pincer set gemini_api_key and pincer set openai_api_key. Register an agent with pincer agent add, authorize individual tools with pincer agent authorize, and provide the resulting proxy token to the agent through PINCER_PROXY_TOKEN. Multiple credentials can be stored under labels and assigned to different agents.

Run the development server with npm run dev. Pincer uses standard MCP stdio transport, and tool requests must include the proxy token in the request metadata.

Tools and capabilities

Available tools include:

  • gemini_generate
  • openai_chat and openai_list_models
  • openai_compatible_chat and openai_compatible_list_models
  • claude_chat
  • openrouter_chat and openrouter_list_models
  • openwebui_chat and openwebui_list_models
  • gpg_sign_data
  • gpg_decrypt

CLI commands also support GPG key generation, private-key import, key listing, public-key export, and agent authorization for signing. Tool access is controlled per agent, and tool-specific secret names must match the project's mappings.

Limitations and notes

The pincer MCP server is a local, stdio-based gateway rather than a hosted credential service. Its documented platform requirements include native keychain support. Agents still receive operation results; the isolation described by the project applies to the underlying API keys and private GPG keys.

The README identifies the license as Business Source License 1.1. It also states that more GPG callers are planned, so the currently documented GPG coverage should not be treated as a broader cryptographic interface.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pincer

pincer is an MCP server that connects agents to Gemini, OpenAI, OpenAI-compatible APIs, Claude, OpenRouter, OpenWebUI, and vault-stored GPG keys. Its main tools handle model generation, model listing, GPG signing, and PGP decryption while agents use proxy tokens instead of receiving the underlying credentials.

Install it globally with `npm install -g pincer-mcp`. For local development, clone the repository, run `npm install`, build with `npm run build`, and use `npm link` to expose the `pincer` command.

Initialize the vault with `pincer init`, store credentials with `pincer set`, then register and authorize an agent using `pincer agent add` and `pincer agent authorize`. Give the agent the generated proxy token through `PINCER_PROXY_TOKEN`, not the real API key.

It states that Pincer uses standard MCP stdio transport, so compatibility depends on whether the client supports configuring a standard stdio MCP server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPincer AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pincer?style=directory)](https://allmcps.com/mcp/pincer)
HTML Embed
<a href="https://allmcps.com/mcp/pincer"><img src="https://allmcps.com/api/badge/pincer?style=directory" alt="Pincer on AllMCPs" /></a>