Runscope/mcp-bzm-apitest
If you are the rightful owner of mcp-bzm-apitest and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The BlazeMeter API Test MCP Server integrates AI tools with the BlazeMeter API Testing & Monitoring platform, enabling natural language interactions for managing and automating API tests.
BlazeMeter API Test MCP Server
The BlazeMeter API Test MCP Server connects AI tools directly to cloud-based BlazeMeter API Testing & Monitoring platform (Runscope). This gives AI agents, assistants, and chatbots the ability to read and manage teams, buckets and tests, analyze test and its results, and automate workflows. All through natural language interactions.
Use Cases
Team Operations
- List all teams the user is a member of to establish the organizational context.
- Retrieve details of a specific team, including team ID, name, and associated permissions.
- This serves as the root entity for all downstream resources such as buckets, tests, and results.
Bucket Management
- List all buckets belonging to a team.
- Retrieve a specific bucket by ID or name to inspect its metadata and structure.
- Create new buckets to organize API tests under logical projects or services.
- Run bucket-level test suites, executing all tests defined within the bucket and retrieving their aggregated results.
Test Management
- List all tests within a bucket to get visibility into available API tests.
- Retrieve a single test by ID or name to view its configuration, steps, and environment references.
- Create new tests programmatically via MCP tools for automation or migration workflows.
- Run an individual test and obtain its execution results, including pass/fail status and timestamps.
Test Scheduling Management
- Create a new test schedules to automate test execution at predefined intervals.
- View existing schedules to manage or audit automated test runs.
- Retrieve associated schedules for a test to understand its execution context and frequency.
Test Step Management
- List all steps within a test to understand its workflow and structure.
- Retrieve a single step’s details to inspect API request/response configuration, conditions, and validations.
- Create a new test step (Pause or Request) to modify or extend test workflows.
[!NOTE] For detailed documentation including use cases, available tools, integration points, and troubleshooting, see the BlazeMeter API Test MCP Server documentation.
Prerequisites
- BlazeMeter API Monitoring Access Token
- Comply Blazemeter API Monitoring AI Consent
- Compatible MCP host (VS Code, Claude Desktop, Cursor, Windsurf, etc.)
- Docker (only for Docker-based deployment)
- uv and Python 3.11+ (only for installation from source code distribution)
Setup
Get BlazeMeter API Monitoring token
Follow the BlazeMeter API Token guide to obtain your Access Token. Once access token is obtained, following are the ways to provide it to the MCP client.
Via Environment Variable
You can provide the API token to the MCP client using one of the following methods:
-
Set the
BZM_API_TEST_TOKENenv variable to the token value directly. -
Set the
BZM_API_TEST_TOKEN_FILEenv variable to the path of a<file_name>.envfile with the following content:BZM_API_TEST_TOKEN=your_api_test_token_here
Via Env file
-
Create a
bzm_api_test_token.envfile in the same directory where the executable/binary is located with the following content:BZM_API_TEST_TOKEN=your_api_test_token_here
Quick Setup with CLI Tool ⚡
The easiest way to configure your MCP client is using our interactive CLI tool:
- Download the appropriate binary for your operating system from the Releases page
[!NOTE] Choose the binary that matches your OS (Windows, macOS, Linux)
- Execute or Double-click the binary to launch the interactive configuration tool
- The tool automatically generates the JSON configuration file for you
[!IMPORTANT] For macOS: You may encounter a security alert saying "Apple could not verify 'mcp-bzm-apitest-darwin' is free of malware." To resolve this:
- Go to System Settings → Privacy & Security → Security
- Look for the blocked application and click "Allow Anyway"
- Try running the binary again
Manual Client Configuration (Binary Installation)
- Download the binary for your operating system from the Releases page
- Configure your MCP client with the following settings:
{
"mcpServers": {
"BlazeMeter API Test MCP": {
"command": "/path/to/mcp-bzm-apitest-binary",
"args": ["--mcp"],
"env": {
"BZM_API_TEST_TOKEN_FILE": "/path/to/your/bzm_api_test_token.env"
}
}
}
}
Manual Client Configuration (From Remote Source Code)
- Prerequisites: uv and Python 3.11+
- Configure your MCP client with the following settings:
{
"mcpServers": {
"BlazeMeter API Test MCP": {
"command": "uvx",
"args": [
"--from", "git+https://github.com/Runscope/mcp-bzm-apitest.git@v1.0.0",
"-q", "mcp-bzm-apitest", "--mcp"
],
"env": {
"BZM_API_TEST_TOKEN_FILE": "/path/to/your/bzm_api_test_token.env"
}
}
}
}
[!NOTE] uvx installs and runs the package and its dependencies in a temporary environment. You can change to any version that has been released or any branch you want. For more details on the uv/uvx arguments used, please refer to the official uv documentation.
Docker MCP Client Configuration
{
"mcpServers": {
"Docker BlazeMeter API Test MCP": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"BZM_API_TEST_TOKEN=your_api_token",
"ghcr.io/blazemeter/mcp-bzm-apitest:latest"
]
}
}
}
Custom CA Certificates (Corporate Environments) for Docker
When you need this:
- Your organization uses self-signed certificates
- You're behind a corporate proxy with SSL inspection
- You have a custom Certificate Authority (CA)
- You encounter SSL certificate verification errors when running tests
Required Configuration:
When using custom CA certificate bundles, you must configure both:
- Certificate Volume Mount: Mount your custom CA certificate bundle into the container
- SSL_CERT_FILE Environment Variable: Explicitly set the
SSL_CERT_FILEenvironment variable to point to the certificate location inside the container
Example Configuration
{
"mcpServers": {
"Docker BlazeMeter API TEST MCP": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"SSL_CERT_FILE=/etc/ssl/certs/custom-ca-bundle.crt",
"-e",
"BZM_API_TEST_TOKEN=your_api_token",
"ghcr.io/blazemeter/mcp-bzm-apitest:latest"
]
}
}
}
Replace:
/path/to/your/ca-bundle.crtwith your host system's CA certificate file path- The container path
/etc/ssl/certs/custom-ca-bundle.crtcan be any path you prefer (just ensure it matchesSSL_CERT_FILE)
The
SSL_CERT_FILEenvironment variable must be set to point to your custom CA certificate bundle. Thehttpxlibrary automatically respects theSSL_CERT_FILEenvironment variable for SSL certificate verification.
Tools
The BlazeMeter API Test MCP Server provides the following tools for interacting with the BlazeMeter API Test & Monitoring platform:
blazemeter_apitest_teams: List teams within your BlazeMeter account, Read team details, and Get a list of all team users.blazemeter_apitest_buckets: List all the buckets, Read bucket details, and Create a new bucket.blazemeter_apitest_tests: List all API tests within a bucket, Read test details, Create a new API test, and Get the test metrics.blazemeter_apitest_schedules: List all schedules within a test, Read schedule details, and Create a new schedule.blazemeter_apitest_steps: List all steps within a test, Read test step details, and Add a new Pause and Request step( with URL, Method, Body and Assertions) to a test.blazemeter_apitest_environments: List all test environments, and Read test environment details.blazemeter_apitest_results: Execute an individual test or all bucket-level tests, List last 50 test results, and Read test result and bucket-level result details.
Security
- Never share API tokens
- Recommended to use token in .env file rather than directly in environment variables
- Keep .env files secure and private
License
This project is licensed under the Apache License, Version 2.0. Please refer to for the full terms.
Support
- MCP Server Documentation: BlazeMeter API Test MCP Server Guide
- API Documentation: BlazeMeter API Test API Documentation
- Issues: GitHub Issues
- Support: Contact BlazeMeter support for enterprise assistance