npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

testblox-mcp

v1.0.0

Published

MCP server for TestBlox: workspace, tests, pages, API bases/endpoints, and test execution via testblox-runner

Readme

testblox-mcp

MCP (Model Context Protocol) server for TestBlox. Exposes workspace, tests, pages, API bases/endpoints, and test execution as tools for AI agents in Cursor or Claude Desktop.

Node 18+ License


Why testblox-mcp?

TestBlox and testblox-runner give you a desktop app and a CLI for creating and running tests. To let an AI agent (in Cursor or Claude) work with the same workspace—list tests, create or update them, run runs—without leaving the editor, you need an MCP server. testblox-mcp does that: same workspace (.testblox/, tests/, pages/, endpoints/), same execution via testblox-runner, exposed as MCP tools.


Requirements

  • Node.js 18+
  • A TestBlox workspace (folder with .testblox/, tests/, pages/) when using read/write/run tools
  • testblox-runner (and thus testblox) as dependencies

Installation

Option 1: From npm (when published)

npm install -g testblox-mcp
# or as devDependency in your project:
npm install --save-dev testblox-mcp

Then in Cursor MCP config, point to the installed entry script, e.g. node_modules/testblox-mcp/src/index.js (or the path returned by npm root -g/testblox-mcp if installed globally).

Option 2: From source

git clone https://github.com/arslan-ahmetjanov/testblox-mcp.git
cd testblox-mcp
npm ci

For local development in a monorepo with testblox and testblox-runner, keep "testblox-runner": "file:../testblox-runner" in package.json. Before publishing to npm, replace it with "testblox-runner": "^1.0.0" (see Note for release below).


Running the server

The server uses stdio transport (no HTTP). Start it with:

npm start
# or
node src/index.js

It reads JSON-RPC messages from stdin and writes responses to stdout. Cursor or Claude Desktop spawn this process and communicate over stdio.


Adding to Cursor

  1. Open Cursor settings (e.g. MCP or Cursor Settings).
  2. Add an MCP server entry. Example (use the path to your testblox-mcp folder):
{
  "mcpServers": {
    "testblox-mcp": {
      "command": "node",
      "args": ["C:\\Users\\YourName\\Desktop\\ai_tester\\testblox-mcp\\src\\index.js"]
    }
  }
}

Use an absolute path to src/index.js so the process can be started from any working directory.


Tools

All tools take a workspacePath (path to the TestBlox workspace root, i.e. the folder containing .testblox/). Path can be absolute or relative to the current working directory of the MCP process (often the project root when launched by Cursor).

| Tool | Description | |------|-------------| | workspace_info | Check if path is a workspace; return meta (title, counts of tests, pages, API bases, endpoints). | | init_workspace | Initialize a folder as a TestBlox workspace. | | list_tests | List all tests (id, title, type). | | read_test | Get full JSON of a test by id. | | create_test | Create a test (title, type, optional steps, pageId, etc.). | | update_test | Update a test. | | delete_test | Soft-delete a test. | | list_pages | List all pages (id, title, url). | | read_page | Get full JSON of a page (including webElements). | | list_api_bases | List API bases (id, title, baseUrl). | | read_api_base | Get full JSON of an API base. | | create_api_base | Create an API base. | | update_api_base | Update an API base. | | delete_api_base | Soft-delete an API base. | | list_endpoints | List endpoints (optional filter by baseId). | | read_endpoint | Get full JSON of an endpoint. | | create_endpoint | Create an endpoint. | | update_endpoint | Update an endpoint. | | delete_endpoint | Soft-delete an endpoint. | | run_tests | Run one test by id or all tests; returns a short report (success, per-test status/error). |


Long-running runs

run_tests can take a long time for large suites. If the client has a short timeout, consider running fewer tests (e.g. by testId) or increasing the client timeout.


Contributing

Contributions are welcome: bug reports, ideas, docs, or code. Please open an issue or a pull request.


Author and motivation

Author: Arslan Ahmetjanov (Арслан Ахметжанов) — developer of AI solutions for manual and automated software testing.

testblox-mcp is part of the TestBlox ecosystem: it gives AI agents in Cursor and Claude Desktop access to the same workspace and test runs as the desktop app and testblox-runner.


License

MIT