@side-quest/bun-runner
v2.0.3
Published
Bun test runner MCP server — structured, token-efficient test output for Claude Code
Maintainers
Readme
@side-quest/bun-runner
Bun test runner MCP server for Claude Code. Runs tests with structured, token-efficient output.
Tools
bun_runTests— Run tests with optionalpatternandcwdbun_testFile— Run specific test filebun_testCoverage— Run tests with coverage report and optionalcwd
Usage
bunx --bun @side-quest/bun-runnerOr in .mcp.json:
{
"mcpServers": {
"bun-runner": {
"command": "bunx",
"args": ["--bun", "@side-quest/bun-runner"]
}
}
}Response Format
All tools accept a response_format parameter ("markdown" or "json"). Use "json" for token-efficient structured output in agent pipelines.
JSON responses include cwd, the directory used to run Bun. Inspect it when
calling from Codex or other Git worktrees.
Git Worktrees
The runner accepts paths in the startup checkout and linked Git worktrees that share the same Git common dir. Unrelated repositories remain blocked.
{
"cwd": "/path/to/codex-worktree",
"response_format": "json"
}License
MIT
