Connect to the Tosca Cloud MCP server

Set up a connection between your AI assistant and the Tosca Cloud Model Context Protocol (MCP) server to access Tosca Cloud functionality directly from your development environment. This enables you to use natural language commands for your test automation tasks.

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.

  • A compatible AI assistant installed (Cursor AI or Visual Studio Code).

  • If you're using Visual Studio Code, ensure your organization has the chat.mcp.enabled setting enabled.

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

Configure your AI assistant

Configure your AI assistant to connect to the Tosca Cloud MCP server. The configuration steps depend on which AI assistant you're using.

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

Once connected, you can use the below MCP actions to interact with Tosca Cloud.

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.