Skip to main content

opentest-mcp

MCP server for API testing — test your APIs directly from Claude Desktop, Cursor, or any MCP-compatible AI agent.

Install

pip install opentest-mcp

Or run directly with uvx:

uvx opentest-mcp

Configure with Claude Desktop / Cursor

Add to your MCP configuration:

{
  "mcpServers": {
    "opentest": {
      "command": "uvx",
      "args": ["opentest-mcp", "--project-dir", "./"]
    }
  }
}

To sync results to the OpenTest dashboard, add your API key:

{
  "mcpServers": {
    "opentest": {
      "command": "uvx",
      "args": ["opentest-mcp", "--project-dir", "./", "--api-key", "YOUR_API_KEY"]
    }
  }
}

Tools

Tool Description
auto_test One-call: discover endpoints from your project, extract schemas, and run tests
test_api Execute a single HTTP request with assertions and variable extraction
import_api_spec Import an OpenAPI 3.x, Swagger 2.0, or Postman Collection spec
run_api_tests Batch test all imported endpoints
get_test_results Retrieve accumulated test results from the current session

CLI Options

opentest-mcp                                    # stdio transport (default)
opentest-mcp --transport sse --port 8080        # SSE transport
opentest-mcp --project-dir ./my-app             # auto-discover endpoints
opentest-mcp --api-key ot_live_xxx              # sync to dashboard
opentest-mcp --backend-url https://custom.host  # custom backend

Supported Frameworks (auto-discovery)

  • Express.js / Node.js
  • NestJS
  • FastAPI / Starlette
  • Flask / Quart
  • Go (Gin, Echo, Chi, net/http)
  • Ruby on Rails
  • OpenAPI spec files

License

MIT

Metadata

Release files for opentest-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentest-mcp 0.1.0
File Size Uploaded Provenance
opentest_mcp-0.1.0.tar.gz 13.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for opentest-mcp 0.1.0
File Interpreter ABI Platform
opentest_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / opentest_mcp-0.1.0.tar.gz

Download URL opentest_mcp-0.1.0.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f11f78d6004afb3003a3bd753c42e12d601efa01414029b86eb4cac7f7698a58
BLAKE2b-256 checksum
How to use checksums
ab1b87f13c4eb85def278622b6a5d4ca26050afce5210ba271077840a355b8c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / opentest_mcp-0.1.0-py3-none-any.whl

Download URL opentest_mcp-0.1.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f6c3c69a25bf27c836ce1fa88517eadc5d818456a17886b0ef602b4035c6d66
BLAKE2b-256 checksum
How to use checksums
6d987864f0b440c88b4c1e0a509366fe64c49b4f7bea6dfe800cf49fcda96b34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for opentest-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page