Skip to main content

OpenTest MCP Server — API testing tools for AI agents

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentest_mcp-0.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opentest_mcp-0.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file opentest_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: opentest_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for opentest_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f11f78d6004afb3003a3bd753c42e12d601efa01414029b86eb4cac7f7698a58
MD5 25f5167d723629b6a582c9dee5d2e1d3
BLAKE2b-256 ab1b87f13c4eb85def278622b6a5d4ca26050afce5210ba271077840a355b8c7

See more details on using hashes here.

File details

Details for the file opentest_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: opentest_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for opentest_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f6c3c69a25bf27c836ce1fa88517eadc5d818456a17886b0ef602b4035c6d66
MD5 67d09c7aa595aa789d6f0b2a9c3bf21b
BLAKE2b-256 6d987864f0b440c88b4c1e0a509366fe64c49b4f7bea6dfe800cf49fcda96b34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page