projscan
Integrates with GitHub for code scanning via SARIF output and GitHub Actions workflow initialization.
Provides initialization of a GitHub Actions workflow that runs projscan checks and posts evidence comments for PR validation.
Allows auditing project dependencies via npm audit and generating SARIF output for security scanning.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@projscanrun a full project analysis"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
projscan
Local proof for AI-assisted engineering. projscan gives agents and engineers the repo context, risk checks, proof commands, and review gates they need before editing, handing off, or preparing a release candidate.
Install · Daily workflows · MCP Setup · Commands · Trust · Full Guide
Use It For
Use projscan when an agent asks one of these questions:
Which files should I read before changing this feature?
Which proof commands should I run before handoff?
Which risks need fixes, reviewer attention, or release sign-off?
What is actually risky, and what should I fix first?
projscan runs core scans on your machine. It respects .gitignore, keeps .env values out of scans unless you opt in, and exposes the same evidence through a CLI and a 47-tool MCP server. The language layer uses 11 AST adapters covering 12 named languages.
Your agent / engineer
(Codex, Claude Code, Cursor, CI, your scripts)
| intent, diff, repo files, feedback, proof requests
v
+----------------------------------------------------------------+
| projscan (runs locally, source stays on this machine) |
| ------------------------------------------------------------ |
| Mission Control -> assess Proof Cards -> simulate risk |
| | | |
| | +- bounded extraction
| | +- regression test first
| | +- leave unchanged
| +- evidence strength |
| +- trust memory |
| +- AgentLoopKit handoff |
| |
| CLI + MCP tools, no account, telemetry off by default |
+----------------------------------------------------------------+
| next safe action, exact proof commands, handoff packet
v
Reviewer / CI / LLM provider
(only the evidence you choose to pass along)Related MCP server: LocalNest MCP
Install
npm install -g projscan
projscan startRun without a global install:
npx projscan startCheck the trust boundary first:
projscan privacy-check
projscan start --intent "what can projscan read?"
projscan start --intent "does projscan read .env values?"Daily workflows
Use these three workflows before scanning the full command catalog.
Before editing a feature
projscan start --intent "what files do I need to change for auth?"
projscan start --intent "what should we build next?" # Routes to a before-edit implementation workplan
projscan understand --view change --intent "add auth token refresh" --format json
projscan preflight --mode before_edit --format jsonYou get a cited change map, read-first files, likely touched files, blocked inputs, and a before-edit proof gate.
Success criteria: the agent can name the files to read first, the likely files to touch, and the proof command to run before editing.
Before handoff or commit
projscan start --intent "is this safe to commit?"
projscan assess --mode fix-first --format markdown
projscan preflight --mode before_commit --format json
projscan evidence-pack --pr-commentYou get the changed-file risk, one or two trusted next actions, manual review gates, owner routing, baseline trend memory, and exact proof commands for the reviewer. Use projscan bug-hunt --format json when you want the raw fix queue behind the assessment.
Success criteria: the reviewer sees the top fix, the remaining proof, and any manual sign-off gate without reading the full scan output.
Before release-candidate review
projscan release-train --format json
projscan preflight --mode before_merge --format json
projscan evidence-pack --pr-commentYou get read-only readiness evidence. projscan reports fixes and sign-off gates; it does not tag, publish, deploy, or bump versions from these commands.
Success criteria: release review separates concrete defects from human approval gates before anyone tags or publishes.
Weekly proof-first assessment
projscan assess --goal "make this repo safer to ship this week"
projscan assess --mode fix-first --format markdown
projscan simulate --plan "split bugHunt.ts into ranking, evidence, and output modules"You get Proof Cards: each recommendation carries local evidence, impact, a safe change shape, verification commands, feedback or suppression guidance, and a risk delta. Add --baseline previous-assess.json to compare the current risk delta against a prior run. assess composes existing quality, bug-hunt, and preflight evidence; it does not release, tag, publish, or deploy.
Proof Cards also show evidence strength, confidence reason, ranking reasons, trust memory, evidence gaps, and an AgentLoopKit handoff packet. Add --feedback .projscan-feedback.json when accepted recommendations, noisy findings, false positives, or suppressions should affect future ranking.
Use the risk delta simulator before a refactor or extraction. It predicts likely touched files, affected tests, contract surfaces, rollout steps, proof commands, and before/after risk from local evidence. It compares bounded extraction, test-first, and leave-unchanged alternatives, then names the recommended option. It is read-only: it does not edit files, run the plan, release, tag, publish, or deploy.
Success criteria: the team sees the one or two highest-value fixes, why they matter, how to prove them, and whether ship-readiness still needs caution or review.
Mission Control
projscan start --intent "<goal>" turns a plain-language goal into an execution plan:
current command
blocked inputs
follow-up commands
proof queue
done criteria
review gate
Save a mission when work may pass between agents:
projscan start --save-mission .projscan/mission --intent "is it safe to commit this change?"
projscan mission-proof --mission .projscan/mission --format markdown
projscan start --mission .projscan/missionMission bundles include a runbook, task card, handoff prompt, proof scripts, review gate JSON, reviewer replies, and proof logs. mission-proof summarizes passed proof, failed gates, reruns, reviewer decisions, and optional manual baseline data.
Regenerate README media:
npm run docs:screenshots
npm run docs:demos4.12.1 Notes
4.12.1 is the simulator precision patch for the Proof Cards V2 release:
projscan simulate --planno longer treats one-letter filenames such ass.tsas matches for broad plan text.Simulator term-overlap evidence now filters generated agent/cache paths and weak planning terms, so logs or proof artifacts do not become likely files when the plan names no concrete repo target.
4.12.0 Notes
4.12.0 is the Proof Cards V2 daily trust loop release:
Proof Cards now show evidence strength, confidence reason, evidence gaps, ranking reasons, Trust Memory context, and AgentLoopKit handoff packets.
projscan assess --feedback <path>applies local reviewer feedback to ranking and confidence.projscan start --intent "is this safe to commit?"now starts withprojscan assess --mode fix-firstand keeps preflight as proof.projscan simulate --plan "<change plan>"compares bounded extraction, regression test first, and leave unchanged alternatives before recommending the safest option.
4.11.1 Notes
4.11.1 is a public README media refresh for the proof-first release:
Added a dedicated Proof Cards screenshot for
projscan assessandprojscan simulate.Regenerated README screenshots so public media shows the current 47-tool MCP surface.
Updated website handoff guidance to use immutable
v4.11.1media URLs.
4.11.0 Notes
4.11.0 is the proof-first engineering command center release:
projscan assessturns quality, bug-hunt, and preflight evidence into Proof Cards with fix-first guidance and risk delta.projscan simulate --plan "<change plan>"predicts likely files, tests, contracts, rollout, proof commands, and before/after risk before editing.MCP now exposes 47 tools, including
projscan_assessandprojscan_simulate.
MCP Setup
Use MCP when an agent should call projscan during a coding session.
Claude Code:
claude mcp add projscan -- npx -y projscan mcpCodex CLI:
[mcp_servers.projscan]
command = "npx"
args = ["-y", "projscan", "mcp"]Cursor, Windsurf, Cline, Continue, Zed, and other MCP clients can launch the same command:
npx -y projscan mcpAdd --watch if the client supports notifications/file_changed:
npx -y projscan mcp --watchAgent Questions
Agent question | CLI or MCP route |
Which files implement auth? |
|
Who imports this file? |
|
What breaks if I rename this symbol? |
|
What should I fix first? |
|
What is risky and worth fixing this week? |
|
Is this refactor worth doing? |
|
Which files have high risk and low coverage? |
|
What should my agent do next? |
|
Which proof belongs in this PR? |
|
Is this branch ready to merge? |
|
Command Map
Command | Use it when you need |
| first-60-seconds orientation, routing, and Mission Control |
| cited repo map, runtime flows, public contracts, and change readiness |
| proceed, caution, or block gate for edit, commit, or merge |
| proof-first assessment with Proof Cards, risk delta, and fix-first guidance |
| risk delta simulator for a proposed change plan before editing |
| PR-ready proof with risks, owners, and next commands |
| ranked fix queue from health, hotspots, session, and preflight evidence |
| ordered agent tasks with proof and handoff text |
| project health, tooling gaps, dead code, and supply-chain signals |
| one-call PR review from structural diff, risk, cycles, functions, and deps |
| blast radius for a file or symbol before rename, delete, or upgrade |
| imports, exports, importers, symbol definitions, and package importers |
| framework-aware source-to-sink risks |
| churn, complexity, ownership, and coverage risk ranking |
| high-risk files with weak test coverage |
| dependency inventory, license summary, and risk notes |
| offline upgrade impact from changelog and importer evidence |
| normalized |
| collisions, claims, and merge-risk across worktrees |
| local analyzer and reporter plugin workflow |
| local scan boundary, telemetry, ignore rules, and network-capable paths |
| MCP server over stdio |
Run the generated command help when you need flags:
projscan help
projscan <command> --helpOutput Formats
Commands support console, json, markdown, sarif, and html where those formats fit the command.
projscan analyze --format json
projscan doctor --format markdown
projscan ci --format sarif > projscan.sarif
projscan evidence-pack --pr-comment
projscan mission-proof --write reports/mission-proof.mdUse scoped and redacted reports when evidence leaves the repo:
projscan analyze --report-scope src/api --redact-paths --format json
projscan analyze --report-scope "src/api,packages/backend" --redact-paths --format json
projscan doctor --report-policy apiEvidence --format markdownConfiguration
Create a .projscanrc.json when repo defaults should live in source control:
{
"minScore": 80,
"failOn": "warning",
"baseRef": "origin/main",
"ignore": ["**/fixtures/**", "**/generated/**"],
"scan": {
"includeIgnored": false,
"scanEnvValues": false,
"offline": false
},
"disableRules": ["large-*"],
"suppress": {
"hardcoded-secret": ["src/firebase.ts"]
},
"severityOverrides": {
"missing-prettier": "info"
},
"reportPolicies": {
"apiEvidence": {
"reportScope": ["src/api", "packages/backend"],
"redactPaths": true
}
}
}Use suppress for a known false positive in a specific path without disabling
the rule everywhere. For one line, add an inline directive next to the value:
const firebaseKey = 'AIza...'; // projscan-ignore-line hardcoded-secret -- Firebase web keys are public identifiersConfig docs live in docs/GUIDE.md.
CI
Use projscan ci to gate pull requests:
projscan ci --min-score 80
projscan ci --changed-only
projscan ci --format json
projscan ci --format sarif > projscan.sarifci --format json keeps ci.issues[] annotation-ready: each issue includes
ruleId, severity, message, location, locations, and remediation
when projscan has that data.
doctor --format json and ci --format json also include scoreBreakdown,
which shows the base score, severity weights, category penalties, total penalty,
final score, and grade.
By default, ci only fails a below-threshold score when there is a warning or
error. Set "failOn": "info" for legacy strictness or "failOn": "error" for
error-only blocking.
GitHub Actions example:
name: ProjScan
on:
pull_request:
branches: [main]
permissions:
contents: read
security-events: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: actions/setup-node@v4
with: { node-version: 24 }
- uses: abhiyoheswaran1/projscan@v1
with:
min-score: '80'
changed-only: 'true'Plugins
Local plugins let teams add project-specific analyzer rules and custom human reports without changing projscan core.
Load local plugins
projscan plugin list
projscan plugin validate .projscan-plugins/team-radar.projscan-plugin.json
projscan plugin test .projscan-plugins/team-radar.projscan-plugin.json
PROJSCAN_PLUGINS_PREVIEW=1 projscan doctor --reporter team-radarRun projscan help for the generated command-by-command support matrix.
Plugin docs:
Supported Repos
projscan reads TypeScript, JavaScript, Python, Go, Java, Ruby, Rust, PHP, C#, Kotlin, Swift, C, and C++ with AST-aware adapters where available. It also detects file-level signals for Shell, CSS, HTML, SQL, Dart, Lua, Scala, R, and related project files.
Framework signals cover React, Next.js, Vue, Nuxt, Svelte, Angular, Express, Fastify, NestJS, Vite, Tailwind CSS, Prisma, Remix, SvelteKit, Astro, Hono, Koa, and common monorepo layouts.
JavaScript and TypeScript use @babel/parser. Non-JS languages use packaged tree-sitter WASM grammars. The published package has 7 direct runtime dependencies; optional semantic search uses the peer dependency @xenova/transformers.
Trust Model
Area | projscan behavior |
Source code | Core scans read local files and keep results on your machine. |
| Ignored files stay out of scans unless you pass |
| projscan reports paths by default. It reads values after |
Network |
|
Telemetry | Off until you run |
Plugins | Local plugin code runs after |
Repo writes | Source writes require explicit fix commands. Cache and mission proof files stay under local projscan directories. |
Audit helpers:
projscan privacy-check
projscan telemetry status
projscan telemetry explain
projscan doctor --offlineSupply-chain scanners may flag package strings or APIs used by git, npm audit, web-tree-sitter, optional plugins, and optional semantic search. The runtime paths above describe when those capabilities run.
Install Notes
projscan@4.12.1 has seven direct runtime dependencies:
@babel/parser@babel/typeschalkcommanderfast-globoraweb-tree-sitter
If npm prints allow-scripts warnings during a global install, check which package names it lists. projscan core does not need node-gyp grammar builds at runtime in 4.12.1. Open an issue with the warning text if npm reports install scripts from projscan@latest, or run projscan feedback intake --text "<warning text>" --format json to turn it into a focused setup-trust task.
The grammar packages are build-time sources, not global-install dependencies. Published grammar assets include tree-sitter-python.wasm and tree-sitter-c_sharp.wasm.
Deeper Docs
Contributing
Read CONTRIBUTING.md before opening a PR. Contributions use the MIT License and the DCO 1.1 certification described there.
Legal
License: MIT
Disclaimer: DISCLAIMER.md
Security policy: SECURITY.md
Privacy notice: PRIVACY.md
Telemetry policy: TELEMETRY.md
Trademark and brand policy: TRADEMARKS.md
Third-party notices: THIRD-PARTY-NOTICES.md
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhiyoheswaran1/projscan'
If you have feedback or need assistance with the MCP directory API, please join our Discord server