MCP server
LeakRank Guard
Scans code changes for leaked secrets and insecure config, with actionable fixes for AI…
Runs locallyStatus and history
- Runs
- Locally
- Version
- 0.2.3
- Listing updated
- 6 days ago
About LeakRank Guard
LeakRank Guard is an MCP server. It runs locally on your machine and is started by your AI client.
Scans code changes for leaked secrets and insecure config, with actionable fixes for AI agents.
Install
Run in a terminal
claude mcp add leakrank-guard --env LEAKRANK_API_KEY='<LEAKRANK_API_KEY>' -- npx -y leakrank-guardAdd to claude_desktop_config.json
{
"mcpServers": {
"leakrank-guard": {
"command": "npx",
"args": [
"-y",
"leakrank-guard"
],
"env": {
"LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"leakrank-guard": {
"command": "npx",
"args": [
"-y",
"leakrank-guard"
],
"env": {
"LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"leakrank-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"leakrank-guard"
],
"env": {
"LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"leakrank-guard": {
"command": "npx",
"args": [
"-y",
"leakrank-guard"
],
"env": {
"LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"leakrank-guard": {
"command": "npx",
"args": [
"-y",
"leakrank-guard"
],
"env": {
"LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
LEAKRANK_API_KEYOptional. Normally the key is stored on this machine by `npx leakrank-guard login` (OS keychain, or ~/.config/leakrank/config.json at mode 0600), so no environment variable is needed. Set this only for CI or headless use.
LeakRank Guard FAQ
How do I add LeakRank Guard to Claude Code?
Run this command in your terminal: claude mcp add leakrank-guard --env LEAKRANK_API_KEY='<LEAKRANK_API_KEY>' -- npx -y leakrank-guard
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.