Skip to main content
Glama

MCP for Vivado

面向 AI 的 Vivado MCP 工作台。
本项目采用 MCP-first 设计,不提供自研桌面 GUI;Vivado 相关操作必须在真实 Vivado GUI 中执行,并在关键步骤切到对应可视上下文。

当前状态

  • 版本:v2.0.0

  • PM 结论:v2 已整体完成

  • 当前发布范围:

    • Windows 主线使用场景

    • v2 public workflow 方法面

    • phase-2 核心跨域闭环

    • phase-3 proof / contract / semantic / referent / public schema 收口链条

Related MCP server: Vivado MCP

适用场景

  • 由 AI 调用 MCP / workflow 方法,驱动 Vivado 设计、验证与调试主流程

  • 自动发现本机 Vivado 版本并完成 workspace 级绑定

  • 设计 IP、设计 Block Design、运行 simulation

  • 跨 simulation / timing / ILA / design follow-up 的自动回流与复验

  • 在 Vivado GUI 中显示关键步骤对应的上下文

目录说明

快速开始

  1. 安装 Python 3.11+

  2. 安装 Vivado,并确保版本不低于 2018.3

  3. 执行:

cd D:\ai_playgraund\vivado_mcp
powershell -ExecutionPolicy Bypass -File .\scripts\install_mcp_for_ai.ps1
  1. 按 docs/USER_INSTALL_AND_USAGE.md 或 docs/AI_INSTALL_AND_USAGE.md 开始使用

当前入口

当前发布版暴露的是 Python 进程内 MCP 风格入口:

核心类:

  • fpga_mcp.FpgaMcpServer

  • fpga_mcp.FpgaMcpV2PublicServer

说明:

  • 当前仓库提供的是“方法注册 + 协议返回壳 + orchestration 接线”的 Python 包入口

  • 不是一个独立的 stdio / HTTP 传输层服务

  • 若要接入外部 AI 宿主,可在宿主中直接导入 FpgaMcpV2PublicServer 并调用 list_methods() / invoke()

v2 Public 方法

  • create_workflow

  • get_workflow

  • list_workflows

  • design_block_design

  • design_ip

  • run_simulation

  • confirm_workflow

  • reject_workflow

  • cancel_workflow

  • submit_workflow_input

  • get_workflow_events

Available Tools

15 tools
cancel_workflowC

Cancel a workflow.

Inputs: params. Returns: object

confirm_workflowD

Confirm a workflow.

Inputs: params. Returns: object

create_workflowD

Create a workflow record.

Inputs: params. Returns: object

design_block_designC

Design a block design workflow intent.

Inputs: params. Returns: object

design_ipC

Design an IP workflow intent.

Inputs: params. Returns: object

get_workflowC

Get a workflow snapshot.

Inputs: params. Returns: object

get_workflow_eventsC

Get public workflow events.

Inputs: params. Returns: object

list_public_methodsB

List released v2 public FPGA MCP methods.

Inputs: no named parameters. Returns: result

list_registered_toolchainsA

List registered Vivado toolchains available to stdio workflows.

Inputs: no named parameters. Returns: result

list_workflowsD

List workflows.

Inputs: params. Returns: object

register_toolchain_pathB

Register another Vivado install path or vivado.bat path and persist it for future sessions.

Inputs: params. Returns: object

reject_workflowC

Reject a workflow.

Inputs: params. Returns: object

remove_registered_toolchainB

Remove a previously registered Vivado toolchain option from stdio workflows.

Inputs: params. Returns: object

run_simulationD

Run a simulation workflow intent.

Inputs: params. Returns: object

submit_workflow_inputC

Submit workflow user input.

Inputs: params. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools have distinct purposes (e.g., workflow CRUD, toolchain management, design intents), but 'cancel_workflow' and 'reject_workflow' could be ambiguous—both involve stopping a workflow but with different semantics. Descriptions are brief but generally clear.

    Naming Consistency4/5

    Tool names follow a consistent verb_noun pattern (e.g., create_workflow, list_workflows). Minor inconsistency: 'design_block_design' is redundant (block design appears twice), and 'run_simulation' uses a different verb style than 'design_*' intents.

    Tool Count5/5

    15 tools is well-scoped for a Vivado MCP server covering workflow lifecycle, design intents, toolchain registration, and public methods. Each tool serves a clear purpose without unnecessary bloat.

    Completeness4/5

    Covers CRUD for workflows, toolchain registration, and design intents. Minor gaps: lacks update/delete for registered toolchains (only remove), and no tool for listing or managing IP/block designs after creation. Core workflows are complete.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that lets AI clients operate AMD Vivado through safe, workflow-level tools while allowing the user to watch and interact with the Vivado GUI.
      21
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A lean MCP server that lets AI agents drive Xilinx Vivado for synthesis, implementation, simulation, and diagnostics through 30 curated tools and raw Tcl execution.
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for AMD Xilinx Vivado 2023.1 that enables Claude Code to act as an AI FPGA engineer, providing 27 tools for querying, building, simulating, and programming FPGA designs.
      2
      -