# Changelog Source: https://docs.hoppscotch.io/documentation/changelog Latest Hoppscotch releases, including new features, bug fixes, and performance improvements across the web, desktop, and CLI clients. For a full list of releases, visit the [GitHub Releases page](https://github.com/hoppscotch/hoppscotch/releases). ## 2026.5.0 *Released: May 22 – June 2, 2026* ### New features * **OpenAPI 3.1 collection export** — You can now export [collections](/documentation/features/collections) as OpenAPI 3.1 specs, making it easier to share APIs with external tools. * **Collection-level pre-request and test scripts** — Define [pre-request and test scripts](/documentation/features/scripts) at the collection level so every request inside inherits the same setup and assertions. * **Configurable proxy URL** — Self-hosted admins can now set the proxy URL from environment variables or directly in the [admin dashboard](/documentation/self-host/enterprise-edition/admin-dashboard). * **Zoom level control on desktop** — The [desktop client](/documentation/clients/desktop/overview) now includes a zoom level setting so you can scale the UI to your preference. * **Mongolian translation** — Hoppscotch is now available in Mongolian. See the full list of [supported languages](/documentation/i18n). ### Updates * **Improved syncing engine** — The sync system has been refactored to reduce duplication across clients, improving reliability across web and desktop [workspaces](/documentation/features/workspaces). * **Desktop keyboard layout handling** — Keyboard layout detection has been reworked for more predictable [shortcut behavior](/documentation/features/shortcuts) across platforms. * **Security hardening** — Additional security patches have been applied across the dependency chain in this release. ### Bug fixes * **Published docs access control** — Public documentation links now revalidate the publisher's access before serving live data from team [collections](/documentation/features/collections), preventing data exposure when a member is removed after publishing. * **Secret variables stay local** — Values of secret [environment variables](/documentation/features/environments) no longer leak to the backend during sync. * **OpenAPI re-import preserves structure** — Re-importing an OpenAPI spec now keeps your existing folder tree intact. See [importing collections](/documentation/features/importer). * **Proxy settings load before requests** — Requests now wait for proxy settings to be ready before firing, avoiding misrouted calls on first load. * **Script imports preserved** — Pre-request and test [scripts](/documentation/features/scripts) now retain their imports correctly, including on WebKit-based browsers. * **Desktop fixes** — Resolved type mismatches and shell import issues in the desktop app for a smoother startup. * **Backend validation fixes** — Corrected validation on REST user request updates and class validator decorator usages. ## 2026.3.0 & 2026.3.1 *Released: March 27 – April 10, 2026* ### New features * **Cloud for organizations on desktop** — The desktop app now supports cloud-connected organizations, so you can access your org workspaces directly from the [desktop client](/documentation/clients/desktop/overview). * **User workspace memberships in admin dashboard** — Admins can now view which workspaces a user belongs to from the [admin dashboard](/documentation/self-host/enterprise-edition/admin-dashboard), making it easier to manage team access. * **Optional SMTP authentication and TLS settings** — Self-hosted deployments can now configure `MAILER_SMTP_IGNORE_TLS` and run SMTP without authentication, giving you more flexibility when setting up [email for your instance](/documentation/self-host/enterprise-edition/prerequisites). ### Updates * **Keyboard shortcuts on non-English layouts** — Shortcuts now work correctly regardless of your keyboard layout, including numpad support for tab switching. See [keyboard shortcuts](/documentation/features/shortcuts) for the full list. * **Clipboard shortcuts on Linux (desktop)** — The desktop app on Linux now includes a native Edit menu, restoring copy, paste, and other clipboard shortcuts. * **OAuth2 code challenge method** — Your PKCE code challenge method selection now persists correctly when using [OAuth2 authorization](/documentation/features/authorization). * **OpenAPI import improvements** — Importing OpenAPI specs now uses the operation title as a fallback name, and response examples are populated correctly. Learn more about [importing collections](/documentation/features/importer). ### Bug fixes * Newly created folders now appear immediately in the save-as dialog when organizing [collections](/documentation/features/collections). * Fixed an issue where request history entries could lose fields when restored. * Team collections now load the full folder tree when importing a workspace. * File attachments are now handled correctly when generating HAR exports. * Tooltips on icon-only buttons inside popovers are restored. * Fixed an infinite retry loop that could occur when authentication tokens expired permanently. * Resolved several security hardening fixes across the platform. ## 2026.2.0 & 2026.2.1 *Released: February 23 – March 4, 2026* ### New features * **API documentation versioning** — You can now publish multiple versions of your [API documentation](/documentation/features/documentation), letting consumers reference the exact version they need. * **Organization switcher** — A new dropdown-based switcher makes it easy to move between organizations from anywhere in the app. See [workspaces](/documentation/features/workspaces). * **URL encode/decode context menu** — Right-click any URL or parameter value to quickly encode or decode it, right from the context menu. * **Search and pagination in admin teams list** — Self-hosted admins can now search and paginate the teams list in the [admin dashboard](/documentation/self-host/enterprise-edition/admin-dashboard). ### Updates * **Legacy interceptor system deprecated** — The legacy interceptor has been deprecated in favor of the current [interceptor](/documentation/features/interceptor). If you're still using it, now is a good time to switch. * **Improved responsive layout for realtime pages** — [Realtime API testing](/documentation/features/realtime-api-testing) pages now handle smaller screens and overflow content more gracefully. ### Bug fixes * Secret environment variables are now correctly resolved in basic auth headers. * [Mock servers](/documentation/features/mock) now load reliably on initialization and workspace changes. * Fixed a scrollbar appearing in the URL input on Firefox. * Modal dialogs now display at the correct width on more screen sizes. * Opening a request from search results no longer causes a TypeError. * Variable tooltips with long values no longer overflow the viewport. * Fixed a corrupted sandbox state that could cause the app to hang. * CLI scripts with module prefixes now execute correctly. * Resolved a database connection leak in self-hosted infrastructure config operations. * Auth cookie expiration now uses the correct duration format. ## 2026.1.0 & 2026.1.1 *Released: January 20 – February 5, 2026* ### New features * **jq for JSON response filtering** — Response filtering now uses jq instead of JSONPath, giving you a more expressive way to query JSON responses. Learn more about [response handling](/documentation/getting-started/rest/response-handling). * **Web Crypto API in scripting sandbox** — [Scripts](/documentation/features/scripts) now have access to the Web Crypto API, enabling cryptographic operations like hashing and signing directly in your pre-request and test scripts. * **User roles in member stack tooltips** — Hovering over team member avatars now shows their role, making it easier to identify who has what access in your [workspace](/documentation/features/workspaces). * **Full request path in tab tooltips** — Tab tooltips now display the complete request path, so you can distinguish between similarly named requests. ### Bug fixes * Fixed a performance issue that could cause the app to hang when highlighting very large responses. * Prevented duplicate request IDs when duplicating requests. * Resolved memory leaks in the experimental scripting sandbox. * Fixed broken scrolling on the latest Chrome versions. * The support menu no longer triggers accidentally inside code editors. # Hoppscotch CLI Source: https://docs.hoppscotch.io/documentation/clients/cli/overview Use the Hoppscotch CLI to run API tests, automate monitoring, and manage collections from your terminal. Includes install steps and commands. Hoppscotch gives you multiple ways to interact with and configure your APIs. With the command-line interface (CLI) you can interact with the Hoppscotch platform using a terminal, or through an automated system. This enables you to run API tests, manage automated API monitoring, and more. This section contains a complete list of all Hoppscotch CLI commands available, alongside their optional parameters for additional behavior. You can also find a complete list of configuration options to configure your APIs through Hoppscotch. > [!NOTE] > > Hoppscotch CLI is currently in alpha stage. Report a bug by [opening a new issue](https://github.com/hoppscotch/hoppscotch/issues/new/choose). ## Pre-requisites Before installing the Hoppscotch CLI, ensure your system meets the following requirements. > **Windows & macOS** > > You will need `node-gyp` installed. Thus, follow the instructions from [node-gyp](https://github.com/nodejs/node-gyp). > **Debian / Ubuntu derivatives** > > Execute the following command: > > ``` > sudo apt-get install python g++ build-essential > ``` > **Alpine Linux** > > Execute the following command: > > ``` > sudo apk add python3 make g++ > ``` > **Amazon Linux (AMI)** > > Execute the following command: > > ``` > sudo yum install gcc72 gcc72-c++ > ``` > **Arch Linux** > > Execute the following command: > > ``` > sudo pacman -S make gcc python > ``` > **RHEL / Fedora derivatives** > > Execute the following command: > > ``` > sudo dnf install python3 make gcc gcc-c++ zlib-devel brotli-devel openssl-devel libuv-devel > ``` ## Installing Hoppscotch CLI Once the dependencies are installed, install @hoppscotch/cli from npm by running: ```bash theme={null} npm i -g @hoppscotch/cli ``` > [!WARNING] > > The **minimum supported Node.js version** for the CLI is now **v22**. If you're on Node.js v20 (EOL in April, 2026), you can continue using CLI `v0.26.0` alongside `v2025.10.1` of the Hoppscotch app. Future CLI versions will require Node.js v22 or higher. ## Commands ### `hopp test` The `hopp test` command allows you to run tests against a Hoppscotch collection file. * The hopp test command recursively goes through each request in the collection and runs them, validating the responses with the test script provided in each request. Hence, the order of execution is the same as the order specified in the collection structure. * If upon executing the command, a failed assertion (a failing test case) has occurred, the command will give a non-zero exit code and 0 exit code if all tests have passed. * Unless there was a network error (for example, DNS resolution errors or network Connectivity Issues), the test script will be running and it is up to the test script to define what happens to error status codes. Non-200 status codes are still considered valid responses for test script execution. ```bash theme={null} hopp test [-e ] [-d ] ``` ### Running Collections present on the API client The `hopp test` command can also be used to run collections present in your API client on Hoppscotch cloud or self-hosted platforms. Do note that you need to create a personal access token for your CLI to connect to your API client, and you can not run collections present in your personal workspace. ```bash theme={null} hopp test [-e ] [-d ] [--token ] [--server ] ``` > [!TIP] > > You can directly copy the command with the auto-populated **Collection ID** and **Environment ID** by navigating to the **“CLI"** tab within the **“Run Collection”** action found in the context menu. ### Generate JUnit Report for Collection Runs The `hopp test` command now has the ability to generate a JUnit Report for collection runs in the CLI. The report is generated as an XML file at the specified path provided in the command. If no path is specified, the report will be saved in the working directory with the default name `hopp-junit-report.xml`. ```bash theme={null} hopp test --env --reporter-junit [path] ``` #### JUnit Report Format Overview The JUnit report generated for collection runs provides a structured summary of the test results. The table below provides a detailed breakdown of the JUnit report format, explaining the significance of each XML element: | Element | Description | | - | - | | `` | Root element representing the entire set of test suites. | | `` | Represents a collection of test cases for a specific request. | | `` | Represents an individual test case. It corresponds to `pw.expect()` assertions with the description prefixed by that of the test suite `pw.test()`. It appears as a direct child of ``. | | `name` | Attribute for `` and `` elements. For ``, it indicates the hierarchy of collections up to the request. Organized at the request level using the naming convention: `//`. While, for ``, it'll be the description. | | `classname` | Attribute of `` that mirrors the `name` attribute of the parent ``. | | `` | Indicates an assertion failure within a ``. Includes `type` and `message` attributes describing the failure. | | `` | Indicates an error during assertion within a ``. Includes `message` attribute describing the error. | | `` | Represents errors reported at the request level (e.g., invalid URL, reference error in the test script). These errors are detailed within a `CDATA` section, with each error separated by newlines to ensure each issue is clearly identified. | | `time` | Attribute of `` that shows the execution time for the test cases (excluding request execution time). The total time is at the root ``. | | `timestamp` | Attribute of `` that records the execution date and time in ISO string format. | | `tests`, `failures`, `errors` | Attributes of `` and `` that track the number of test cases, failed cases, and errors, at the request level and effective count at the root level test suite respectively. Set to `0` at a request level test suite, if errors halt further execution. | ### Arguments * `hoppscotch collection id` : Each collection created in a Hoppscotch workspace is given a unique identifier known as the Collection ID. Collection IDs for each collection can be found under **“Details”** tab inside Collection **“Properties”**. * `environment id` : Similar to Collection IDs, each environment created in a Hoppscotch workspace is assigned a unique identifier known as the Environment ID. * `delay_in_ms` : Represents a time interval (in milliseconds) to pause execution of API requests before within a collection. * `access token` : It is a secure, unique identifier used to authenticate a user's access to their Hoppscotch account and its resources like collections, environments data. [Learn more about personal access tokens](/documentation/features/pat) * `server url` : This is optional and is the URL of your self-hosted instance when you're self-hosting your API client * `path` : Accounts for a file path where the JUnit report will be saved as an XML file in your file system. * `no_of_iterations`: Indicates the number of iterations to run the collection. Each iteration will run the entire collection once, replacing any iteration-specific data defined by the `--iteration-data` flag (if provided). ```bash theme={null} hopp test [--iteration-count ] [--iteration-data ] ``` * `file_path`: The path to the CSV file for iteration data. This file should follow the format: ``` key1,key2,key3 value1,value2,value3 value4,value5,value6 ``` Each row in the CSV corresponds to an iteration, and the values from that row will replace the respective environment variables during the iteration. For example: * **Iteration 1:** The values value1, value2, and value3 will be used. * **Iteration 2:** The values value4, value5, and value6 will be used. ### Example ```bash theme={null} hopp test kitchen-sink-hoppscotch-collection.json hopp test -e environment.json kitchen-sink-hoppscotch-collection.json hopp test -e environment.json -d 1000 kitchen-sink-hoppscotch-collection.json hopp test clxsntdgh0000lcx9fnits2h8 --token hopp test -e clxspay2r0006lcx99aqgjbay -d 1000 clxsntdgh0000lcx9fnits2h8 --token --server http://localhost:3170 hopp test -e environment.json kitchen-sink-hoppscotch-collection.json --reporter-junit kitchen-sink-junit.xml hopp test kitchen-sink-hoppscotch-collection.json --iteration-count 3 --iteration-data /path/to/iteration-data.csv ``` ## Environment Hoppscotch allows templates in several places. For example, you could specify your endpoint URL as `<>/post` and specify baseurl as [`https://echo.hoppscotch.io`](https://echo.hoppscotch.io) in an environment file. Hoppscotch CLI supports environment files in two specific formats: ### 1. Single Environment Entry Export Format This format is generated by Hoppscotch App when you export any of your environment. It includes a named environment (name) with key-value pairs, allowing you to define various variables within a single file. ```json theme={null} { "name": "my_env", "variables": [ { "key": "base_url", "value": "https://echo.hoppscotch.io" }, { "key": "auth_token", "value": "xxxxxxxxxxxx" } ] } ``` ### 2. Legacy Export Format Hoppscotch CLI continues to support the legacy format which was previously the only accepted format used by CLI. ```json theme={null} { "key1": "value1", "key2": "value2", "key3": "value3" } ``` ### 3. Environment ID To use an environment on your API client using its ID, click on the `Properties` action present in the **menu icon** next to each environment. Within the Details section, you'll find the **Environment ID**. Copy this ID and use it in the Hoppscotch CLI for execution. > [!NOTE] > > Please note that the Hoppscotch CLI exclusively supports the above three formats for importing environment variables. It **does not** offer compatibility with **Bulk Environment** exports or **any other export** format. ## Secrets If requests in a collection consists of secret variables we recommend either of the two approaches. 1. Inject the secret values as variables into the OS environment 2. Edit the environment export file and add the secret values manually ## Options | Option | Description | | - | - | | `-h` | Gives a list of associated commands and their descriptions | | `-v` | Displays the current version of the CLI | | `--env or -e` | Accepts environments in all the formats present in [Environment section](/documentation/clients/cli#environment). | | `--delay` or `-d` | Used to defer the execution of requests in a collection. | | `--token` | Expects a personal access token to be passed for establishing connection with your Hoppscotch account. | | `--server` | URL of your self-hosted instance, if your collections are on a self-hosted instance. | | `--reporter-junit` | Expects a file path to store the JUnit Report. | | `--iteration-count` | Defines the number of iterations to run the collection. | | `--iteration-data` | Accepts the path to a CSV file that contains iteration data. | | `--legacy-sandbox` | Opt-out from the latest experimental scripting sandbox. | ## Test Report Components Upon executing the commands, a comprehensive test report is generated, offering detailed insights into the performance of each request. Below, you'll find a breakdown of the components outlined in the test summary for the exported API Collection: > **Test Cases** > > Each instance of `pw.expect()` within the testScript of a request is considered a test case. > **Test Suites** > > Each invocation of `pw.test()` within the testScript of a request is regarded as a test suite. > **Test Scripts** > > The total number of `testScript` fields across all requests in the provided collection export file, representing the overall number of test scripts executed. > **Test Duration** > > The total time taken to execute all test cases within the collection. > **Requests** > > The total number of requests executed within the collection. > **Requests Duration** > > The cumulative time taken to execute all requests within the collection. > **Pre-request Scripts** > > The scripts executed prior to each request. The count matches the number of requests in the provided collection export file. # Hoppscotch CLI Troubleshooting Source: https://docs.hoppscotch.io/documentation/clients/cli/troubleshooting Resolve Hoppscotch CLI errors with this reference of error codes, messages, and causes related to tokens, workspace access, and collections. Below is a set of error codes and the corresponding messages that will be displayed in the CLI under various scenarios associated with workspace access. Understanding the reasons behind these errors will help you troubleshoot them on your end. ## `TOKEN_EXPIRED` > **The specified access token is expired. Please provide a valid token.** **Reason:** The supplied access token via the `--token` flag has been expired. ```bash theme={null} hopp test [-e ] [--token ] [--server ] ``` ## `TOKEN_INVALID` > **The specified access token is invalid. Please provide a valid token.** **Reason:** The specified access token via the `--token` flag is invalid or might have been deleted. ```bash theme={null} hopp test [-e ] [--token ] [--server ] ``` ## `INVALID_ID` > **The specified collection/environment (ID or file path) is invalid or inaccessible. Please ensure the supplied ID or file path is correct.** ### Case I **Reason:** Either an invalid ID is supplied or the resource is inaccessible to the user because the user isn't part of the team to which the resource belongs. ```bash theme={null} hopp test [-e ] [--token ] [--server ] ``` ### Case II **Reason:** Supplied file path of the collection or environment doesn't exist. ```bash theme={null} hopp test [-e ] ``` ## `INVALID_SERVER_URL` > **Please provide a valid SH instance server URL.** **Reason:** There are multiple cases in which this error can occur: * If the supplied server URL doesn't have a valid path under `/v1/access-tokens/{collection/environment}/{path/id}`, resulting in a `404` network call error. * If the received content type from the response is not `application/json`, safeguarding against cases where the network call doesn't fail, such as when the route is invalid as above, and checking against the content type (e.g., supplying the FE instance URL). * The supplied server URL doesn't conform to URL semantics (received `ERR_INVALID_URL` as the error code from the network call). For instance, missing a protocol (e.g., `http://` or `https://`), having an invalid structure, or containing illegal characters. * Couldn't find the server because the domain name couldn't be resolved (received `ENOTFOUND` as the error code from the network call). For instance, a typo in the domain name. ```bash theme={null} hopp test [-e ] [--token ] [--server ] ``` ## `SERVER_CONNECTION_REFUSED` > **Unable to connect to the server. Please check your network connection or server instance URL and try again.** **Reason:** Found the server, but the server refused to connect (received `ECONNREFUSED` as the error code from the network call). ```bash theme={null} hopp test [-e ] [--token ] [--server ] ``` # Hoppscotch Desktop App Source: https://docs.hoppscotch.io/documentation/clients/desktop/overview Download and install the Hoppscotch Desktop App for macOS, Windows, and Linux. Build and test APIs natively with a cross-platform client. Hoppscotch Desktop App is a cross-platform desktop application that helps you create and manage API requests. It is built on top of the [Hoppscotch Web Client](/documentation/clients/web/overview) and is powered by [Tauri](https://tauri.app). ![](https://mintcdn.com/hoppscotch/WCaaGbVhL02n1fVh/images/hoppscotch-light.png?fit=max\&auto=format\&n=WCaaGbVhL02n1fVh\&q=85\&s=c4d7d5571a6a500ddaa3194486100a3c) ## Download Hoppscotch Desktop App Download the latest version of Hoppscotch Desktop App for your operating system: > **Mac** > > > **[Apple Silicon (.dmg)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_mac_aarch64.dmg)** > > > > Download for Apple Silicon-based Mac. > > > **[Intel (.dmg)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_mac_x64.dmg)** > > > > Download for Intel-based Mac. > **Windows** > > > **[Windows Installer (.msi)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_win_x64.msi)** > > > > Download the installer for Windows (64-bit). > > > **[Windows Portable (.exe)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_Cloud_win_x64_portable.zip)** > > > > Download the portable version for Windows (64-bit). > **Linux** > > > **[Debian (.deb)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_linux_x64.deb)** > > > > Download the Debian package for Debian-based Linux distributions. > > > **[App Image (.AppImage)](https://github.com/hoppscotch/releases/releases/latest/download/Hoppscotch_linux_x64.AppImage)** > > > > Download the AppImage for Linux. ## Version numbering > [!NOTE] > > Desktop version numbers use a shortened form where the major is the last two digits of the release year, so `26.6.0` is the desktop build of the `2026.6.0` release. A Windows MSI major version cannot exceed 255, so the full `2026` will not fit. The app info screen and the backup folder names show the `26.x.x` form, while the [releases page](https://github.com/hoppscotch/releases/releases) lists them as `2026.x.x`. ## Install Hoppscotch Desktop App 1. Download the latest version of Hoppscotch Desktop App from the links above or from [official website](https://hoppscotch.com/download). 2. Open the downloaded file. 3. Follow the on-screen instructions to install Hoppscotch Desktop App. 4. Open Hoppscotch Desktop App. 5. If you see a warning message, click "**Open**". # Connect to Hoppscotch Source: https://docs.hoppscotch.io/documentation/clients/desktop/setup Connect the Hoppscotch Desktop App to Hoppscotch Cloud, organization instances, or self-hosted editions. Includes setup steps for each platform. ## Hoppscotch Cloud Edition for Individuals Seamlessly access Hoppscotch Cloud Edition from Hoppscotch Desktop App: 1. Open Hoppscotch Desktop App. 2. Click the Hoppscotch logo in the top-left corner. 3. Click "**HOPPSCOTCH CLOUD**". 4. Sign in with your Hoppscotch Cloud account to access your workspaces and collections. ## Hoppscotch Cloud Edition for Organizations Add your Hoppscotch Organization instance to Hoppscotch Desktop App: 1. Open Hoppscotch Desktop App. 2. Click the Hoppscotch logo in the top-left corner. 3. Click "**Add instance**". 4. Provide your instance URL. 5. Sign in with your organization's Hoppscotch Cloud account to access your workspaces and collections. ## Hoppscotch Self-Hosted Edition for Community > [!WARNING] > > To enable desktop app support for your self-hosted Hoppscotch instance, make sure to update the `WHITELISTED_ORIGINS` environment variable in your `.env` file with your deployment URL. > [!NOTE] > > e.g. to allow connection to `https://hoppscotch.my-domain.com` you need to add `app://hoppscotch_my_domain_com` and `http://app.hoppscotch_my_domain_com` to the `WHITELISTED_ORIGINS` environment variable. > > ```bash theme={null} > WHITELISTED_ORIGINS=...existing_origins,app://hoppscotch_my_domain_com,http://app.hoppscotch_my_domain_com > ``` > > > [!TIP] > > > > *app\://hoppscotch\_my\_domain\_com*   for Linux and macOS machines. > > > [!TIP] > > > > *http\://app.hoppscotch\_my\_domain\_com*   for Windows machine. Add your self-hosted Hoppscotch Community Edition instance to Hoppscotch Desktop App: 1. Open Hoppscotch Desktop App. 2. Click the Hoppscotch logo in the top-left corner. 3. Click "**Add an instance**". 4. Enter the URL of your self-hosted Hoppscotch instance. 5. Click "**Connect**". > [!TIP] > > You can also self-host Hoppscotch Desktop App. Follow the instructions in the [Hoppscotch GitHub repository](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-desktop). ## Hoppscotch Self-Hosted Edition for Enterprise > [!WARNING] > > To enable desktop app support for your self-hosted Hoppscotch instance, make sure to update the `WHITELISTED_ORIGINS` environment variable in your `.env` file with your deployment URL. > [!NOTE] > > e.g. to allow connection to `https://hoppscotch.my-domain.com` you need to add `app://hoppscotch_my_domain_com` and `http://app.hoppscotch_my_domain_com` to the `WHITELISTED_ORIGINS` environment variable. > > ```bash theme={null} > WHITELISTED_ORIGINS=...existing_origins,app://hoppscotch_my_domain_com,http://app.hoppscotch_my_domain_com > ``` > > > [!TIP] > > > > *app\://hoppscotch\_my\_domain\_com*   for Linux and macOS machines. > > > [!TIP] > > > > *http\://app.hoppscotch\_my\_domain\_com*   for Windows machine. Add your self-hosted Hoppscotch Enterprise Edition instance to Hoppscotch Desktop App: 1. Open Hoppscotch Desktop App. 2. Click the Hoppscotch logo in the top-left corner. 3. Click "**Add an instance**". 4. Enter the URL of your self-hosted Hoppscotch instance. 5. Click "**Connect**". > [!TIP] > > You can also self-host Hoppscotch Desktop App. Follow the instructions in the [Hoppscotch GitHub repository](https://github.com/hoppscotch/hoppscotch/tree/main/packages/hoppscotch-desktop). # Hoppscotch MCP Server Source: https://docs.hoppscotch.io/documentation/clients/mcp-server/overview Connect AI agents to Hoppscotch with the MCP server. Includes install steps, host setup for Claude and Codex, authentication, and configuration. The Model Context Protocol (MCP) is an open standard that lets an AI assistant call external tools through a running server. Whatever application you run the assistant in, such as Claude Desktop, is the **host**. Hoppscotch ships an MCP server of its own. It hands the host your collections, requests, environments, and teams, so an agent can read and change them for you. It also sends real HTTP requests: ask it to test an endpoint and it runs the request, brings the response back into the conversation, and can check the result against criteria you describe. Everything happens over stdio, so the host launches the server as a local process and talks to it over standard input and output. For the AI features built into the Hoppscotch app itself, see [AI features](/documentation/features/ai-features). ## Pre-requisites * **Node.js v22 or higher** * An MCP host, such as Claude Desktop, Claude Code, or Codex * A Hoppscotch account on [Cloud](https://hoppscotch.io) or a self-hosted instance ## Installing the MCP server You usually do not install anything. The registration in [Connecting your MCP host](#connecting-your-mcp-host) goes through `npx`, which fetches and runs the current version on demand, and your host starts it for you. If you would rather have it on disk, install it globally. That also gives you the `hoppscotch-mcp` binary: ```bash theme={null} npm install -g @hoppscotch/mcp-server ``` Building from source works too: ```bash theme={null} git clone https://github.com/hoppscotch/hoppscotch-mcp-server.git cd hoppscotch-mcp-server pnpm install pnpm run build ``` > [!NOTE] > > Released builds carry the Firebase Web API key that Cloud sign-in needs. A build from source does not. To use Cloud from a source build, set `HOPPSCOTCH_FIREBASE_API_KEY` at build time or in your host's `env` block, where the runtime value takes precedence. Self-hosted instances do not use Firebase and need nothing extra. ## Connecting your MCP host Register the server with your host. The command and arguments are the same everywhere. Only the registration syntax changes. **Claude Code** Register it for every project on your machine: ```bash theme={null} claude mcp add -s user hoppscotch -- npx -y @hoppscotch/mcp-server ``` Drop `-s user` to register it for the current project only. Claude Code also reads a project-scoped `.mcp.json` using the same `mcpServers` shape shown in the Claude Desktop tab. **Codex** Register it from your terminal: ```bash theme={null} codex mcp add hoppscotch -- npx -y @hoppscotch/mcp-server ``` **Claude Desktop** Edit `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS, or `%APPDATA%\Claude\claude_desktop_config.json` on Windows: ```json theme={null} { "mcpServers": { "hoppscotch": { "command": "npx", "args": ["-y", "@hoppscotch/mcp-server"] } } } ``` **Other hosts** Any host that can run a stdio MCP server works. Register it with whatever syntax your host uses, supplying: | Field | Value | | - | - | | Command | `npx` | | Arguments | `-y`, `@hoppscotch/mcp-server` | Configuration file locations and formats vary between hosts, so check your host's own documentation for where to put this. > [!NOTE] > > Claude Code and Codex register the server through their own CLI, so you never need to know where they keep their configuration. Claude Desktop has no such command, which is why its file path is given above. For any other host, check its own documentation. ### Pointing at a self-hosted instance Set `HOPPSCOTCH_SERVER_URL` when you register the server. Every variable in [Configuration](#configuration) is set the same way. **Claude Code** ```bash theme={null} claude mcp add -s user hoppscotch \ -e HOPPSCOTCH_SERVER_URL=https://your-hoppscotch.example.com \ -- npx -y @hoppscotch/mcp-server ``` **Codex** ```bash theme={null} codex mcp add hoppscotch \ --env HOPPSCOTCH_SERVER_URL=https://your-hoppscotch.example.com \ -- npx -y @hoppscotch/mcp-server ``` **Config file** ```json theme={null} { "mcpServers": { "hoppscotch": { "command": "npx", "args": ["-y", "@hoppscotch/mcp-server"], "env": { "HOPPSCOTCH_SERVER_URL": "https://your-hoppscotch.example.com" } } } } ``` > [!NOTE] > > Claude Code takes environment variables with `-e`, Codex with `--env`. Both expect them before the `--` that separates the registration from the command to run. ### Confirming it is connected Restart the host after registering. Most hosts read MCP configuration only at startup. In Claude Code and Codex, run the `/mcp` command. It should list `hoppscotch` as **Enabled**. Then try a prompt such as "list all collections in my Hoppscotch workspace", which triggers the sign-in described below. If the server does not appear at all, see [Troubleshooting](/documentation/clients/mcp-server/troubleshooting#the-server-does-not-appear-in-your-host). ## Authentication The first tool call that reaches your Hoppscotch account signs you in. The server uses `HOPPSCOTCH_ACCESS_TOKEN` if you set one, then a cached session, and opens your browser only when neither is available. Tools that never touch your account, such as `generate_code`, `generate_documentation`, and `execute_request` with no `environmentId`, do not sign you in at all. **1. A local callback server starts** A temporary HTTP listener comes up on a random port, bound to loopback, so it accepts connections from your own machine and nowhere else. **2. Your browser opens the device-login page** You land on `/device-login`, carrying a redirect back to that local port and a random single-use value that ties the answer to this request. **3. You sign in** Once you do, the page hands your tokens to the local callback. **4. The session is cached** Those tokens land in `~/.config/hoppscotch-mcp/auth.json` and get reused, so later calls skip the browser entirely. From then on, refreshes happen on their own before anything expires: through the backend on self-hosted, and through a stored Firebase refresh token on Cloud, where sessions run about an hour. Browser login starts again when there is no usable cached session: no stored token, a stored token issued for a different `HOPPSCOTCH_SERVER_URL`, or an expired token that has no refresh credential or whose refresh fails. A cached token belonging to a **different** account is refused rather than replaced, with an error telling you to run `reauth` to switch identities. > [!WARNING] > > Automatic refresh applies only to the browser-login session cached in `auth.json`. A token you supply through `HOPPSCOTCH_ACCESS_TOKEN` is used exactly as given and is **never refreshed**. It keeps whatever expiry it was issued with, about an hour for a Cloud token and about a day for a self-hosted one, and stops working once that passes. Plan to rotate it. You get five minutes to finish signing in. That is how long the local callback stays open. `HOPPSCOTCH_AUTH_TIMEOUT_MS` is a different clock: it decides how long one tool call waits before handing you the login URL and asking you to try again. Pushing it past `300000` buys you nothing, since the callback shuts first. > [!WARNING] > > On macOS and Linux, `auth.json` is written with owner-only permissions (`0600`). **On Windows these permissions are not enforced.** Treat the file as a live credential and keep it somewhere only you can read. One identity per operating-system user, shared by every MCP host process you run and kept across restarts. There is no way to pick an identity per call. Should the token on disk change to a different account mid-session, the server stops rather than quietly acting as someone else, and `reauth` is how you switch or refresh. ### Running without a browser CI runners and SSH sessions have no browser, so device login has nothing to open. Rather than hang, the server spots them and fails straight away with guidance. Detection keys on `CI` being set to any non-empty value (`false` and `0` included), on `SSH_CONNECTION` or `SSH_TTY`, or, on Linux, on the absence of both `DISPLAY` and `WAYLAND_DISPLAY`. That last rule catches Linux containers as well. Only a non-Linux environment showing none of those signals slips through, and there the call waits out `HOPPSCOTCH_AUTH_TIMEOUT_MS` on a browser that never opens. `HOPPSCOTCH_FORCE_BROWSER_LOGIN=true` overrides the heuristic in the other direction. Work around it in three steps: 1. Complete a device login once on a machine that does have a browser. 2. Copy the `accessToken` value out of `~/.config/hoppscotch-mcp/auth.json`. 3. Set `HOPPSCOTCH_ACCESS_TOKEN` to it in the headless environment. Treat what you copied as short-lived. Nothing refreshes it, and it carries whatever expiry it was issued with, roughly an hour on Cloud and a day on self-hosted, so plan the rotation. > [!NOTE] > > `HOPPSCOTCH_ACCESS_TOKEN` must be a Hoppscotch **JWT**, the token type issued by device login. A Hoppscotch personal access token (`pat-...`) works only against REST endpoints, not the GraphQL API this server uses, so it **will not work here.** If a browser is available but detection gets it wrong, set `HOPPSCOTCH_FORCE_BROWSER_LOGIN=true`. ## Configuration The server reads twelve `HOPPSCOTCH_` configuration variables, and most setups need none of them. Cloud is the default, and browser login handles authentication. The login step separately inspects `CI`, `SSH_CONNECTION`, `SSH_TTY`, `DISPLAY`, and `WAYLAND_DISPLAY` to decide whether a browser can be opened. You do not set these yourself, but their presence changes behavior. See [Running without a browser](#running-without-a-browser). ### Commonly set | Variable | Default | Purpose | | - | - | - | | `HOPPSCOTCH_SERVER_URL` | `https://hoppscotch.io` | Frontend URL of your instance. Omit for Cloud. The API URL and the Cloud or self-hosted mode are both derived from it. | | `HOPPSCOTCH_TOOL_PROFILE` | `core` | Which tools are exposed. One of `minimal`, `core`, `standard`, or `full`. See [Tool profiles](#tool-profiles). | | `HOPPSCOTCH_DEFAULT_TEAM_ID` | none | Team ID used by team-scoped tools when the call omits one. | ### Headless and non-interactive use | Variable | Default | Purpose | | - | - | - | | `HOPPSCOTCH_ACCESS_TOKEN` | none | A Hoppscotch JWT that skips browser login. A `pat-...` token does not work. | | `HOPPSCOTCH_FORCE_BROWSER_LOGIN` | `false` | Set `true` to attempt browser login even when a headless environment is detected. | | `HOPPSCOTCH_AUTH_TIMEOUT_MS` | `60000` | How long one tool call waits for sign-in before returning the login URL and retry guidance. The local callback stays open for up to five minutes, a fixed window with no override, so values above `300000` have no effect. | ### Request execution | Variable | Default | Purpose | | - | - | - | | `HOPPSCOTCH_TIMEOUT` | `30000` | Default request timeout in milliseconds. A call can override it with its own `timeout` between 1,000 and 120,000. This variable itself is only checked for being positive, so set it deliberately. | | `HOPPSCOTCH_MAX_RESPONSE_BYTES` | `5000000` | Cap on the response body the server buffers. Larger responses are truncated and flagged. | | `HOPPSCOTCH_ALLOW_PRIVATE_HOSTS` | `false` | Set `true` to let `execute_request` and `validate_response` reach addresses on your own machine or private network. Only on trusted input. See [Security](#security). | ### Hardening Both are off by default. | Variable | Default | Purpose | | - | - | - | | `HOPPSCOTCH_SECRET_ALLOWED_ORIGINS` | none | Comma-separated origins allowed to receive secret environment values through `{{variable}}` substitution. **Unset means no restriction**, so secrets substitute freely. Set it to opt in, after which a secret referenced in a request to any other origin is refused. An origin is scheme, host, and port with no path, for example `https://api.example.com,https://staging.example.com:8443`. An entry that is not an absolute URL is discarded without warning, so `api.example.com` contributes nothing and can leave the list empty. | | `HOPPSCOTCH_STRICT_ENV` | `false` | Set `true` to ignore trust-sensitive variables that a working-directory `.env` file introduces. See [Hardening a .env setup](#hardening-a-env-setup). | ### Building from source | Variable | Default | Purpose | | - | - | - | | `HOPPSCOTCH_FIREBASE_API_KEY` | baked in at build | Firebase Web API key used for Cloud sign-in. Released builds bake it in, so you normally never set this. Set it when building from source and using Cloud. Not used by self-hosted instances. | ### Hardening a .env setup By default the server honors a `.env` file in its working directory for every variable above except `HOPPSCOTCH_STRICT_ENV` itself, which is read from the real environment before the `.env` loads so that a `.env` cannot switch it off. If your host opens repositories you do not control, a `.env` committed to one of them could repoint the backend, widen the tool surface, or allowlist an origin that may receive your secrets. Set `HOPPSCOTCH_STRICT_ENV=true` in your host's `env` block to close that off. Eleven trust-sensitive variables are then ignored when a `.env` introduces them, and must come from the real process environment instead: | Group | Variables | | - | - | | Auth target and credential | `HOPPSCOTCH_SERVER_URL`, `HOPPSCOTCH_ACCESS_TOKEN`, `HOPPSCOTCH_FIREBASE_API_KEY` | | Security toggles | `HOPPSCOTCH_ALLOW_PRIVATE_HOSTS`, `HOPPSCOTCH_SECRET_ALLOWED_ORIGINS`, `HOPPSCOTCH_TOOL_PROFILE` | | Login behavior | `HOPPSCOTCH_AUTH_TIMEOUT_MS`, `HOPPSCOTCH_FORCE_BROWSER_LOGIN` | | Write target and limits | `HOPPSCOTCH_DEFAULT_TEAM_ID`, `HOPPSCOTCH_MAX_RESPONSE_BYTES`, `HOPPSCOTCH_TIMEOUT` | A value you set in the real environment is preserved. Only a value the `.env` introduces is stripped. `HOPPSCOTCH_STRICT_ENV` itself is the switch and is not in the list. > [!NOTE] > > Strict mode protects these eleven variables. It does not sanitize the rest of the environment. A `.env` can still set unrelated variables that the server reads, such as `CI`, which makes the login step treat the machine as headless and refuse to open a browser. ## Tool profiles There are 53 tools in total, and `HOPPSCOTCH_TOOL_PROFILE` decides how many of them your host ever sees. Whatever the profile leaves out is invisible to discovery and refused at call time, so an agent cannot reach a tool by naming it directly. Below, CRUD is shorthand for the four basic operations on a resource: create, read, update, and delete. | Profile | Tools | Contents | | - | - | - | | `minimal` | 22 | Collection and environment CRUD for personal and team workspaces, personal collection import, team and personal collection export, plus `reauth`. | | `core` (default) | 39 | Everything in `minimal`, plus request CRUD, request execution, code generation, and read-only team discovery. | | `standard` | 38 | Everything in `minimal`, plus team administration, advanced collection operations such as duplicate, move, import, and search, and read-only team discovery through `list_teams` and `get_team_info`. | | `full` | 53 | Every tool. | > [!NOTE] > > `core` and `standard` are **separate branches** of `full`, not a ladder. `standard` is not a superset of `core`. Moving from `core` to `standard`**removes request execution, response validation, code generation, and request CRUD**, and adds team administration in their place. Use `full` if you need both. Set the variable to something it does not recognize and you get `core` back, plus a warning on the server's error output. It never falls through to `full`, so a one-character typo cannot hand an agent the destructive team-administration surface. For which profile includes which tool, see [Tools](/documentation/clients/mcp-server/tools). ## Cloud and self-hosted All 53 tools are available against a self-hosted instance, Community or Enterprise. On Cloud, this server refuses `get_user_collection`, and the backend rejects `search_team_requests`. Every other personal-workspace tool is available there, reads included. | Capability | Cloud | Self-hosted | | - | - | - | | Other team collection, request, and environment tools | Supported | Supported | | Team administration | Supported | Supported | | Request execution and response validation | Supported | Supported | | Code and documentation generation | Supported | Supported | | Other personal collection, request, and environment tools | Supported | Supported | | `get_user_collection` | Not supported | Supported | | `search_team_requests` | Not supported | Supported | > [!NOTE] > > `get_user_collection` is the one personal-workspace tool that refuses to run on Cloud. Cloud's `userCollection` resolver fails to serialize the `data` field, which fails the whole query, so the server refuses the call up front. For root-level collections use `list_user_collections`; for a known ID, including a nested one, use `export_user_collection`, which works on Cloud but returns export JSON rather than the collection envelope. For the exact behavior of every affected tool, see [Cloud behavior](/documentation/clients/mcp-server/tools#cloud-behavior). Which mode you land in comes from `HOPPSCOTCH_SERVER_URL`. Only `hoppscotch.io` and `www.hoppscotch.io` count as Cloud and route to `api.hoppscotch.io`. Anything else is treated as self-hosted, and calls go to `/backend`. ## Security This server acts with your Hoppscotch credentials and puts real HTTP requests on the wire. Here is what that means in practice, and where the defaults leave you exposed. ### Request execution reaches the public internet `execute_request` and `validate_response` are general-purpose HTTP clients, and by default they refuse anything that resolves to your own machine or a private network instead of the open internet. That sweep covers loopback, private ranges, and the special-use ranges behind link-local addressing, carrier-grade NAT, and cloud metadata endpoints like `169.254.169.254`, in IPv4, IPv6, and the mixed forms. Protection of this kind is usually called an SSRF guard, short for server-side request forgery. A few details make it harder to slip past. If name resolution errors, the call is blocked rather than allowed through. The address that passed the check is pinned at connect time, so nothing can swap it out in between. And redirects are never followed, which stops a permitted host from bouncing your credentials somewhere else with a `3xx`. > [!WARNING] > > These protections stop internal targets, not public ones. `execute_request` can still reach **any public host your machine can reach, using the credentials in the request**. Treat a request the agent composed with the same care as one you wrote. Set `HOPPSCOTCH_ALLOW_PRIVATE_HOSTS=true` only to test a local or self-hosted API, and only on input you trust. It skips the private-address checks and the connect-time revalidation for these two tools. The restriction to `http` and `https` still applies, and the server's own traffic to your Hoppscotch backend is never affected either way. The response headers and up to `HOPPSCOTCH_MAX_RESPONSE_BYTES` of the body are returned into the model's context. ### Destructive tools run immediately > [!WARNING] > > The server implements **no confirmation step.** A `delete_` tool or a team-membership change takes effect on the first call. The default `core` profile includes `delete_team_collection`, `delete_team_environment`, and the personal equivalents, so an agent on a default install can delete a shared team collection. What `core` withholds is team *administration*, such as deleting a team or removing a member. Every tool does carry four MCP annotation hints, `readOnlyHint`, `destructiveHint`, `idempotentHint`, and `openWorldHint`, and a host is free to prompt you based on them. Whether it bothers is the host's call, not this server's. Do not lean on them too hard. They are assigned from the tool-name prefix, with a few hand-written exceptions, which makes them blunter than they appear: `invite_team_member` is additive in shape, so it advertises `destructiveHint: false`, yet it accepts a role of `OWNER`. A host that only prompts on the destructive hint will let an ownership grant through without asking. That one needs `standard` or `full`. Shrink the surface with `HOPPSCOTCH_TOOL_PROFILE=minimal`, and check [Tools](/documentation/clients/mcp-server/tools) for what each profile holds. ### Secret variables Environment values marked secret are masked in environment listings. When such a value is substituted into a request, the server also scrubs it from the response body, headers, and error text before the model sees it. Do not lean on that for confidentiality. Scrubbing matches the forms a secret takes when it is sent, so a target that reshapes the value before echoing it, or a value your request truncated on the way out, comes back unredacted. And only values flagged secret are tracked in the first place: a plain variable, a credential in the `auth` block, or anything typed straight into a header was never a candidate. [What scrubbing covers](/documentation/clients/mcp-server/tools#what-scrubbing-covers) has the exact behavior. Secrets substitute into requests to any origin unless you say otherwise. `HOPPSCOTCH_SECRET_ALLOWED_ORIGINS` is how you narrow that. ### Generated code carries live credentials > [!WARNING] > > `generate_code` returns a runnable snippet with **live credential values** by default. Pass `redactCredentials: true` to mask them. `generate_documentation` is the opposite and masks by default. Check which tool produced output before sharing it. Masking only reaches so far. It handles the structured `auth` object, headers and query parameters whose names look credential-bearing, and JSON or form-encoded body fields. An XML, plain-text, multipart, or binary body it leaves alone entirely, and a credential sitting in a field it does not recognize stays put. Read what came out before you paste it anywhere, masked or not. ### What the server does not do Past scrubbing the secret environment values it substituted, nothing redacts response bodies. Personal data and anything else sensitive in a response arrives in the model's context as-is, and applying a redaction or approval policy on top is the host's job. There is also no hosted or multi-tenant mode. Running this as a publicly reachable HTTP server is out of scope. ## Next steps > **[Tools](/documentation/clients/mcp-server/tools)** > > Every tool, what it does, and which profiles include it. > **[Troubleshooting](/documentation/clients/mcp-server/troubleshooting)** > > Errors you may see, what causes them, and how to fix them. # Hoppscotch MCP Server Tools Source: https://docs.hoppscotch.io/documentation/clients/mcp-server/tools Reference for all 53 Hoppscotch MCP server tools, the profile that includes each one, and how they behave on Cloud and self-hosted instances. All 53 tools are listed here. How many your host actually sees comes down to `HOPPSCOTCH_TOOL_PROFILE`, which defaults to `core` and exposes 39 of them. Each table carries a **Profiles** column telling you where that tool is available, and "All" means every profile, `minimal` included. CRUD is shorthand for the four basic operations on a resource: create, read, update, and delete. | Profile | Tools | Notes | | - | - | - | | `minimal` | 22 | Collection and environment CRUD, personal collection import, team and personal collection export, plus `reauth`. | | `core` | 39 | The default. Adds request CRUD, request execution, code generation, `list_teams`, and `get_team_info`. | | `standard` | 38 | Adds team administration and advanced collection operations. **Removes** request execution, response validation, code generation, and request CRUD. | | `full` | 53 | Everything. | > [!NOTE] > > `core` and `standard` are separate branches of `full`, not a ladder. Switching from `core` to `standard`**loses**`execute_request`, `validate_response`, `generate_code`, `generate_documentation`, and all eleven request CRUD tools. Choose `full` if you need both sides. The profile gates discovery and execution together. A tool outside your profile is invisible to the host and refused even if an agent names it directly. ## Cloud behavior Against a self-hosted instance, Community or Enterprise, every tool works. On Cloud, this server refuses one tool, and one other is unavailable because of a backend limitation: | On Cloud | Tool | What you see | | - | - | - | | Refused by this server | `get_user_collection` | An error explaining that the backend cannot serialize the collection's `data` field, which fails the whole query. Use `list_user_collections` for root-level collections, or `export_user_collection` for a known ID. | | Rejected by the backend | `search_team_requests` | The backend rejects the query with `bug/team/no_require_team_role`. This comes from upstream, not from a check in this server. | Those are the two tools unavailable on Cloud. No other tool carries a Cloud-specific check in this server. Apart from `get_user_collection`, the personal collection, request, and environment tools are all available there, reads included. `execute_request` and `validate_response` read personal environments only, so passing a team environment ID is rejected on either deployment. See [Request execution](#request-execution). ## Teams Team discovery and administration. `list_teams` and `get_team_info` are read-only and ship in `core`. Every other tool here is team administration and requires `standard` or `full`. > [!WARNING] > > Both read-only tools return each member's user ID, display name, and **email address** along with their role. `list_teams` does this for every team you belong to, and it is in the default profile, so asking an agent to list your teams sends your colleagues' email addresses into the model's context. > [!NOTE] > > `remove_team_member` and `update_team_member_role` identify a member by **user ID**, while `invite_team_member` uses an **email address**. Read the user ID from `get_team_info` first. Removing or demoting a team's only owner is refused before the call is sent, though that check is a convenience: the backend is authoritative, and if membership cannot be read the call proceeds and the backend rejects it. | Tool | Profiles | Description | | - | - | - | | `list_teams` | `core`, `standard`, `full` | List the teams you belong to, with each team's members. | | `get_team_info` | `core`, `standard`, `full` | Get one team's details, with its members. | | `create_team` | `standard`, `full` | Create a team. | | `rename_team` | `standard`, `full` | Rename a team. | | `delete_team` | `standard`, `full` | Delete a team. This cannot be undone. | | `leave_team` | `standard`, `full` | Leave a team you are a member of. | | `invite_team_member` | `standard`, `full` | Invite someone to a team by email address. Accepts `OWNER` with no extra confirmation. | | `revoke_team_invitation` | `standard`, `full` | Revoke a pending invitation. | | `remove_team_member` | `standard`, `full` | Remove a member from a team. Takes a user ID, not an email address. | | `update_team_member_role` | `standard`, `full` | Change a member's role to `OWNER`, `EDITOR`, or `VIEWER`. Takes a user ID, not an email address. | ## Team collections Collections inside a team workspace. These work on both Cloud and self-hosted, except `search_team_requests`. | Tool | Profiles | Description | | - | - | - | | `list_team_collections` | All | List a team's root-level collections. Pagination is cursor-based, with no per-call limit. | | `get_team_collection` | All | Get a team collection and its direct children. The backend returns about 10 children per response, so a larger collection is truncated. | | `create_team_collection` | All | Create a team collection at the root or under a parent. | | `update_team_collection` | All | Rename a team collection or modify its data. | | `delete_team_collection` | All | Delete a team collection and everything inside it. This cannot be undone. | | `duplicate_team_collection` | `standard`, `full` | Duplicate a team collection. | | `move_team_collection` | `standard`, `full` | Move a team collection under a different parent. | | `import_team_collection` | `standard`, `full` | Import a team collection from Hoppscotch export JSON. | | `export_team_collection` | All | Export a team collection as a full JSON tree. **Omitting the collection ID exports the entire team workspace** into the conversation, so check the size first. | | `search_team_requests` | `standard`, `full` | Search a team's requests by title. Returns each match's ID and title with its parent collection, not the full request JSON, and only the first page of around ten matches, with no cursor to page further. | ## Team environments Environment variables scoped to a team workspace. | Tool | Profiles | Description | | - | - | - | | `list_team_environments` | All | List a team's environments. Values marked secret are masked. | | `create_team_environment` | All | Create a team environment with variables. | | `update_team_environment` | All | Rename a team environment or replace its variables. Supplying variables replaces the whole list rather than merging. Without `HOPPSCOTCH_DEFAULT_TEAM_ID`, you must pass both the name and the complete list. | | `delete_team_environment` | All | Delete a team environment. This cannot be undone. | > [!NOTE] > > Reading an environment masks every secret value as `