Tl.
Tools
Eighteen command-line programs ship with the workspace. Four of them install on their own, from Homebrew or with cargo install, and each has a page here. The rest come with the crate they belong to and need its clap feature.
brew tap ngerakines/tap
brew install atpmcp atpxrpc atpcid atptid
§ 01
Building them
Fourteen crates carry the eighteen binaries. Twelve of those crates are on crates.io at 0.15.0, so cargo install builds any of their programs. Name the crate, the version, the features the binary needs, and the binary. The Features column in § 02 lists what each one needs.
cargo install atproto-identity --version 0.15.0 \
--features clap,hickory-dns --bin atpdid
cargo install atproto-repo --version 0.15.0 \
--features clap --bin atproto-repo-car
cargo install atproto-attestation --version 0.15.0 \
--features clap,tokio --bin atproto-attestation-verify
Leave out --features and Cargo prints a warning and exits 0 without installing anything. atpxrpc and atpmcp are the exceptions. atpxrpc turns clap on by default, and atpmcp doesn't have a clap feature, so cargo install atpxrpc --version 0.15.0 and cargo install atpmcp --version 0.15.0 work as written.
The other two crates are atproto-pds and atproto-entryway, which are publish = false. Their three binaries, pds, atproto-pds-admin, and entryway, come from a checkout or the container images. From a checkout, one line builds the whole set, servers included. Put target/release on your path, or run each one through cargo run.
cargo build --release --bins -F clap,hickory-dns,atproto-attestation/tokio
# Or run one in place.
cargo run --package atproto-identity --features clap,hickory-dns \
--bin atpdid -- resolve ngerakines.me
cargo build --features clap --bins isn't that line. It builds sixteen binaries and skips the two attestation tools without a word, because it doesn't satisfy their required-features. A bare tokio in the list doesn't work either. atproto-attestation is the only crate with a tokio feature, and Cargo refuses the flag.
§ 02
Reference
Every binary in the workspace, with the crate it belongs to and the features it needs. The Features column is the binary’s required-features. Without them Cargo doesn’t build it.
| Binary | Features | Does |
|---|---|---|
| atpdid | clap, hickory-dns | Identity, start to finish. resolve takes handles or DIDs, and --document prints the full DID document. key generates P-256, K-256, or Ed25519 keys, and inspects, signs, and verifies. plc verifies an audit log, reports every fork with the rotation key that won and why the others lost, and creates, updates, signs, and submits operations. recovery-token and recovery-redeem reset an account’s password with one of its PLC rotation keys, on a server that offers it. A private-key argument names where to read the key (-, a file, or an environment variable), so the key doesn’t have to sit in ps or shell history. |
| Binary | Features | Does |
|---|---|---|
| atpcid | clap | Computes the CID of JSON, stdin, or files. Input that starts with { is a record and gets a DAG-CBOR CID through the data model, so a blob or CID link hashes as a tag-42 link. --raw and --record override the guess, and --raw gives the bafkrei… CID a blob needs. Its page. |
| atproto-dasl | clap | encode turns JSON into DAG-CBOR hex and decode turns it back. --non-strict accepts non-canonical input. |
| atptid | clap | Generates TIDs (-n for a batch), parses one back to its microsecond timestamp, validates one with -q, or makes one from a microsecond timestamp with -t. Its page. |
| atproto-repo-car | clap | Read-only CAR v1 inspection with ls, roots, get, verify, and stats. --max-blocks caps how many blocks it reads. |
| atproto-repo-mst | clap | The Merkle Search Tree inside a repository archive, with ls, get, tree, height, info, and collections, under --max-blocks and --max-memory. |
| Binary | Features | Does |
|---|---|---|
| atproto-attestation-sign | clap, tokio | inline embeds a signature bound to the repository the record will live in. remote builds a separate proof record and a strongRef to it. |
| atproto-attestation-verify | clap, tokio | Verifies every attestation on a record, or one of them, against a repository DID. A record without signatures exits 1. |
| atproto-lexicon-resolve | clap, hickory-dns | Resolves an NSID through DNS and XRPC to its schema. --recursive follows every reference and --show-deps draws the graph. |
| atproto-extras-parse-facets | clap, hickory-dns | Finds mentions, URLs, and hashtags in text and prints a facet array with byte offsets. A mention’s facet needs a DID, so mentions appear in the array only with --resolve-mentions. |
| Binary | Features | Does |
|---|---|---|
| atpxrpc | clap (default) | The XRPC client. login stores a session and every later call runs against it. --body makes a procedure and --bytes streams stdin for uploadBlob. proxy goes through the PDS with an atproto-proxy header, check-auth confirms a session, and dpop makes one call with an OAuth access token and a DPoP key. It’s also a library, and atpmcp shares its account store. Its page. |
| atproto-oauth-service-token | clap | Mints a service-auth JWT from an issuer to an audience. Pass lxm=, because a verifier refuses a token that doesn’t name a method. |
| atpmcp | none | An MCP server over stdio that speaks revision 2026-07-28 and no earlier one. Thirteen tools for CIDs, identity, records, lexicons, XRPC, TIDs, facets, blobs, and Bluesky posts, with blobs also readable as resources. atpmcp login adds an account to the store atpxrpc uses. Its page. |
| Binary | Features | Does |
|---|---|---|
| atproto-jetstream-consumer | clap | Streams Jetstream v2 events, filtered on the server by --collections, --dids, and --kinds. --cursor resumes, --compress asks for dictionary zstd, and --limit stops after that many frames. |
| atproto-tap-client | clap | Streams Tap events as JSON (read), manages tracked repositories (repos add, remove, and add-follows), and runs resolve or info on a DID. The admin password comes from ATPROTO_TAP_ADMIN_PASSWORD. |
| Binary | Features | Does |
|---|---|---|
| pds | clap + extras | The Personal Data Server Git only. Storage, mail, and metrics are further features. See the operator guide. |
| atproto-pds-admin | clap | The operator CLI for a running PDS’s admin API Git only. invite, account, takedown, passkeys, and denylist manage accounts. highport reconciles and releases Highport names, and entryway export and adopt hand accounts to an entryway. |
| entryway | clap + extras | The entryway Git only. serve runs it. check, keys, pds, ops, reconcile, handles, accounts, denylist, and arrivals are for the operator. pds, ops, reconcile, handles, and accounts import open the database, or call a deployed entryway’s admin API with --admin-url. See the entryway guide. |
§ 03
Worked invocations
Drawn from the workspace README and each binary’s own --help at 0.15.0. Each listing assumes the binary is on your path. The four tools with their own pages have fuller examples there, with real output.
atpdid resolve ngerakines.me
atpdid resolve --document did:plc:cbkjy5n7bk3ax2wplmtjofq2
atpdid key generate p256
atpdid key inspect did:key:...
atpdid key sign signing.key data.json
atpdid key verify did:key:... data.json <signature>
# Every fork in a PLC audit log, and why each loser lost.
atpdid plc verify did:plc:...
atpdid plc forks --verbose did:plc:...
# A signed update, with the rotation key read from a file.
atpdid plc update did:plc:... \
--signing-key rotation.key --also-known-as at://new.example.com
atpcid '{"text":"hello"}'
# JSON in, DAG-CBOR hex out, and back again.
echo '{"text":"hello"}' | atproto-dasl encode
echo 'a164746578746568656c6c6f' | atproto-dasl decode
# A record's CID goes through the data model, so a blob's
# {"$link": ...} hashes as a tag-42 link, not a one-key map.
cat record.json | atpcid --
# A blob needs the raw CID, not the DAG-CBOR one.
atpcid --raw --files avatar.png
atptid -n 5
atptid 3mgn37sytoc2c
atproto-repo-car verify repo.car
atproto-repo-car stats repo.car
atproto-repo-mst collections repo.car
atproto-repo-mst tree repo.car
# inline takes four positionals, and the repository DID is one of them.
# The signature is bound to the repository the record will live in.
atproto-attestation-sign inline \
record.json did:plc:repo123 signing.key metadata.json
atproto-attestation-verify signed_record.json did:plc:repo123
atproto-lexicon-resolve --recursive --show-deps app.bsky.feed.post
# One stored session. Every later call runs against it.
atpxrpc login ngerakines.me # prompts for the app password
atpxrpc com.atproto.repo.listRecords \
repo=ngerakines.me collection=app.bsky.feed.post
# A file on stdin, for uploadBlob.
atpxrpc --bytes --content-type image/png \
com.atproto.repo.uploadBlob < avatar.png
# Through the PDS to another service.
atpxrpc proxy did:web:api.bsky.app#bsky_appview \
app.bsky.actor.getProfile actor=ngerakines.me
# A one-off call with an OAuth token and a DPoP key. Nothing is stored.
ATPROTO_ACCESS_TOKEN=... ATPROTO_DPOP_KEY=did:key:... \
atpxrpc dpop ngerakines.me com.atproto.repo.describeRepo repo=ngerakines.me
atproto-oauth-service-token did:plc:issuer SIGNING_KEY did:web:audience \
lxm=com.atproto.repo.createRecord
atproto-jetstream-consumer jetstream.us-east.bsky.network \
--collections app.bsky.feed.post --kinds commit
ATPROTO_TAP_ADMIN_PASSWORD=... atproto-tap-client localhost:2480 read --live-only
atproto-tap-client localhost:2480 repos add did:plc:...
PDS_ADMIN_PASSWORD=... atproto-pds-admin invite create --count 5
# Check an entryway's configuration and keys before serving.
entryway check
entryway serve
# The same operator commands against a deployment without a shell.
ENTRYWAY_ADMIN_PASSWORD=... entryway ops list --failed \
--admin-url https://account.example.com
§ 04
The MCP server
atpmcp has its own page. It covers the MCP revision your client needs, the thirteen tools and which of them write, signing in, blobs as resources, and configuration.