# pincer [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/VouchlyAI/Pincer-MCP  
**GitHub Stars:** 6  
**Views:** 7  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pincer

## Description
Secure grip for your agent's secrets - security-hardened MCP gateway with proxy token architecture

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/VouchlyAI/Pincer-MCP), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/pincer/readme_

