How to use DVT MCP Server

The DVT MCP Server can be integrated with CLI-based AI agents that support the MCP protocol.

To configure the DVT MCP Server in a CLI agent, follow these steps:

  1. Start a DVT MCP CLI Endpoint for your project

$DVT_HOME/bin/dvt_mcp.sh start /path/to/dvt/project -lang vlog -lang vhdl -default.build <compilation_args>
  1. Configure the command that starts the MCP Connector

Add the command to start the MCP Connector in the preferred AI agent configuration and make sure DVT_HOME is set.

# environment needed for the MCP Connector to function properly
DVT_HOME=/path/to/dvt_home

# command used to start the MCP Connector
$DVT_HOME/bin/dvt_mcp.sh connect

Note

Mainstream MCP hosts limit the environment of the MCP Server subprocess. Ensure that DVT_HOME and other necessary environment variables are properly set in the configuration.