Connect to the Tosca Cloud MCP server

With the Model Context Protocol (MCP), AI assistants can access your Tosca Cloud tenant and help you with test automation tasks.

To do that, connect your AI assistant to the Tosca Cloud MCP server.

Before you start

Make sure you have the following before you connect to the Tosca Cloud MCP server:

  • Access to your Tosca Cloud tenant.

  • Node.js installed on your system.

  • An AI assistant that is compatible with MCP, such as Cursor AI, Visual Studio Code, Claude Code, or Claude Desktop.

The MCP server uses port 56874 for communication. Changing this port causes connection errors.

Connect your AI assistant

To connect to the Tosca Cloud MCP server, you need to add the appropriate JSON object to your AI assistant's configuration file. That JSON object defines the connection with the server.

Tosca Cloud offers an installer that can take care of this integration for you. To use the MCP installer follow these steps:

  1. Go to User menu > Settings > Integrations or select Integrations from the left menu.

  2. In the AI integrations section, scroll to MCP server and select Set up integration.

  3. Select the workspace you want to connect to your AI assistant, and the AI assistant you are using.

  4. Type a name for your MCP server. This is to identify it among other MCPs. You can change this name later in your AI assistant's configuration file.

  5. Expand the Options tab and select whether you want to download the Tosca Cloud skills file, along with the MCP setup. You need to select at least one component to install.

    We recommend that you use the Tosca Cloud MCP Server together with the skills we've created for best results.

  6. Select Add MCP server.This displays a new Launcher.

  7. Select Install in the Launcher window.

  8. When the Launcher finishes the installation, restart your AI assistant.

Alternatively, you can set up the connection manually. To do so, follow these steps:

  1. Copy the JSON object that fits your AI assistant from these JSON examples.

  2. Paste the JSON object at the top of your AI assistant's configuration file.

  3. Optionally, you can replace ToscaCloudMcpServer with the server name you want to use.

  4. Replace https://<your tenant name>.my.tricentis.com/default/_mcp/api/mcp with your tenant and workspace URL.

  5. Optionally, add the Tosca Cloud skills from this Tricentis GitHub repository (opens in new tab), to your AI assistant's skills folder.

  6. Restart your AI assistant.

JSON object examples

After you connect your AI assistant, sign in to Tosca Cloud and complete the authentication.

Check Your Connection Setup

Check your MCP connection here and find simple ways to fix it if it’s not working as you expected.

Available MCP actions

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

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

You can ask the AI assistant directly for a list of available tools. For example, use the following prompt: Give me a list of all available tools.

Alternatively, you can check out the following tables:

What's next

Now that you're connected to the Tosca Cloud MCP, you can check out the MCP prompting best practices to get the most out of your AI interaction.