Configuring the MCP Server
To install the MCP server in VS Code:
- Click Ctrl+Shift+P > MCP:Add server
- Select Command (stdio) > insert the following command:
- Give the MCP server a name: P4-SA-MCP
- Select whether you want it to run Globally or just in the current Workspace.
- Start your server. You can do this using the Ctrl+Shift+X shortcut, then click MCP Servers > Gear > Start Server
If you did not install to this location, change this command to match the path of your installation.
You can now see the log for the MCP server in the output window. If it does not automatically display the MCP logs, select MCP: P4-SA-MCP from the list.
The MCP server is now available to be used in the Perforce QAC Visual Studio Code plugin when you view diagnostics produced by analysis and select the Fix with QAC Tools menu option.