loading…
Search for a command to run...
loading…
An MCP server for spawning and managing bash commands asynchronously. Run multiple shell commands in parallel and check their progress independently.
An MCP server for spawning and managing bash commands asynchronously. Run multiple shell commands in parallel and check their progress independently.
An MCP server for spawning and managing bash commands asynchronously. Run multiple shell commands in parallel and check their progress independently.
Add to your opencode.json config to replace the bash tool with async-bash-mcp:
{
"$schema": "https://opencode.ai/config.json",
"tools": {
"bash": false
},
"mcp": {
"async-bash": {
"type": "local",
"command": ["uvx", "async-bash-mcp"],
"enabled": true
}
}
}
Then use commands like:
When working with long-running commands like builds, tests, or servers, the agent needs to:
This tool provides the agent with better information for decision-making, leading to faster task completion and fewer confused responses.
Key advantages over the built-in bash tool:
This tool is designed to replace opencode's bash tool for any scenario involving potentially long-running commands, giving agents the information they need to make better decisions and save you time.
spawn - Launch a bash command asynchronously
command (str): The bash command to runcwd (str, optional): Working directory pathlist_processes - Show all running/recent processes
{"ID": int, "command": str, "done": bool}poll - Check progress of a spawned process
process_id (int): ID from spawn commandwait (int): Wait time in millisecondsterminate (bool, optional): Kill process before returning results{"stdout": str, "stderr": str, "elapsedTime": float, "finished": bool, "exitCode": int}uvx async-bash-mcp
Run in your terminal:
claude mcp add async-bash-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.