Skip to main content
Glama
kiranreddi

io.github.kiranreddi/sentinel-dv

by kiranreddi

πŸ›‘οΈ Sentinel DV v2.3.0 - Verification Intelligence for AI Agents

Python PyPI MCP Registry License CI Documentation PRs Welcome Coverage

A security-first MCP server for verification intelligence (SystemVerilog/UVM/cocotb)

Features β€’ Architecture β€’ Quick Start β€’ Documentation


🌟 What is Sentinel DV?

Sentinel DV is an open-source Model Context Protocol (MCP) server that provides large language models and AI agents with safe, structured, read-only access to verification artifactsβ€”enabling deterministic triage, root-cause analysis, and verification insight without exposing raw logs or granting control of simulators.

Verification Ecosystems Supported

  • πŸ”§ UVM (Universal Verification Methodology) - Enterprise verification framework

  • 🐍 cocotb - Python-based verification with coroutines

  • πŸ“Š SystemVerilog - Assertions, coverage, and native testbenches

  • 🌊 Waveform summaries - *.wave.json and *.vcd via built-in parsers (no raw FSDB/WLF streaming)

All through a unified, schema-driven interface with built-in security, redaction, and deterministic outputs.


Related MCP server: Debugging MCP Server

πŸ—οΈ Architecture

Sentinel DV follows a strict separation of concerns with security-first principles:

sentinel_dv/
β”œβ”€β”€ server.py              # MCP server entrypoint
β”œβ”€β”€ config.py              # Security limits, feature flags, governance
β”œβ”€β”€ registry.py            # Tool registration and versioning
β”œβ”€β”€ schemas/               # Typed contracts for all data
β”‚   β”œβ”€β”€ common.py         # EvidenceRef, RunRef, base types
β”‚   β”œβ”€β”€ tests.py          # TestCase, TestTopology, UvmTopology
β”‚   β”œβ”€β”€ failures.py       # FailureEvent, FailureSignature
β”‚   β”œβ”€β”€ assertions.py     # AssertionInfo, AssertionFailure
β”‚   β”œβ”€β”€ coverage.py       # CoverageSummary, CoverageMetric
β”‚   β”œβ”€β”€ regressions.py    # RegressionSummary, RunDiff
β”‚   └── versioning.py     # Schema version management
β”œβ”€β”€ tools/                 # MCP tools (discovery + detail)
β”‚   β”œβ”€β”€ runs.py           # runs.list, runs.diff
β”‚   β”œβ”€β”€ tests.py          # tests.list, tests.get, tests.topology
β”‚   β”œβ”€β”€ failures.py       # failures.list
β”‚   β”œβ”€β”€ assertions.py     # assertions.list/get/failures
β”‚   β”œβ”€β”€ coverage.py       # coverage.list/summary
β”‚   β”œβ”€β”€ regressions.py    # regressions.summary
β”‚   └── wave.py           # wave.summary, wave.signals
β”œβ”€β”€ indexing/              # Artifact indexing and querying
β”‚   β”œβ”€β”€ indexer.py        # Build normalized index from artifacts
β”‚   β”œβ”€β”€ store.py          # DuckDB storage interface
β”‚   └── query.py          # Filter/sort/pagination
β”œβ”€β”€ adapters/              # Parse verification artifacts
β”‚   β”œβ”€β”€ uvm_log.py        # UVM log parsing
β”‚   β”œβ”€β”€ cocotb.py         # cocotb result parsing
β”‚   β”œβ”€β”€ assertion_reports.py # Assertion report/log parsing
β”‚   β”œβ”€β”€ coverage_reports.py  # Coverage summary parsing
β”‚   β”œβ”€β”€ protocol_tags.py     # Protocol taxonomy hints (AXI/APB/AHB/...)
β”‚   β”œβ”€β”€ waveform_summary.py  # Precomputed *.wave.json
β”‚   └── vcd_summary.py       # VCD β†’ bounded summary (Verilator, etc.)
β”œβ”€β”€ normalization/         # Security and determinism
β”‚   β”œβ”€β”€ signatures.py     # Stable failure signature hashing
β”‚   β”œβ”€β”€ taxonomy.py       # Failure categorization
β”‚   └── redaction.py      # Automatic secret/PII redaction
└── utils/                 # Common utilities
    β”œβ”€β”€ hashing.py
    β”œβ”€β”€ time.py
    └── bounded_text.py

Design Principles:

  • Read-only by default - No simulator control, no artifact modification

  • Schema-first - Every response conforms to typed contracts

  • Deterministic - Same input β†’ same output (no LLM-generated fields)

  • Evidence-based - All facts traceable to source artifacts

  • Bounded and safe - Automatic redaction, size limits, path sandboxing


✨ Features

πŸ”’ Security First

  • Read-only by design - No simulation triggers or artifact writes

  • Automatic redaction - Credentials, tokens, emails, IP addresses, paths

  • Path sandboxing - Only configured artifact roots accessible

  • Bounded outputs - Max response sizes, max evidence excerpts

  • Provenance tracking - Every fact includes optional source references

πŸ“Š Rich Verification Data

  • Test results - Status, duration, seed, simulator info, DUT config

  • UVM topology - Env/agent/driver/monitor/scoreboard hierarchy

  • Failure analysis - Categorized events (assertion/scoreboard/protocol/timeout)

  • Assertion intelligence - SVA definitions, runtime failures, intent mapping

  • Coverage metrics - Functional/code/assertion/toggle/FSM coverage

  • Regression analytics - Pass rates, failure signatures, run diffs

  • Interface bindings - Protocol mapping (AXI/AHB/APB/PCIe/USB)

⚑ Performance & Scale

  • Efficient indexing - DuckDB for fast filtering and aggregation

  • Smart pagination - Bounded result sets with stable sorting

  • Normalized storage - Deduplicated, hashed artifacts

  • Selective projection - Request only needed fields

πŸ”Œ Simulator Agnostic

  • Works with any simulator (Synopsys VCS, Cadence Xcelium, Mentor Questa, Verilator)

  • Adapter pattern - Ingest tool-specific formats, output unified schemas

  • Pre-computed summaries - No runtime dependency on EDA tools

πŸ“‹ Schema-Driven Contracts

  • Versioned schemas - SemVer with compatibility guarantees

  • JSON Schema validation - Deterministic, testable

  • Stable tool APIs - Backwards-compatible evolution

  • Self-documenting - Schemas define the interface


πŸš€ Quick Start

PyPI: Use sentinel-dv>=2.3.0 for commercial simulator fixtures (VCS, Questa, Cadence), multi-project demos, 28 MCP tools (v2.0 submission/SVA/replay + v2.1 DV intelligence), assertion/coverage intelligence, and waveform indexing.

Install from MCP Registry

Install via uv (uvx) or your MCP client’s registry UI using server name io.github.kiranreddi/sentinel-dv.

Claude Desktop / MCP client (stdio):

{
  "mcpServers": {
    "sentinel-dv": {
      "command": "uvx",
      "args": [
        "--from",
        "sentinel-dv@2.3.0",
        "sentinel-dv-server",
        "--config",
        "/absolute/path/to/config.yaml"
      ]
    }
  }
}

Alternatively set SENTINEL_DV_CONFIG to your config path and omit --config.

Before querying: build the artifact index (required once per config):

uvx --from sentinel-dv@2.3.0 sentinel-dv-index --config /absolute/path/to/config.yaml --index-all

Installation

# Clone the repository
git clone https://github.com/kiranreddi/sentinel-dv.git
cd sentinel-dv

# Install with development dependencies
pip install -e ".[dev]"

# Or production install (requires >=2.3.0 for all 28 MCP tools)
pip install "sentinel-dv>=2.3.0"

Configuration

Required: copy config.example.yaml to config.yaml (or set SENTINEL_DV_CONFIG / pass --config). The server does not start without a config file and does not auto-use demo/.

Create a config.yaml:

# Artifact roots (read-only)
artifact_roots:
  - /path/to/verification/regressions
  - /path/to/uvm/logs

# Index storage
index:
  type: duckdb
  path: ./sentinel_dv.db

# Adapters (enable/disable)
adapters:
  uvm: true
  cocotb: true
  assertions: true
  coverage: true
  waveform_summary: true   # *.wave.json and *.vcd under artifact_roots

# Security & limits
security:
  max_response_bytes: 2097152  # 2MB
  max_page_size: 200
  max_evidence_refs: 10
  max_excerpt_length: 1024

# Redaction
redaction:
  enabled: true
  patterns:
    - AKIA.*           # AWS keys
    - ghp_.*           # GitHub tokens
    - Bearer\s+\S+     # Bearer tokens
  redact_emails: true
  redact_paths: true

Running the Server

# Start the MCP server
python -m sentinel_dv.server --config config.yaml

# Index artifacts (one-time or scheduled)
python -m sentinel_dv.indexing.indexer --config config.yaml --index-all

# Run with Claude Desktop
# Add to Claude config:
{
  "mcpServers": {
    "sentinel-dv": {
      "command": "python",
      "args": ["-m", "sentinel_dv.server", "--config", "/path/to/config.yaml"]
    }
  }
}

Example Queries

With Claude or any MCP client:

"Why did test axi_burst_test fail in the latest regression?"
β†’ Uses: tests.list, failures.list, tests.topology

"What assertions failed in the AXI agent?"
β†’ Uses: assertions.failures, assertions.get

"Compare coverage between runs R123 and R124"
β†’ Uses: runs.diff, coverage.summary

"Show me the failure signatures from the past week"
β†’ Uses: regressions.summary

πŸ“– Documentation

Core Concepts

Examples

Guides

Reference


🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for:

  • Code of Conduct

  • Development setup

  • Testing guidelines

  • Pull request process

Development

# Install with dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run with coverage
pytest --cov=sentinel_dv --cov-report=html

# Lint and format
ruff check .
black .
mypy sentinel_dv/

πŸ“Š Project Status

  • βœ… Core schemas - Stable v1.0

  • βœ… MCP tools - 28 tools (discovery, analysis, regression, waveforms, v2.0 workflow, v2.1 DV intelligence, v2.3 run/test aggregation)

  • βœ… Adapters - UVM, cocotb, assertions, coverage

  • βœ… Indexing - DuckDB with efficient querying

  • βœ… Security - Redaction, sandboxing, bounding

  • βœ… Test coverage - 70%+ with unit and integration tests

  • βœ… Documentation - Full guides and API reference

  • βœ… Waveform summaries - *.wave.json + *.vcd (VcdSummaryParser); Verilator demo

  • βœ… Simulator examples - VCS, Questa, and Cadence exported artifact fixtures with all-tool verification

  • 🚧 Plugin ecosystem - Coming soon


🎯 Positioning

What Sentinel DV is

  • A read-only MCP server for verification ecosystems

  • A schema-first context provider for agents and LLMs

  • A deterministic translation layer from noisy artifacts to typed data

  • A composable infrastructure component for debug workflows

What Sentinel DV is not

  • ❌ It does not start simulations or submit jobs

  • ❌ It does not modify RTL/testbench code

  • ❌ It does not require any specific simulator

  • ❌ It is not an "AI that guesses"; it returns grounded, typed facts


πŸ™ Acknowledgments

Inspired by:


πŸ“„ License

Apache License 2.0 - see LICENSE for details.



Built with ❀️ for the verification community

⬆ back to top

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

–Maintainers
–Response time
3dRelease cycle
7Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...

  • Evaluate, benchmark, and simulate AI agents on the VerifyAX agent-evaluation platform.

  • Read-only tools over the Safer Agentic AI framework: 238 patterns + 14 heuristics.

View all MCP Connectors

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/kiranreddi/sentinel-dv'

If you have feedback or need assistance with the MCP directory API, please join our Discord server