Claude Code
To configure the MCP Server in Claude Code’s VS Code Extension, create a file named .mcp.json in the root directory of your project, with the following content:
Alternatively, you can configure the MCP Server using Claude Code CLI:
Note
The methods above will enable access to the MCP Server only for the current DVT project. If you want to enable the MCP Server for all projects, either add the above server configuration in the ~/.claude.json file or use the claude mcp add --scope user <other_args> command.
After creating the JSON file (or using the claude mcp add command), follow these steps:
Open the Claude Code chat and start a new session.
Use the /mcp (MCP Servers) command.
The DVT MCP Server should be marked Connected with a green indicator
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.