Agents
Give your editor agent a TestBeaver token so it can manage test cases and runs while you build.
Create a token
- Open Account while signed in
- Create an API token and copy the secret once (it starts with
cr_) - 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_casescreate_case/update_casestart_run/list_run_resultsrecord_result/run_summary
Without MCP
Any agent that can call HTTP can use the API directly with Authorization: Bearer cr_…. See the API docs.