Getting Started

This page walks you through setting up the ReadyAPI MCP Plugin and authenticating your first connection. Complete these steps before connecting any MCP client.

Prerequisites

Confirm that you meet the following requirements before you set up the plugin.

Table 112. Prerequisites

Requirement

Details

ReadyAPI

Version 4.1.0 or later, with a valid license. ReadyAPI 4.4.0 and later include the plugin.

Operating System

Windows 10/11, macOS 12+, or Ubuntu 20.04+

Java

JVM 21 or later (bundled with ReadyAPI)

Network

Localhost access on TCP port 2015 (configurable)

MCP Client

Any MCP-compatible client - Claude Desktop, Claude Code, VS Code + Copilot, Cursor, and so on



Set up the plugin

ReadyAPI 4.4.0 and later include the ReadyAPI MCP Plugin and enable it by default. You can use it right after you install ReadyAPI. If you use an earlier version, install the plugin manually.

When the plugin is enabled, the MCP Server starts automatically when ReadyAPI launches and binds to:

  • http://127.0.0.1:2015/mcp
  • (or http://localhost:2015/mcp)

Note

The MCP Server is exclusively local. It binds to 127.0.0.1 only and is not accessible from other machines on the network. This is a deliberate security constraint and cannot be changed.

You can update the plugin without updating ReadyAPI. For more information, see Managing Integrations.

Install the plugin manually

Use these steps if you use ReadyAPI 4.3.1 or earlier, or if you uninstalled the plugin in ReadyAPI 4.4.0 or later. For an overview of the Integrations tab, see Integrations Tab.

  1. Open ReadyAPI and click Integrations.

  2. Find ReadyAPI MCP Plugin under Featured Integrations, or search for it under All Available Integrations.

  3. Click Install.

  4. In the Download Plugin dialog box, click Yes.

  5. In the Information dialog box, click OK.

    ReadyAPI downloads and activates the plugin without requiring a restart.

    ReadyAPI Integrations panel with the ReadyAPI MCP Server button highlighted in orange in the top toolbar.

Set up authentication

The ReadyAPI MCP Server uses bearer token authentication to block unauthorized access from browser-based scripts or other processes running on the same machine.

The plugin generates a cryptographically random token (UUIDv4, 122 bits of entropy) the first time it starts. It encrypts the token at rest and stores it locally within the application, not in the OS credential manager.

To retrieve your token, follow these steps:

  1. Go to Preferences, Integrations, and then ReadyAPI MCP.

  2. In the Authentication section, under BEARER TOKEN, click Copy and paste the token into your MCP client configuration. See Connect an MCP Client for client-specific instructions.

Warning

Treat the bearer token like a password. Do not commit the MCP client configuration files containing this token to version control. If a token is compromised, click Regenerate in the plugin settings. This invalidates the existing token immediately - update all connected clients with the new token.

Configure the server port (optional)

By default, the MCP Server listens on port 2015. To use a different port, follow these steps:

  1. Go to Preferences, Integrations, and then ReadyAPI MCP.

  2. In the ReadyAPI Preferences dialog, in the Configure HTTP Server section, set the TCP PORT field to your preferred value.

  3. Update the server URL in all connected MCP client configurations to match the new port.

    The ReadyAPI Preferences dialog with ReadyAPI MCP selected in the left navigation under Integrations. The right panel shows the Configure HTTP Server section with a TCP Port field set to 2015, and an Authentication section with a Bearer Token field and Co

Uninstall the plugin

To stop using the MCP Server, uninstall the plugin:

  1. Click Integrations.

  2. In Manage Installed Integrations, under AI Integrations, find ReadyAPI MCP Plugin and click the Trash icon.

  3. In the Uninstall Plugin dialog box, click Yes.

  4. In the Information dialog box, click OK, and then restart ReadyAPI.

    ReadyAPI removes the ReadyAPI MCP Server button from the toolbar.

To use the plugin again, see Install the plugin manually.

Manage agent connections

The MCP Plugin provides controls for managing active agent connections in the ReadyAPI MCP Server dialog in ReadyAPI.

To disconnect all currently connected AI agents, click Detach agents.

ReadyAPI automatically detaches agents after 10 minutes of inactivity, preventing inactive connections from remaining open indefinitely. To extend this default, go to Preferences, Integrations, and then ReadyAPI MCP. In the Inactive Connections section, use the Custom inactivity timeout toggle to enable a custom timeout and enter your preferred value in the Timeout (minutes) field. The maximum allowed time is 1440 minutes (24 hours). Once detached, an agent must reconnect before it can send further requests.

RAPI_Screenshot_Preferences_Custom_Inactivity_Timeout.png

Tutorial: Fix broken API tests with AI when APIs change

Watch this tutorial to see how to connect an AI assistant to ReadyAPI through the ReadyAPI MCP server and use plain-language prompts to generate and repair functional tests when your API changes.

The tutorial walks you through the built-in MCP Sample Project - a Car Rental Booking API sandbox with two API versions. You’ll see how to:

  • Generate a v2 test case from a v1 baseline using the AI assistant

  • Identify which assertions fail after the API changes and why

  • Heal broken assertions to match the v2 OpenAPI definition - without touching the original v1 test

It’s a safe environment to explore application integrity in practice before you connect the ReadyAPI MCP server to your own projects.

For more information, see MCP Sample Project.

See also

Publication date: