Transport-level routing for MCP/ACP protocols
We appreciate your patience. The service is temporarily operating in an external runtime environment.
Transport-level routing for MCP/ACP protocols
We appreciate your patience. The service is temporarily operating in an external runtime environment.
Get started with stdio Bus workers - installation, prerequisites, and quick start guide.
Get started with stdio Bus Worker Registry and integrate workers into your stdio Bus deployment.
Before installing the workers package, ensure you have:
The stdio Bus kernel is available through two installation methods:
Pull the official Docker image:
docker pull stdiobus/stdiobus:latest
Docker provides the easiest way to get started with stdio Bus, with pre-configured environments and automatic updates.
For advanced users who need custom builds or want to contribute:
git clone https://github.com/stdiobus/stdiobuscd stdiobus# Follow build instructions in the repository
See the stdio Bus kernel repository for detailed build instructions.
Install the workers registry package via npm:
npm install @stdiobus/workers-registry
This package includes all worker implementations:
Get a basic stdio Bus deployment running with the ACP Worker in three steps:
Create a config.json file with your worker configuration:
{"pools": [{"id": "acp-registry","command": "npx","args": ["@stdiobus/workers-registry","acp-worker"],"instances": 1}]}
Using Docker:
docker run -p 9000:9000 \-v $(pwd):/stdiobus:ro \-v $(pwd)/config.json:/config.json:ro \stdiobus/stdiobus:latest \--config /config.json --tcp 0.0.0.0:9000
Using Binary:
./stdio_bus --config config.json --tcp 0.0.0.0:9000
Verify the installation by sending a test message:
echo '{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"clientInfo":{"name":"test","version":"1.0"}}}' | nc localhost 9000
You should receive a JSON-RPC response confirming the connection.
The simplest way to run any worker:
npx @stdiobus/workers-registry <worker-name>
Available workers:
acp-worker - Full ACP protocol implementationregistry-launcher - Routes to ACP Registry agentsecho-worker - Simple echo for testingmcp-echo-server - MCP server examplemcp-to-acp-proxy - Protocol bridge for IDEsTest your setup with the echo worker:
# Run echo worker directlynpx @stdiobus/workers-registry echo-worker
Or configure it in stdio Bus:
{"pools": [{"id": "echo-worker","command": "npx","args": ["@stdiobus/workers-registry","echo-worker"],"instances": 1}]}
After installation, verify everything is working:
node --version # Should be ≥20.0.0
npm list @stdiobus/workers-registry
# Start stdio Bus with your config# Then test with netcatecho '{"jsonrpc":"2.0","id":"1","method":"test"}' | nc localhost 9000
Now that you have workers installed:
If you see errors about Node.js version:
node --version # Check current versionnvm install 20 # Install Node.js 20 if using nvm
For global installations that require elevated permissions:
npm install -g @stdiobus/workers-registry # May need sudo# Or use npx to run without installingnpx stdiobus-acp-worker
If Docker can't connect to stdio Bus:
# Verify Docker is runningdocker ps# Check port availabilitynetstat -an | grep 9000
See the troubleshooting guide for more detailed solutions.