Vivado MCP Native
v0.2.1Native MCP server for controlling AMD/Xilinx Vivado on Windows and Linux via persistent Tcl.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
start_session
Start a persistent Vivado TCL session. Must be called before other commands.
| Parameter | Type | Description |
|---|---|---|
vivado_path | string | Path to Vivado executable (default: 'vivado' from PATH) |
stop_session
Stop the Vivado TCL session and free resources
session_status
Get status and statistics of the current Vivado session
check_session_health
Check if Vivado session is responsive and recover if needed. Use this if commands are timing out or behaving unexpectedly.
| Parameter | Type | Description |
|---|---|---|
auto_recover | boolean | Restart session if unhealthy (default: true) |
get_host_status
Get status of this Vivado MCP server host including hostname, free memory, and session state. If free memory is below 64GB, use vivado-snoke instead.
open_project
Open a Vivado project (.xpr file)
| Parameter | Type | Description |
|---|---|---|
project_path * | string | Path to .xpr project file |
close_project
Close the current project
get_project_info
Get information about the currently open project
run_synthesis
Run synthesis on the current project
| Parameter | Type | Description |
|---|---|---|
jobs | integer | Number of parallel jobs (default: 4) |
timeout | integer | Timeout in seconds (default: 1800 = 30 minutes). Increase for large designs. |
run_implementation
Run implementation (place and route) on the current project
| Parameter | Type | Description |
|---|---|---|
jobs | integer | Number of parallel jobs (default: 4) |
timeout | integer | Timeout in seconds (default: 3600 = 60 minutes). Increase for large designs. |
generate_bitstream
Generate bitstream for the implemented design
get_timing_summary
Get timing summary (WNS, TNS, WHS, THS). Returns parsed metrics only by default. Use generate_full_report for raw output.
| Parameter | Type | Description |
|---|---|---|
detail_level | string | Detail level: 'summary' (default, parsed metrics only), 'standard' (+ truncated raw), 'full' (+ complete raw) |
report_type | string | Type: 'summary' (default), 'setup', 'hold', or 'all' |
get_timing_paths
Get timing paths for failing or critical paths. Returns structured summary (slack, source, dest, clocks) by default. Use generate_full_report for verbose path details.
| Parameter | Type | Description |
|---|---|---|
clock | string | Filter paths by clock domain name |
detail_level | string | Detail level: 'summary' (default, structured only), 'standard' (+ truncated raw), 'full' (+ complete raw) |
from_pin | string | Filter paths starting from this pin/cell pattern (Vivado -from option) |
num_paths | integer | Number of paths to report (default: 10) |
path_type | string | Type: 'setup' (default) or 'hold' |
slack_threshold | number | Only show paths with slack less than this (default: 0 for failing paths) |
through | string | Filter paths going through this pin/cell pattern (Vivado -through option) |
to_pin | string | Filter paths ending at this pin/cell pattern (Vivado -to option) |
get_utilization
Get resource utilization (LUT, FF, BRAM, DSP, IO). Returns parsed metrics only by default. Use generate_full_report for hierarchical details.
| Parameter | Type | Description |
|---|---|---|
detail_level | string | Detail level: 'summary' (default, parsed only), 'standard' (+ truncated raw), 'full' (+ complete raw) |
hierarchical | boolean | Include hierarchical breakdown (default: false) |
module_filter | string | Wildcard pattern to filter modules in hierarchical report |
threshold_percent | number | Only show resources above this utilization percentage (0-100) |
get_clocks
Get clock information and constraints
get_messages
Get synthesis/implementation messages (errors, warnings)
| Parameter | Type | Description |
|---|---|---|
severity | string | Filter by severity: 'all' (default), 'error', 'critical', 'warning' |
get_design_hierarchy
Get the design hierarchy (modules and instances)
| Parameter | Type | Description |
|---|---|---|
instance_pattern | string | Wildcard pattern to filter instances (e.g., '*cpu*', 'core/alu/*') |
max_depth | integer | Maximum hierarchy depth to return (default: 3) |
get_ports
Get top-level ports of the design
get_nets
Search for nets in the design
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results (default: 100) |
pattern | string | Wildcard pattern to match net names (default: '*') |
get_cells
Search for cells (instances) in the design
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of results (default: 100) |
pattern | string | Wildcard pattern to match cell names (default: '*') |
run_tcl
Execute a raw TCL command in Vivado. Use for advanced operations not covered by other tools.
| Parameter | Type | Description |
|---|---|---|
command * | string | TCL command to execute |
launch_simulation
Launch behavioral simulation (xsim). Opens the simulator and loads the design.
| Parameter | Type | Description |
|---|---|---|
mode | string | Simulation mode (default: behavioral) |
run_simulation
Run the simulation for a specified time
| Parameter | Type | Description |
|---|---|---|
time * | string | Time to run (e.g., '100ns', '1us', '10ms', 'all') |
restart_simulation
Restart the simulation from time 0
close_simulation
Close the current simulation
get_simulation_time
Get the current simulation time
get_signal_value
Get the current value of a signal in simulation
| Parameter | Type | Description |
|---|---|---|
signal * | string | Full hierarchical signal path (e.g., '/tb/dut/clk', '/tb/dut/data_out') |
radix | string | Display radix (default: hex) |
get_signal_values
Get current values of multiple signals matching a pattern
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Signal pattern with wildcards (e.g., '/tb/dut/*', '/tb/dut/data*') |
radix | string | Display radix (default: hex) |
add_signals_to_wave
Add signals to the waveform viewer
| Parameter | Type | Description |
|---|---|---|
signals * | array | List of signal paths to add (e.g., ['/tb/dut/clk', '/tb/dut/rst']) |
set_simulation_top
Set the top module for simulation
| Parameter | Type | Description |
|---|---|---|
top_module * | string | Name of the testbench module |
fileset | string | Simulation fileset (default: sim_1) |
get_simulation_objects
List simulation objects (signals, variables) in a scope
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter by object type (default: all) |
scope | string | Hierarchical scope (e.g., '/tb', '/tb/dut'). Default is root. |
get_scopes
List available scopes (hierarchy) in the simulation
| Parameter | Type | Description |
|---|---|---|
parent | string | Parent scope to list children of (default: root) |
step_simulation
Step the simulation by a delta cycle or time step
| Parameter | Type | Description |
|---|---|---|
count | integer | Number of steps (default: 1) |
add_breakpoint
Add a simulation breakpoint on a signal condition
| Parameter | Type | Description |
|---|---|---|
signal * | string | Signal to monitor |
condition | string | Trigger condition (default: change) |
remove_breakpoints
Remove all breakpoints
get_simulation_messages
Get simulation log messages (errors, warnings, info)
| Parameter | Type | Description |
|---|---|---|
severity | string | Filter by severity (default: all) |
request_feature
Request a new feature or capability for the Vivado MCP server. Use this when you encounter a limitation or wish you had a tool that doesn't exist.
| Parameter | Type | Description |
|---|---|---|
description * | string | Detailed description of what you need and why |
title * | string | Short title for the feature request |
priority | string | How important is this feature? (default: medium) |
use_case | string | The specific use case or task you were trying to accomplish |
list_feature_requests
List all feature requests that have been submitted
generate_full_report
Generate a full Vivado report to a file. Use when inline reports are truncated or you need the complete output.
| Parameter | Type | Description |
|---|---|---|
report_type * | string | Type of report to generate |
options | object | Report-specific options (e.g., {'hierarchical': true} for utilization) |
output_file | string | Optional custom output path. Default: the platform temporary directory/vivado_mcp/<type>_<id>.txt |
read_report_section
Read a section of a previously generated report file
| Parameter | Type | Description |
|---|---|---|
file_path | string | Alternative: direct file path to read |
num_lines | integer | Number of lines to read (default: 100) |
report_id | string | Report ID returned by generate_full_report |
search_pattern | string | Regex pattern to find a section (returns lines around first match) |
start_line | integer | Line number to start reading from (1-indexed, default: 1) |