Use Tosca MCP Server

We added this functionality in a patch. To use Model Context Protocol (MCP) with Tosca, you need to install patch 1 or later.

With the Model Context Protocol (MCP) integration, AI assistants can access your Tosca workspace and help you create, organize, update, use, and run test assets.

In this topic, you'll learn how to use the Tosca MCP Server.

Get started

To start using the Tosca MCP Server, follow these steps:

  1. Open a Tosca workspace. This workspace must stay open while you use the AI assistant with Tosca.

  2. Open your AI assistant and send a prompt.

The AI assistant then accesses the workspace with the credentials of the user of this Tosca workspace.

Please note that standard check-in/check-out rules apply, even for the AI assistant.

Available actions

Your AI assistant can perform all tasks that the Tosca Commander interface supports.

To see which tools are available, ask the AI assistant directly for the list. For example, use the following prompt:

Give me a list of all available tools

For the best results, however, we recommend that you use the Tosca MCP Server together with the skills we've created. You can get these skills from this Tricentis GitHub repository (opens in new tab).

Limitations

The Tosca MCP Server provides access to many Tosca capabilities, but some workflows aren't fully supported yet.

Keep the following limitations in mind:

  • Parallel work. You and your AI assistant can work in the same workspace, but not at the same time.

  • Tosca XScan. You can trigger the scan with the AI assistant, but must perform the scan in the Tosca XScan interface. We're working to improve this experience in future versions.

  • ScratchBook. The execute_test_suite tool triggers a trial run in the ScratchBook, but currently supports test cases only.

Effective prompt patterns

If you're new to AI prompts, check out these patterns. They'll help you structure your prompts for better results.