CodePulse MCP
Connects to GitHub via OAuth Device Flow and the codepulsebot GitHub App to authenticate users, pick repositories, and post inline PR review suggestions and fixes directly on pull requests.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
One BYOK AI API key. Zero VPS or cloud subscription required. Download the native desktop app for Windows (
CodePulse-Setup-1.2.0-x64.exe), macOS (CodePulse-1.2.0-arm64.dmg/x64.dmg), or Linux (.deb,.rpm,.AppImage,.tar.gz), finish the 4-step Onboarding Wizard (AI Key + 1-Click GitHub Device Flow + Repo Picker + Terms/Privacy), and run AST Blast-Radius + Cross-Layer Radar + OSV CVE + SEO & GEO + Two-Persona Debate reviews, whole-mainaudits, auto-docs, or closed-loop MCP verification locally or via Docker (/mcp).
What's New in v1.2.0
Full Multi-Platform Releases (Windows + Unsigned $0 macOS + Multi-Distro Linux): Builds NSIS & Portable Windows
.exe(latest.ymlauto-update), Apple Silicon (arm64) & Intel (x64) macOS.dmg/.zip($0unsigned + graceful GitHub Release update prompt), and Linux.deb(Ubuntu/Debian/Mint),.rpm(Fedora/RHEL/openSUSE),.AppImage, and.tar.gz+SHA256SUMS.txt.Hybrid Cloudflare Worker + D1 + PostHog Privacy Telemetry (
infra/telemetry-worker/): Auditable serverless receiver with strict 8KB JSON allowlist, D1 SQL aggregates, hiddenPOSTHOG_API_KEYfan-out ($ip: null), and token-protectedGET /stats. Strictly opt-in ONLY (falseby default).4-Language Documentation & Auto-Synced GitHub Wiki: Synced
README.md(EN),README.es.md(ES),README.ar.md(AR RTL),README.fr.md(FR) + sidebar-navigateddocs/wiki/& automated.github/workflows/sync-wiki.yml.Previous Highlights (
v1.1.0): Non-blocking ElectronutilityProcessworker, SEO & GEO AI Search Visibility audit mode (seo-geo), 2-level Hierarchical Collapsible Findings Explorer, global Toast Stack, Tabbed Settings Center (Ctrl+,with Obsidian/Slate/Light themes), andPRIVACY.md+TERMS.md.
Related MCP server: Vigil
Complete Scan Modes & What Bugs CodePulse Catches
Mode | Scope & Engines | AI Tokens |
| AST Blast Radius + Built-in Multi-Language SAST + OSV CVE + Team Memory | 0 tokens |
| Deep OWASP/Auth/Secrets/XSS/SQLi + External SAST + Cross-Layer Radar + OSV CVEs | Low–Med |
| Cohesive AST Bundles + Single-Key Two-Persona Debate ( | Medium |
| Red-team exploit simulation, TOCTOU race conditions, financial rounding & RBAC bypasses | Med–High |
| Exhaustive multi-pass bundle analysis + Cross-Layer Contract Radar + OSV + Reflection Filter | High |
| Whole-repository SHA-cached Semantic Slices + Cross-Layer Radar + OSV + SEO/GEO + Project Pulse ( | Scalable |
| Technical SEO ( | 0–Low |
| Living | Low |
Detected Vulnerability & Engineering Defect Categories:
Secrets & Cloud Credentials (
CP-SEC-*): Hardcoded API keys, Gemini/OpenAI/Anthropic/GitHub/AWS tokens, DB passwords in URIs.Injection & Unsafe Sinks (
CP-SQL-*,CP-XSS-*): Interpolated template SQL queries, Supabase/PostgREST.or()filter injection,dangerouslySetInnerHTML,.innerHTML,eval,new Function.Authentication & Authorization (
CP-AUTH-*): Hardcodedreturn trueauth guards,rejectUnauthorized: false, unverifiedjwt.decode(), unguarded/admin&/billingroutes, cookie mutations without CSRF/Origin checks.Financial Precision & Concurrency (
CP-FIN-*,CP-CONC-*):parseFloat()/ float multiplication on monetary amounts, shared mutable counters/balances.Cross-Layer Contract Drift: SQL/Prisma schema column mismatches vs TypeScript interfaces, currency unit drift (
centsvsdollars), frontendfetch('/api/...')calls targeting non-existent/wrong-method backend routes.Zero-Token Dependency CVEs (
osv.dev): Known advisories acrosspackage.json,requirements.txt,Cargo.toml, andgo.mod.Technical SEO & GEO AI Search (
CP-SEO-*,CP-GEO-*): Missing/generic titles, descriptions, canonicals,robots.txtblocks (Disallow: /orGPTBot/PerplexityBotblocks), missingllms.txt, invalid Schema.org JSON-LD, CSR"use client"empty HTML shells.
Demo (15-Second Closed-Loop Verification)
Hero demo GIF slot — follow
docs/demo-recording-script.mdto recorddocs/demo.gifshowing an AI coding agent triggeringstart_scan -> wait_for_scan -> fix -> revalidate_findings -> PASS.
Architecture
flowchart LR
Agent["AI Coding Agent (Antigravity / Cursor / Claude Code / Codex / Windsurf / OpenCode)"] <-->|"MCP (start_scan -> wait_for_scan -> get_scan_result -> revalidate_findings)"| MCP["CodePulse MCP & Parallel Queue"]
MCP --> Core["Hybrid Engine: Tree-sitter WASM AST + RDFormat/SARIF SAST + 2-Persona Debate"]
Core --> Validator["Position-Drift Validator + Reflection Filter"]
Validator -->|"Device Flow / codepulsebot App / Zero-Port Poller"| GH["GitHub PR Inline Suggestions & Babysitter"]
Validator -->|"Safe Path Guard"| Out["Native Windows Desktop App & Local .md Reports"]CodePulse vs CodeRabbit SaaS & Raw Diff Bots
Capability | CodePulse ( | CodeRabbit / Cloud SaaS Bots | Raw Diff Prompt Bots |
Native Windows Desktop | Yes ( | Cloud-only | DIY scripts |
Zero-Config In-App Setup (AI Key + Device Flow + PR Picker) | Yes (3-step wizard, zero | Cloud OAuth | Manual env/CLI |
Single BYOK AI Key (Gemini / OpenAI / Anthropic / OpenRouter / Ollama) | Yes (1 key runs all passes) | Paid per-seat SaaS | Single-pass only |
Local | Yes (SQLite-cached callers & tests) | Cloud-hosted index | None |
Single-Key Two-Persona Debate + Adversarial Mode | Yes ( | No | No |
Whole- | Yes ( | Limited | No |
Auto-Documentation ( | Yes ( | No | No |
Isolated | Yes (opt-in + | Unverified suggestions | No |
Closed-Loop MCP Server + Stop-Review Gate | Yes (10 tools + | No | No |
Installation (Choose Any Method)
1. Native Desktop App — Windows, macOS & Multi-Distro Linux (Zero Node.js Required)
Download directly from GitHub Releases (v1.2.0):
Windows 10/11 (
x64):CodePulse-Setup-1.2.0-x64.exe(Installer + Auto-Updater & System Tray) ·CodePulse-Portable-1.2.0-x64.exescoop install https://raw.githubusercontent.com/ymorningstar/CodePulse/main/packaging/scoop/codepulse.json winget install CodePulse.CodePulsemacOS (
arm64Apple Silicon &x64Intel — Free Unsigned Open-Source Build): DownloadCodePulse-1.2.0-arm64.dmg(orx64.dmg/.zip). Because CodePulse is free open-source without a $99/yr Apple notarization cert, on first launch Right-ClickCodePulse.app→ Open, or run:xattr -cr /Applications/CodePulse.appLinux (
x64All Major Distros):Ubuntu / Debian / Mint / Pop!_OS:
sudo apt install ./CodePulse-1.2.0-x64.debFedora / RHEL / openSUSE:
sudo dnf install ./CodePulse-1.2.0-x64.rpmUniversal / Portable:
chmod +x CodePulse-1.2.0-x64.AppImage && ./CodePulse-1.2.0-x64.AppImageorCodePulse-1.2.0-x64.tar.gz
2. Global CLI / Zero-Install (npx)
Requires Node.js >=22.0.0:
# Connect all detected IDEs & AI coding agents in 1 command
npx codepulse install
# Launch the 3-Zone Bilingual Cockpit (http://127.0.0.1:4310)
npx codepulse ui
# Or install globally
npm install -g codepulse3. Self-Hosted Docker Server
git clone https://github.com/ymorningstar/CodePulse.git
cd CodePulse
cp .env.example .env
docker compose up -dPrebuilt image: ghcr.io/ymorningstar/codepulse:latest (persists SQLite in /data and .md exports in /reports).
4. GitHub Action (6-Line CI Review Gate)
Add .github/workflows/codepulse.yml to any repository:
name: CodePulse PR Review
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
checks: write
jobs:
codepulse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ymorningstar/CodePulse@main
with:
mode: debate
ai_provider: gemini
ai_api_key: ${{ secrets.GEMINI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}5. GitHub App Bot (codepulsebot)
Official Hosted App: Install https://github.com/apps/codepulsebot on your repositories (used with 1-Click Device Flow inside the Desktop App!).
Self-Hosted
[bot]Manifest: Runnpx codepulse github-app setup— seedocs/GITHUB_APP_SETUP.md.
Complete CLI Reference
Command | Description | Key Flags |
| Launch 3-Zone Web Cockpit + WebSocket queue |
|
| Auto-detect & wire MCP, skills, and hooks |
|
| Check Node, git, SAST tools, AI key & bridges |
|
| Cleanly remove CodePulse MCP entries |
|
| Launch 1-Click GitHub App Manifest flow |
|
| Run AST+SAST+Debate review |
|
| Whole- |
|
| Generate |
|
| Opt-in isolated |
|
| Re-verify fixes & promote |
|
| Stop-Review Gate hook ( |
|
| Start stdio MCP server for coding agents |
|
PR Comment Slash Commands & Natural Chat
Comment directly on any connected GitHub Pull Request (in English or Arabic):
/codepulse reviewor/review·/deep-review·/debate·/adversarial·/security·/scan-main·/describe·/add_docs·/docs·/improve·/explain·/autofix <findingId>·/revalidateFree-form Q&A:
@codepulse Why is this payment check flagged?or@codepulse هل دالة الدفع آمنة من التكرار؟
Closed-Loop AI Agent Integration (MCP)
CodePulse exposes 10 MCP tools (start_scan, wait_for_scan, get_scan_result, revalidate_findings, scan_main_branch, generate_docs, get_blast_radius, run_sast, propose_autofix, export_markdown).
Antigravity / Cursor / Claude Code / Windsurf:
{
"mcpServers": {
"codepulse": {
"command": "npx",
"args": ["-y", "codepulse", "mcp", "--stdio"]
}
}
}(Or run npx codepulse install — automatically uses [node, <absolute cli/dist/index.js>, "mcp", "--stdio"] on Windows if codepulse is not on PATH!)
.codepulse.yml & Custom Rule Packs
# .codepulse.yml
attribution:
enabled: true # Set false to hide the PR attribution footer completely
show_token_savings: true # Show AST-graph token savings telemetry in PR summaries
repo_url: https://github.com/ymorningstar/CodePulseBenchmark Proof (benchmarks/run-eval.ts)
node benchmarks/run-eval.tsMeasured on benchmarks/fixtures/aacr-sample.json:
Metric | CodePulse (AST+SAST) | Raw-Diff Baseline |
Precision | 100.0% | — |
Recall | 100.0% | — |
F1 Score | 100.0% | — |
Wall-Clock Time | 2339 ms | — |
Context Tokens | 258 | 4892 (95% saved) |
Licensing, Security & Governance
Core Engine, CLI, Desktop, Server & UI:
AGPL-3.0-onlyTemplates,
action.yml, &packages/mcp-client-sdk:MITCommercial / White-Label License:
COMMERCIAL-LICENSE.mdPrivacy, Terms & Telemetry:
PRIVACY.md·TERMS.md·docs/TELEMETRY_SETUP.md·docs/wiki/Trademark, Security & Contributing:
TRADEMARK.md·NOTICE·SECURITY.md·CONTRIBUTING.md·CLA.md
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Security scanning for code, containers and IaC: request scans, read findings, report fixes.
Security scanner for AI-written code: SAST, secrets, dependencies, IaC, containers and DAST.
IaC, CI and dependency security review for coding agents: local scan CLI plus hosted OAuth MCP.
Security reviews for coding agents: diffs checked against your org policy and live infrastructure.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to scan code for security and quality issues and receive machine-readable reports with suggested fixes and verification criteria.89 npm2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to run repository security scans, triage findings with a configured model, review risky code, propose validated fixes, and generate threat models without leaving the conversation.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to run offline static scans on proposed edits, receive actionable findings, and revise code before approved bytes are written.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceConnects AI agents to a security scanning platform so they can trigger scans, search and inspect findings with evidence, triage or label issues, and pull AI-generated remediation suggestions. It also polls AI scans to completion, returns executive summaries, and surfaces severity and state statistics across connected repositories.MIT