
Vivado MCP Native
io.github.ArthurzxyPublished by GitHub account Arthurzxyv0.2.1Updated Oct 27, 2026
Native MCP server for controlling AMD/Xilinx Vivado on Windows and Linux via persistent Tcl.
The publisher's own server: NativeExpress
Overview
Local MCP server that drives AMD/Xilinx Vivado through a persistent Tcl session, letting an assistant open FPGA projects, run synthesis and implementation…
- What you can do
- Start, stop, health-check and inspect a persistent Vivado Tcl session and host status
- Open and close .xpr projects and read project, device and top-level information
- Run synthesis, implementation and bitstream generation, then read errors and warnings
- Read timing summaries and filtered critical paths, utilization, clocks, hierarchy, ports, nets and cells
- Control xsim simulation: launch, run, step, restart, read signal values, manage waveforms and breakpoints
- Run arbitrary Tcl and generate full reports that can be read back by line range or regex
- When to use it
- Useful when an assistant should handle repetitive Vivado work on a local FPGA project: running synth/impl flows, checking timing and resource reports, triaging messages, or driving simulations, while you focus on architecture and constraints.
- Requirements
- Runs as a local stdio process on Windows 10/11 or Linux with Python 3.10–3.12, installed from PyPI (pip or pipx). AMD/Xilinx Vivado must already be installed locally with a license covering the devices and flows used, and VIVADO_PATH can point to the launcher, bin directory or version directory. An MCP client supporting local stdio servers is needed; VIVADO_MCP_OUTPUT_ENCODING is optional.
Installation
In SourceWeft
- Open Vivado MCP Native in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
简体中文 | English
Vivado MCP Native
让 Claude、Cursor、Cline、Cherry Studio 等兼容 MCP 的 AI 客户端
在 Windows 和 Linux 上直接启动、控制并分析 AMD/Xilinx Vivado。
[PyPI] [Python] [Platform] [MCP stdio] [MIT License]
让 AI 处理 Vivado 的重复操作、报告读取和 Tcl 调用,你可以把精力放在 FPGA 架构、约束和问题判断上。
Vivado MCP Native 是一个面向 AMD/Xilinx Vivado 的本地 Model Context Protocol(MCP)服务器。它通过持久化 Vivado Tcl 会话,让 AI 客户端能够打开工程、运行综合与实现、生成比特流、读取时序和资源报告、控制仿真,并执行高级 Tcl 命令。
项目使用 Python subprocess 原生管理 Vivado 进程,可直接运行于 Windows 和 Linux,不依赖仅适用于类 Unix 环境的 pexpect。MCP 与 Vivado 都运行在用户本机,工程文件不会因为使用本项目而自动上传到云端。
[!IMPORTANT] 本项目不包含 Vivado。可用器件、IP、综合/实现功能和许可证能力,取决于本机安装的 AMD/Xilinx Vivado。
[!WARNING] PyPI 上的
vivado-mcp属于另一个项目。本项目的安装包名称是vivado-mcp-native。
它可以做什么
可以直接对 AI 这样说
为什么使用这个项目
环境要求
安装
方式一:使用 pip 安装
Windows PowerShell:
Linux:
检查安装结果:
方式二:使用 pipx 安装(推荐)
pipx 会为 MCP Server 创建独立 Python 环境,减少与其他 Python 包的依赖冲突。
Windows:
Linux:
升级:
方式三:直接从 GitHub 安装
安装 master 分支最新源码:
使用 pipx:
不依赖本机 Git,也可以安装 GitHub ZIP:
用于开发或修改源码:
安装后提供的命令
快速开始
第一步:确认 Vivado 启动文件
VIVADO_PATH 可以指向:
- 完整启动文件:
vivado.bat、vivado.cmd、vivado.exe或 Linuxvivado; - Vivado 的
bin目录; - Vivado 版本目录。
Windows 示例:
Linux 示例:
未显式配置时,Server 会检查系统 PATH 和常见安装目录。
第二步:运行 Doctor
机器可读 JSON 输出:
Doctor 会依次检查:
- Vivado 启动文件解析;
- 持久 Tcl 会话启动;
- Vivado 和 Tcl 版本查询;
- Tcl 表达式执行;
- 中文 Unicode 往返;
- 会话健康状态;
- Vivado 正常关闭。
Doctor 不会打开或修改用户工程。
第三步:配置 MCP 客户端
先查找安装后的命令路径:
使用已安装的命令
把下面的 command 和 VIVADO_PATH 替换为你的实际路径:
使用 Python 模块启动
适用于虚拟环境或 pip install 后不方便定位命令的情况:
建议使用可执行文件的绝对路径,避免 MCP 客户端与终端使用不同 PATH。
配置保存后,完全退出并重新启动 MCP 客户端,然后让 AI 执行:
推荐使用流程
综合和实现可能耗时较长。大型工程应在调用时增加 timeout,并根据 CPU 和内存情况设置合适的 jobs。
MCP 工具说明
会话管理
start_session:启动持久 Vivado Tcl 会话;stop_session:正常关闭 Vivado;session_status:查看命令数、错误数和会话统计;check_session_health:检查会话响应并按需恢复;get_host_status:查看主机名、可用内存和会话状态。
工程与设计流程
open_project/close_project:打开或关闭.xpr工程;get_project_info:获取当前工程信息;run_synthesis:运行综合并验证 Vivado 的实际状态;run_implementation:运行 place and route;generate_bitstream:为已实现设计生成 bitstream。
报告与设计查询
get_timing_summary:返回 WNS、TNS、WHS、THS 等结构化指标;get_timing_paths:按时钟、起点、终点或 through 对象过滤关键路径;get_utilization:返回 LUT、FF、BRAM、DSP 和 IO 使用率;get_clocks:获取时钟与约束信息;get_messages:分类读取 ERROR、CRITICAL WARNING 和 WARNING;get_design_hierarchy:读取综合后设计层次;get_ports/get_nets/get_cells:查询端口、网络和单元。
仿真
set_simulation_top:设置 testbench 顶层;launch_simulation:启动行为级或综合/实现后仿真;run_simulation/step_simulation/restart_simulation:运行、步进或重启;get_signal_value/get_signal_values:读取一个或一组信号;get_scopes/get_simulation_objects:浏览仿真层次和对象;add_signals_to_wave:添加波形信号;add_breakpoint/remove_breakpoints:管理仿真断点;get_simulation_messages:读取仿真日志;close_simulation:关闭仿真。
高级能力
run_tcl:执行任意 Vivado Tcl;generate_full_report:生成 timing、utilization、power、DRC 等完整报告;read_report_section:按行范围或正则表达式读取大型报告;request_feature/list_feature_requests:记录当前未覆盖的功能需求。
工作原理
每条 Tcl 命令会使用 UTF-8 十六进制编码并附加唯一标记。Server 分别提取标准输出、Tcl 返回值、返回码和错误栈,不依赖可能随语言环境变化的 Vivado% 提示符。
常见问题
找不到 vivado-mcp-native 命令
重启终端或把返回的绝对路径直接写入 MCP 客户端配置。
找不到 Vivado
先验证启动文件:
随后运行:
中文输出乱码
可设置为 utf-8、gbk,或与本机 Vivado Tcl 控制台一致的编码。
综合或实现超时
超时后 Server 会终止完整 Vivado 进程树,防止继续使用已经失步的会话。重新启动会话,并为大型工程设置更长的 timeout。
vivado-mcp 和 vivado-mcp-native 是同一个包吗
不是。安装本项目请始终使用:
更多 Windows 配置说明参见 WINDOWS_INSTALL.md。
安全说明
run_tcl 可以按当前用户权限执行任意 Tcl,包括读写文件和启动外部程序。请注意:
- 只连接可信的 MCP 客户端和模型;
- 执行删除文件、重置工程或覆盖输出前检查目标路径;
- 对重要工程使用版本控制并保留备份;
- 不要把没有鉴权和隔离的 Vivado MCP 直接暴露到公网。
官方 MCP Registry
官方 Registry 标识:
注册元数据位于 server.json,当前发布版本为 0.2.1,传输方式为本地 stdio。
贡献
欢迎通过 Issue 或 Pull Request:
- 补充新的 Vivado 工具;
- 改进不同 Vivado 版本的兼容性;
- 增强报告解析;
- 补充 MCP 客户端配置示例;
- 修正文档或翻译。
许可证与致谢
本项目使用 MIT License。
- 原始项目由 Corey Hahn 创建;
- 基于 Model Context Protocol;
- 集成 AMD/Xilinx Vivado。
Source: README.md at commit 83028f0
Tools
0Version history
1- v0.2.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Native integrations
NativeExpress
express.native.wwwOfficial publisher
NativeExpress's hosted MCP server, published by www.native.express; no sign-in required; Streamable HTTP; 5 tools.

AI Native System
Published by GitHub account dengyier
Read-only MCP server that lets an assistant list authorized applications and look up task status in a deployed AI Native System instance.

Native mobile build plan — Atom
org.aimlds
Native mobile build plan — Atom's hosted MCP server, published by aimlds.org; credential required; Streamable HTTP.

A2ANX — Agent Native Network
Published by GitHub account obcraft
A remote network where AI agents register a key-based identity, sign in, and exchange private or public messages with other agents.
Purple8 — AI-Native Application Backend
ai.purple8.www
Remote MCP backend that gives an AI assistant 176 tools to build and run app data, auth, workflows, SLAs, human-in-the-loop and RAG.