Back to Home
ViperJuice icon

pmcp

Verified Safe

by ViperJuice

Overview

Acts as a single MCP server for Claude Code to reduce context bloat by providing on-demand tool discovery and dynamic server provisioning.

Installation

Run Command
uvx pmcp

Environment Variables

  • GROQ_API_KEY
  • GITHUB_PERSONAL_ACCESS_TOKEN
  • POSTGRES_URL
  • BRAVE_API_KEY
  • NOTION_TOKEN
  • PMCP_CONFIG
  • PMCP_POLICY
  • PMCP_LOG_LEVEL

Security Notes

The server's core function involves spawning and managing external processes (other MCP servers or CLIs) via `asyncio.create_subprocess_exec`. While this is necessary for its design, it inherently relies on the trustworthiness of the manifest (`manifest.yaml`) and the integrity of installed downstream packages (npm/PyPI). The `PolicyManager` is implemented to mitigate risks through allow/deny lists for servers, tools, resources, and prompts, as well as output size caps and secret redaction. Crucially, a singleton lock and self-reference filtering are in place to prevent recursive spawning. No obvious `eval` or obfuscation was found, and hardcoded secrets are avoided by relying on environment variables. The primary security consideration is the vigilance required in managing and auditing the list of allowed external tools.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens260
Stars0
Forks0
Last Update2026-01-17

Tags

context-optimizationmeta-serverdynamic-provisioningprogressive-disclosurecoding-agent