You need to configure your LLM client to access SOAtest and Virtualize as an MCP server by providing it the endpoint <BASE_URL>/soavirt/mcp. You can do this a couple ways.
Using SOAtest and Virtualize as an MCP server is only supported with a license that has "MCP Server" enabled. See Using Parasoft Tools as an MCP Server for more information.
Adding it to Your Configuration
You can add the endpoint to your configuration. For example:
{
"servers": {
"soatest": {
"type": "http",
"url": "http://hostname:9080/soavirt/mcp",
"headers": {
"Authorization": "Basic <credentials>",
"Parasoft-Server-URL": "<hostname>"
}
}
}
}
{
"servers": {
"soatest": {
"type": "http",
"url": "http://hostname:9080/soavirt/mcp",
"headers": {
"Authorization": "Bearer <token>",
"Parasoft-Server-URL": "<hostname>"
}
}
}
}
Your authorization header can be either "Authorization": "Basic" or "Authorization": "Bearer", as appropriate for your SOAtest or Virtualize server. When using Bearer authorization, you will need to provide the token. When using Basic authorization, encode your username and password like you would for any other HTTP basic authorization header. For example, if the SOAtest/Virtualize server credentials are username user and password pass, you would configure as "headers": {"Authorization": "Basic dXNlcjpwYXNz"}. The account you are using must have at least Provision access to use LLM clients.
For environments where the hostname of the SOAtest/Virtualize server that is providing MCP tools would not be accessible from the client, for example because it is behind a load balancer or in Kubernetes/Docker, the Parasoft-Server-URL header allows the SOAtest/Virtualize server to build URLs that the client can access. If your SOAtest/Virtualize server is accessible from the client, you can ignore this header, though having it in your configuration does no harm, so it is recommended that you set it regardless.
Adding it with VS Code
You can add the MCP server endpoint using the VS Code CLI. For example:
Linux
code --add-mcp '{"name":"soatest","type":"http","url":"http://localhost:9080/soavirt/mcp"}'
Windows
"C:\Program Files\Microsoft VS Code\bin\code" --add-mcp {\"name\":\"soatest\",\"type\":\"http\",\"url\":\"http://localhost:9080/soavirt/mcp\"}