verilator-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@verilator-mcp parse these Verilator diagnostics: %Error: top.sv:10: syntax error"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
verilator-mcp
English · Участие в разработке · Безопасность
Переносимый локальный MCP-сервер для симуляции, диагностики и верификации RTL с Verilator.
Статус: bootstrap / экспериментальный (0.0.1). Проект содержит проверяемый каркас MCP, безвредное обнаружение установленного инструмента и ограниченный разбор текстовых диагностик. Он пока не запускает синтез или симуляцию и не может подтверждать работоспособность коммерческих инструментов. См. план.
Для чего нужен
Сборка и запуск SystemVerilog-тестбенчей, воспроизводимые регрессии и структурированные результаты.
Принципы: отдельно от agent-dev-toolkit; свободная установка из исходников; никаких встроенных EDA-бинарников, лицензий, облачных запросов и непрошеных изменений файлов проекта. Каждая команда имеет ограниченную область доступа и возвращает наблюдаемые доказательства, а не догадки.
Related MCP server: fpgaZeroMCP
Быстрый старт
Нужен Python 3.11+ и установленный uv. Для самого MCP-сервера нужен совместимый MCP SDK v2.3.0; SDK будет установлен в локальное виртуальное окружение при выполнении uv sync.
git clone https://github.com/chinn-choppa/verilator-mcp.git
cd verilator-mcp
uv sync --locked
uv run --locked verilator-mcpЛокальная конфигурация клиента MCP (пример структуры; конкретный путь к uv/проекту и формат конфигурации зависят от клиента):
{
"mcpServers": {
"verilator-mcp": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/verilator-mcp", "run", "verilator-mcp"]
}
}
}Это пример для клиентов с ключом mcpServers; Codex и OpenCode используют собственные схемы. Все пути должны указывать на доверенную локальную копию.
Доступные инструменты прототипа
Tool | Назначение | Граница |
| Идентификатор сервера, состояние, ограничения | Только чтение |
| Поиск установленного | Не запускает EDA-продукт |
| Выделение диагностических сообщений из переданного текста | До 1 МиБ и 200 записей |
В первом выпуске не выполняются команды lint/simulate: для них требуется отдельный обзор безопасности и тесты на реальном Verilator.
Воспроизводимые проверки
uv run --locked pytest -q tests
uv run --locked python -m compileall -q src testsПосле uv sync проверьте запуск uv run verilator-mcp с MCP Inspector или настоящим MCP-клиентом. Одна лишь установка или tools/list не доказывает успешное выполнение EDA-команды. До появления соответствующих реализаций состояние таких проверок — NOT_RUN.
Ограничения
Verilator не является полной заменой четырёхсостояниевой симуляции. Его успешный запуск не доказывает эквивалентность Questa.
См. архитектуру, совместимость, контракт результатов, тестирование и дорожную карту.
Лицензия
Apache License 2.0. Настоящий репозиторий не связан с производителем Verilator и не является его официальным продуктом.
Available Tools
3 toolsparse_diagnosticsC
Распознать известные диагностические строки с ограничением размера.
Inputs: text (required), limit. Returns: object
server_infoA
Сообщить о возможностях прототипа без запуска EDA.
Inputs: no named parameters. Returns: object
tool_statusC
Найти установленный инструмент, не выполняя его.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
server_info, tool_status, and parse_diagnostics target mostly distinct concerns: prototype capabilities, external tool availability, and diagnostic parsing. server_info and tool_status both return meta-information and could be mildly confused, but their descriptions distinguish capabilities from installed-tool lookup.
All names use snake_case, which is consistent at the casing level. However, server_info and tool_status are noun-based meta names while parse_diagnostics follows verb_noun, so the naming pattern is mixed though still readable.
Three tools is a small but plausible set for a prototype. Still, two are meta/informational tools and only one performs a domain operation, making the surface feel thin for a Verilator-focused server.
There is no tool to actually run Verilator, lint or compile HDL, or retrieve diagnostics from an execution; parse_diagnostics only recognizes known diagnostic strings. The set covers introspection and parsing but leaves major gaps in the core Verilator workflow.
Maintenance
Related MCP Connectors
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
The official Svelte MCP server providing docs and autofixing tools for Svelte development
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP compatibility and transport verification server.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes Language Server Protocol (LSP) tools such as diagnostics, goto definition, find references, symbols, and rename as a stdio MCP server.9MIT
- AlicenseAqualityDmaintenanceAn MCP server for FPGA toolchain operations including linting, simulation, synthesis, place-and-route, bitstream programming, and IP core registry via GitHub.258MIT
- AlicenseAqualityBmaintenanceLocal MCP server for querying VCD waveform files via SQLite; enables AI agents to ask precise questions about signal values, transitions, and clock cycles without dumping raw VCD text.182AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceMCP server for Verilog development and debugging, providing syntax checking, compilation, simulation, and cross-validation with third-party simulators.-