run_tox_tests
Run tox tests with different modes and options
Run a Python project's tox suite from the conversation — everything, one group, one file, one directory, or a single test case.
LABSCO SUMMARY
The scope argument is the whole design: run everything to find what broke, rerun the single case while you fix it, then run everything again to confirm nothing else moved — a loop the README spells out as a custom instruction worth pasting into your client. TOX_TIMEOUT matters more than it looks: without a ceiling, one hung integration test takes the session with it.
A single-tool MCP server that executes tox in a Python project, running its pytest suite at whatever scope you name. The point is the narrowing: after a full run fails, the same tool reruns just the failing case, which is the loop debugging actually takes.
clients, api, auth, uploads or routes — with mode set to all — run_tox_testsmode as file with testFile, or one test case by adding testCasemode set to directoryNo account and no key — it runs tox on your machine. TOX_APP_DIR is required and must point at the directory containing tox.ini, since that is where tox is invoked from. TOX_TIMEOUT sets the maximum seconds for a run and defaults to 600. The npm package name is tox-testing (0.1.0) and it is marked private, so build from a clone with npm install and npm run build, then point your client at the built index.js. Running tests means running the project's code, so point it at a project you trust.
One command — npx -y github:that1guy15/tox-testing
USE CASES
Run the whole suite once and let the model read the failures, instead of switching to a terminal.
Rerun just that file, then just that case, as you iterate on the fix.
Run the group that covers what you touched — auth, routes, uploads — rather than the entire suite.
Run everything again after the individual case passes, which is the step that gets skipped when testing is manual.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
run_tox_testsRun tox tests with different modes and options
BEFORE YOU INSTALL
1 tool when we connected.
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
{
"mcpServers": {
"tox-testing": {
"command": "node",
"args": [
"<YOUR_PATH_TO_TOX_TESTING>/build/index.js"
],
"env": {
"TOX_APP_DIR": "<YOUR_TOX_APP_DIR>",
"TOX_TIMEOUT": "600"
}
}
}
}Clone https://github.com/that1guy15/tox-testing and build it (npm install, then npm run build); <YOUR_PATH_TO_TOX_TESTING> is the folder you cloned. Set TOX_APP_DIR to the root of your Python project, where tox.ini is.
npx -y github:that1guy15/tox-testing