Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client
uvx promptguard-mcp-server{
"PROMPTGUARD_API_KEY": "YOUR_SECRET_VALUE",
"PROMPTGUARD_API_URL": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"co-promptguard-security": {
"command": "uvx",
"args": [
"promptguard-mcp-server"
],
"env": {
"PROMPTGUARD_API_KEY": "YOUR_SECRET_VALUE",
"PROMPTGUARD_API_URL": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
PromptGuard is an MCP server for Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client. It supports STDIO transport.
Use the generated config in Install. This server runs with uvx promptguard-mcp-server; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for uvx promptguard-mcp-server. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for uvx promptguard-mcp-server. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for uvx promptguard-mcp-server. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for uvx promptguard-mcp-server. Add required environment variables before starting Cursor or VS Code.
PromptGuard uses STDIO transport. Use the package or command config in Install.
PromptGuard inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
PromptGuard does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
promptguard-mcp-serverstdio | pypi | 1.0.0 | Env: PROMPTGUARD_API_KEY secret Env: PROMPTGUARD_API_URL |
@promptguard/mcp-serverstdio | npm | 1.0.0 | Env: PROMPTGUARD_API_KEY secret |
docker.io/abhijoysarkar/promptguard-mcp-server:1.0.0stdio | oci | Not captured | Env: PROMPTGUARD_API_KEY secret |