Repository navigation
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Problem
Developers want security feedback while writing code, not after pushing to CI. Inkog currently works in VSCode through the MCP server integration with GitHub Copilot, but this requires Copilot and manual invocation. A native VSCode extension would provide real-time inline diagnostics, problems panel integration, and gutter icons — the same experience developers expect from ESLint or Pylint, but for AI agent security.
Current Behavior
- ✅ MCP server (
@inkog-io/mcpon npm) works with Claude Desktop and GitHub Copilot in VSCode - ✅ CLI can be run manually from the terminal
- ❌ No native VSCode extension
- ❌ No inline diagnostics or problems panel integration
- ❌ No real-time scanning on file save
Proposed Solution
Build a native VSCode extension that wraps the Inkog CLI:
Core features
- Diagnostics provider — Run
inkog -output jsonon file save, parse findings, display as inline squiggles (red=CRITICAL, orange=HIGH, yellow=MEDIUM) - Problems panel — Register findings with VSCode's diagnostic collection for the standard problems view
- Code actions — Quick-fix suggestions based on finding remediation text
- Status bar — Show scan status and finding count in the status bar
- Configuration — Settings for policy preset, severity threshold, scan-on-save toggle
Architecture
VSCode Extension (TypeScript)
├── Calls: inkog CLI binary (must be installed)
├── Parses: JSON output from -output json
├── Provides: DiagnosticCollection, CodeActionProvider
└── Config: extension settings → CLI flags
Extension settings
{
"inkog.policy": "balanced",
"inkog.severity": "MEDIUM",
"inkog.scanOnSave": true,
"inkog.cliPath": "inkog"
}References
- VSCode Extension API — Diagnostics
- Semgrep VSCode extension — prior art
- Snyk VSCode extension — prior art
- Existing MCP integration:
@inkog-io/mcpon npm
Notes
- The extension should wrap the CLI binary, not embed detection logic (maintaining the dumb-client pattern)
- JSON output already includes
file,line,severity,description,remediation— everything needed for diagnostics - Consider workspace-level caching to avoid re-scanning unchanged files
- The MCP server integration should remain as a complementary option for Copilot Chat users
- This could live in a new
inkog-vscode/directory in the monorepo or a separate repository
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Activity
cloakmaster commentedon Apr 28, 2026
We've thought about this. Currently, the MCP server (
npx @inkog-io/mcp) already provides real-time scanning inside Cursor, Claude Code, Windsurf, and any MCP-compatible editor. For VS Code specifically, users can connect via the MCP extension.A native VS Code extension would add value for non-MCP workflows (e.g., on-save scanning, inline diagnostics in the Problems panel, gutter annotations). It's a significant investment though, so we're tracking community demand before committing.
If there's strong interest or someone wants to contribute, the core work would be calling the same CLI/API under the hood and mapping findings to VS Code diagnostics. Happy to discuss architecture if anyone picks this up.