Run your own
Spin up a MARS-conforming registry against your own database. Your entries stay sovereign; discovery still surfaces them globally when you opt in to federation.
# clone reference impl
git clone github.com/l1felabs/mars
cd mars/mars-server
# start
cargo run --bin mars-server -- \
--bind 0.0.0.0:7780 \
--registry-did did:oas:yourorg:registry:internal \
--postgres postgres://localhost/mars
Federate with Reggie
A single API call publishes your registry to the global directory. Reggie streams your entries on a fair-share schedule and indexes them like its own.
# initiate handshake
curl -X POST https://api.mars.glass/v1/federate/handshake \
-H "Content-Type: application/json" \
-d '{
"fromRegistry": "did:oas:yourorg:registry:internal",
"endpoint": "https://reg.yourorg.com",
"publicKey": "ed25519:<your-pubkey-b64>",
"scope": ["agent","tool","skill"]
}'