</>MCP Agents Market
Plugin

sentrux

by sentrux2.9kRustUpdated 2026-03-19

Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improvement of code quality. Pure Rust.

Claude CodeCursorWindsurfClaude Desktop

Sentrux is a real-time architectural sensor and Claude Code plugin that enables AI agents to monitor and improve code quality through continuous feedback loops. Built in pure Rust with support for 52 programming languages via tree-sitter, it provides live visualization of codebase structure, computes quality metrics across five dimensions (modularity, acyclicity, depth, equality, redundancy), and exposes an MCP server interface so agents can detect architectural degradation during code generation sessions. The plugin helps prevent the common problem where AI agents gradually degrade codebase structure by generating code without spatial awareness of the overall architecture.

Key Features

Live interactive treemap visualization showing real-time architectural changes as agents modify code
Continuous quality scoring system (0-10000) computed from five root-cause metrics
MCP server with 9 tools (scan, health, session_start, session_end, rescan, check_rules, evolution, dsm, test_gaps) for agent integration
Quality gate system that saves baselines and detects degradation between agent sessions
Rules engine with architectural constraints (max cycles, coupling limits, layered architecture boundaries) enforceable in CI
Native support for 52 programming languages through tree-sitter plugins with zero runtime dependencies
Cross-platform single binary (macOS, Linux, Windows) built in Rust with no external dependencies
Plugin system allowing custom language support without modifying core binary code

Use Cases

  • 01Monitoring code quality in real-time while Claude Code or Cursor generates multi-file changes during development sessions
  • 02Establishing quality baselines before AI agent sessions and blocking merges when architecture degrades
  • 03Visualizing dependency graphs and structural relationships in projects being built by AI assistants
  • 04Enforcing layered architecture boundaries and preventing circular dependencies in AI-generated code
  • 05Running CI checks to ensure AI-assisted commits meet architectural constraints before deployment
  • 06Tracking architectural evolution over time to identify when and how AI agents introduce structural debt

Related Plugins

View more

sentrux — FAQ

What is sentrux and what does it do?+

Sentrux is an architectural sensor and Claude Code plugin that monitors codebase structure in real-time, providing AI agents with quality metrics and visual feedback to prevent architectural degradation. It computes a continuous quality score from five metrics and exposes an MCP interface so agents can check and improve code structure during generation sessions.

How do I install sentrux for Claude Code?+

In Claude Code, run '/plugin marketplace add sentrux/sentrux' followed by '/plugin install sentrux'. For other MCP clients like Cursor or Windsurf, add the sentrux MCP server to your client's configuration with the command 'sentrux' and args '--mcp'.

Which AI clients and assistants work with sentrux?+

Sentrux works as a plugin in Claude Code and as an MCP server in any MCP-compatible client including Cursor, Windsurf, OpenCode, OpenClaw, and Claude Desktop. It can be run standalone as a GUI or CLI tool for any project.

Does sentrux require API keys or external dependencies?+

No, sentrux is a self-contained single binary written in Rust with no runtime dependencies or API keys required. Language support comes from bundled tree-sitter plugins, and all analysis runs locally on your machine.

Is sentrux free and open source?+

Yes, sentrux is released under the MIT License and is completely free to use. The source code is available on GitHub at https://github.com/sentrux/sentrux.

What programming languages does sentrux support?+

Sentrux supports 52 languages out of the box including JavaScript, TypeScript, Python, Rust, Go, Java, C++, and many others. Additional languages can be added through the plugin system without modifying the core binary.

How do I install sentrux?+

Open the source repository on GitHub and follow its README. sentrux is a plugin — MCP Agents Market links you directly to the official repo.

Is sentrux free?+

sentrux is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches