LazyVerilog MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LAZYVERILOG_LSP | No | Path to the LazyVerilog LSP binary. | lazyverilog-lsp on PATH |
| LAZYVERILOG_ROOT | No | Workspace root; relative file paths resolve against it. Start the agent from your project directory, or set LAZYVERILOG_ROOT. | current directory |
| LAZYVERILOG_INDEX_TIMEOUT | No | Seconds the first call waits for the project index. | 30 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lintA | Lint one SystemVerilog file: parse errors, lint rules and semantic diagnostics. Output lines are |
| lint_allA | Lint every file in the project filelists (lazyverilog.toml [design]). Can be slow on big projects. |
| format_fileB | Format a file with the project's lazyverilog.toml [format] rules. Give start_line/end_line (1-based, inclusive) to format only that range. |
| goto_definitionA | Find where |
| find_referencesB | List every reference to |
| hoverC | Show type/declaration info for |
| rename_symbolB | Rename |
| document_symbolsC | Outline of a file: modules, ports, signals, parameters, instances, functions... with line numbers. |
| workspace_symbolsB | Search project-wide for modules, interfaces, packages, classes, ... whose name matches |
| rtl_treeA | Module instance hierarchy rooted at the module in |
| code_actionsA | List RTL code actions available at |
| apply_code_actionA | Run the code action named |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct LSP-style operation: navigation, symbol search, hierarchy, linting, formatting, and code actions. The paired tools are clearly differentiated, such as code_actions vs apply_code_action and lint vs lint_all.
All names use lower_snake_case and are descriptive, but conventions are mixed between verb-led actions (rename_symbol, find_references) and noun-led introspection tools (workspace_symbols, document_symbols). The pattern is still readable and mostly predictable.
Twelve tools is well within the ideal range for an HDL/LSP-style server. Each tool covers a meaningful capability without obvious padding or redundancy.
The surface covers core code intelligence: symbols, navigation, references, rename, code actions, hierarchy, linting, and formatting. Minor gaps remain around completion, signature help, and advanced hierarchy/implementation queries, but core workflows are supported.