rtl-diff-mcp-server

dang-ee/rtl-diff-mcp-server

3.1

If you are the rightful owner of rtl-diff-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The RTL Diff MCP Server is designed to analyze Register Transfer Level (RTL) differences between Perforce labels, utilizing Verilog semantic analysis for precise insights.

Tools
5
Resources
0
Prompts
0

RTL Diff MCP Server

A Model Context Protocol (MCP) server for analyzing RTL (Register Transfer Level) differences between Perforce labels with Verilog semantic analysis.

Features

  • Perforce Integration: Compare RTL files between two Perforce labels using p4 diff2
  • MCP Server: Compatible with n8n agent tools through MCP protocol
  • SSE Support: Real-time updates via Server-Sent Events
  • Verilog Semantic Analysis: Analyze semantic changes in Verilog code (modules, instances, ports, wires, etc.)
  • Database Storage: SQLite storage for diff results and semantic analysis
  • Configurable: YAML-based configuration with environment variable overrides

Installation

# Install with uv
uv sync

# Configure Perforce credentials
export P4PORT=your-server:1666
export P4USER=your-username
export P4CLIENT=your-client

Usage

# Run the server
rtl-diff-mcp

# Or specify custom config
rtl-diff-mcp --config config.yaml

MCP Tools

  • analyze_rtl_diff: Compare two Perforce labels
  • query_diff_results: Get analysis results
  • list_diff_sessions: List recent sessions
  • get_file_content: Get file content at label
  • get_semantic_analysis: Get Verilog semantic analysis

License

[Add your license here]