Agents

Give your editor agent a TestBeaver token so it can manage test cases and runs while you build.

Create a token

  1. Open Account while signed in
  2. Create an API token and copy the secret once (it starts with cr_)
  3. Store it somewhere safe. TestBeaver won’t show it again

Tokens are personal. Access is limited to projects you’re a member of.

Cursor MCP

TestBeaver ships an MCP server that talks to the same API. After building the package, add something like this to your Cursor MCP config:

{
  "mcpServers": {
    "caserun": {
      "command": "node",
      "args": ["/ABS/PATH/caserun/packages/mcp/dist/index.js"],
      "env": {
        "CASERUN_API_URL": "http://localhost:8080/api/v1",
        "CASERUN_API_TOKEN": "cr_YOUR_TOKEN"
      }
    }
  }
}

Useful tools include:

  • list_projects / list_cases
  • create_case / update_case
  • start_run / list_run_results
  • record_result / run_summary

Without MCP

Any agent that can call HTTP can use the API directly with Authorization: Bearer cr_…. See the API docs.