Build and run mcpgw
Clone the public repository. From a shell with Git and Go installed:
git clone https://github.com/seanfraserio/rivano-gateway.git
cd rivano-gateway
go build -o mcpgw ./cmd/mcpgw
cp configs/example.yaml mcpgw.yaml
Set the upstream URL in mcpgw.yaml to your MCP server and set the audit path to a writable file. Keep the listener on loopback for this first run. No license file or registration is required.
./mcpgw config validate --config mcpgw.yaml
./mcpgw --config mcpgw.yaml
In another terminal, run curl --fail http://127.0.0.1:7332/readyz. Readiness confirms that the gateway is accepting traffic, not that an upstream is healthy. Before exposing it to other hosts, configure client authentication and review your policy rules.
Prefer a container? From the same checkout, run docker build -t mcpgw:oss-local .. The tracing tutorial shows the config and audit mounts.