You can configure AI-powered code editing tools like Copilot and Windsurf to use SOAtest as a Model Context Protocol (MCP) server. Once configured, those tools can use SOAtest directly. This works with both the SOAVirt WAR and desktop server. This feature requires a license that has "LLM Integration" enabled.
You need to configure your tool to access SOAtest as an MCP server by providing it the endpoint <INSTALL_DIR>/soavirt/mcp/sse
. You can do this a couple ways.
You can add the endpoint to your configuration. For example:
{ "servers": { "soatest": { "url": "http://localhost:9080/soavirt/mcp/sse" } } } |
You can add the SOAtest MCP server endpoint using the VS Code CLI. For example:
Linux
code --add-mcp '{"name":"soatest","url":"http://localhost:9080/soavirt/mcp/sse"}' |
Windows
"C:\Program Files\Microsoft VS Code\bin\code" --add-mcp {\"name\":\"soatest\",\"url\":\"http://localhost:9080/soavirt/mcp/sse\"} |
The following examples (using the public ParaBank site) demonstrate the kinds of things you can do with your AI-powered code editing tool once you have configured it to use SOAtest as an MCP server. Sample responses are included for each one to give you an idea of the kind of feedback you can get.
|
|
Note the use of the word "assert" in the second prompt. It can be useful choose terms that direct the LLM to specific tools (in this case, the AI Assertor) so that it understands what you want the first time.