Ci Guard MCP
Local static audit of repo workflows, env variables, secrets and lockfiles
Ci Guard MCP is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add ci-guard-mcp -- npx -y ci-guard-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"ci-guard-mcp": {
"command": "npx",
"args": [
"-y",
"ci-guard-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"ci-guard-mcp": {
"command": "npx",
"args": [
"-y",
"ci-guard-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ci-guard-mcp": {
"command": "npx",
"args": [
"-y",
"ci-guard-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"ci-guard-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ci-guard-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add ci-guard-mcp -- npx -y ci-guard-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.ci-guard-mcp]
command = "npx"
args = ["-y", "ci-guard-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ci-guard-mcp": {
"command": "npx",
"args": [
"-y",
"ci-guard-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Or run: gemini mcp add -s user ci-guard-mcp npx -- -y ci-guard-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "ci-guard-mcp": { "command": "npx", "args": [ "-y", "ci-guard-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Ci Guard MCP
ci-guard-mcp is one audit engine in three shells: a CLI, a GitHub Action and a four-tool stdio MCP server. All three read the repository locally and deterministically, without sending source to a service, and have only two runtime dependencies, yaml and ignore.
Four auditors cover risky GitHub or GitLab workflows (pull_request_target checkouts, script injection, secret interpolation, unpinned actions, missing permissions), environment variables used in code but absent from .env.example, credential shapes such as AWS, GitHub, Stripe, OpenAI, Anthropic and Slack keys plus high-entropy values, and lockfile problems like conflicting managers or insecure HTTP URLs. Secret findings never include values or snippets. A staged mode checks full index blobs so unstaged edits cannot hide a credential.
Output can be text, JSON, SARIF or GitHub annotations, and exit codes suit CI gating. MCP paths are confined to the launch root. Node.js 20 or later is required; it is MIT licensed.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 4 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- scan_repo
- Run all four auditors on a repository.
- check_env_driftName suggests: reads
- Check environment and deployment drift.
- audit_github_workflows
- Audit workflow security.
- check_secret_leaksName suggests: reads
- Find redacted credential findings, optionally staged only.
What it does
- Workflow audit
- Flags pwn-request, script injection and secret exfiltration patterns.
- Env drift check
- Finds variables used in code but not documented in templates.
- Secret scan
- Detects known credential formats and entropy, with values redacted.
- Lockfile checks
- Reports conflicts, HTTP URLs and unbounded versions.
- SARIF and annotations
- Plugs into code scanning and CI summaries.
- Staged mode
- Scans the git index for staged secrets.
Good for
- Block risky workflow changes before merge
- Catch an API key before it is committed
- Keep .env.example in sync with code
- Let an assistant audit a repository locally
Pricing
Open source
Free, MIT licensed.
Ci Guard MCP FAQ
Does my code leave my machine?
No, audits run locally and send nothing to a service.
What does the MCP server expose?
Four tools: scan_repo, check_env_drift, audit_github_workflows and check_secret_leaks.
Which Node version is needed?
20 or later.
What licence?
MIT.
Is Ci Guard MCP free?
Yes. Ci Guard MCP is open source, so you can use and self-host it for free.
How do I add Ci Guard MCP to Claude Code?
Run this command in your terminal: claude mcp add ci-guard-mcp -- npx -y ci-guard-mcp
What are the best alternatives to Ci Guard MCP?
The closest alternatives to Ci Guard MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


