Troubleshooting
This section addresses common issues users may encounter while interacting with the DVT MCP Server and provides step-by-step guidance for resolution.
MCP Connector Startup Issues
If the MCP Connector fails to launch, follow these troubleshooting steps:
Inspect the AI agent logs for error messages or stack traces that may indicate root causes.
Ensure the MCP configuration includes the
DVT_HOMEenvironment variable.Manually execute the configured command in a terminal to validate behavior.
If unresolved, submit a detailed issue report.
Tool Call Failures
If a tool call initiated by the AI agent fails, follow these steps:
Check the tool call result message for additional failure details.
Ensure the
project_pathtool argument points to a valid project with an active DVT MCP CLI Endpoint (verify viadvt_mcp.sh list). Confirm the DVT MCP CLI Endpoint is not already in use (check withdvt_mcp.sh list).If the issue persists, submit a detailed issue report.
Unexpected Tool Call Results
If tool calls return unexpected data:
Check if the
project_pathargument points to the correct target project.If anomalies persist, submit a detailed issue report.
Note
While compilation is in progress all tool calls will return a message stating this.
Outdated Tool Call Results
To address outdated data from tool calls:
Incremental Builds: Trigger an incremental build for modified files by instructing the LLM: “Please compile all files changed so far.”
Full Project Rebuild: If needed, initiate a full rebuild by instructing the LLM: “Please perform a DVT full build of the project.”