Visual Studio Code configuration for MCP server

About this task

To add the ClearCase MCP server to Visual Studio Code (VS Code), you should modify the MCP JSON configuration file (typically located in your MCP extension settings).

  1. Add the server definition to your configuration. For example, if you have installed the ClearCase MCP server in /var/tmp/mytestvenv, add the following:

    {
    	"servers": {
    		"clearcase-mcp": {
    			"type": "stdio",
    			"command": "/var/tmp/mytestvenv/bin/uv",
    			"args": [
    				"run",
    				"/var/tmp/mytestvenv/.venv/bin/mcp",
    				"run",
    				"/var/tmp/mytestvenv/clearcase-mcp.py"
    			]
    		}, 
    
    
    	},
    	"inputs": []
    }
  2. Save the configuration file.

You have now successfully added the ClearCase MCP server to VS Code.