Enable AI-powered features
To activate AI-powered features, follow these steps:- Open the Settings page within the Hoppscotch application.
- Scroll to the Experiments section.
- Toggle the AI Experiments option to enable the features.
Rename API Requests
When saving an API request to a collection, click the Modify with AI icon ( .⟡⁺ ) next to the request name field to have the system automatically assign a name based on the request’s context and properties. Alternatively, you can use this feature to rename the pre-saved requests. You can even customize the naming convention (e.g., CamelCase, PascalCase) through the Request Naming Style dropdown located in the Experiments section of the Settings page.Generate Request Body
Dynamically generate structured request payloads:- Click the Modify with AI icon ( .⟡⁺ ) in the Request Body section.
- Define constraints or provide input for the desired structure.
- Validate the generated body and select Accept Change to populate the request body field.
Generate Pre-request Scripts
Generate pre-request scripts to handle necessary setup operations before sending the request:- Click the Modify with AI icon ( .⟡⁺ ) within the Pre-request Script section.
- Enter specific logic or conditions required for the pre-request phase.
- After reviewing the generated script, click Accept Change to apply it to the pre-request script section of your API request.
Generate Test Scripts
Develop test cases for your API workflow:- Click the Modify with AI icon ( .⟡⁺ ) in the Tests section.
- Specify the test parameters or expected outcomes.
- Select Accept Change to integrate it into the test script editor for execution.
Connect an AI agent with the MCP server
The features above run inside the Hoppscotch app. To let an external AI agent work with your collections, environments, and teams, use the Hoppscotch MCP server. It exposes those resources to hosts such as Claude Desktop, Claude Code, and Codex, and can execute HTTP requests on your behalf.The MCP server is a separate, generally available product. The experimental status and the alpha notice above apply to the in-app AI features, not to it. Unlike those features, it works with both Hoppscotch Cloud and self-hosted instances.
Hoppscotch MCP Server
Install the server, connect your MCP host, and review what each tool can do.