Installing your first agent identity
With a plan selected, the fastest way to see Blacksands working end-to-end is to give an AI agent its first identity. This is a Bursar workflow, and for most developers it comes down to a single command.
Register the MCP server
From Claude Code, in any directory:
claude mcp add bursar -- npx -y @blacksandscyber/mcp-server-bursar
This registers Bursar — the same MCP server referenced throughout our docs and the Installing the MCP client article — with Claude. (Using Claude Desktop instead? Download the .dxt bundle from your install page and drag it onto the app icon.) Bursar isn't a library your project installs; it's an MCP server Claude runs and talks to, so this one command is everything your project needs.
Registering the server on its own unlocks the free local tools with no account required. Certificate-based identity issuance — the part that actually connects the agent to your organization — happens when you redeem a one-time setup token. For a self-serve account, creating your organization emails you the install link that carries the token; you're your own administrator, so there's no one to ask for it (if the email is missing or expired, use Resend install email on your account page). Then run the install command from your install page, which is built for your environment and redeems the token with the right endpoints:
curl -fsSL https://<host-of-your-install-link>/install.sh | bash -s -- --token=bss_xxxxxxxxxxxx
(Registering by hand with --env SHIELD_SETUP_TOKEN=... also works, but you must set SHIELD_SETUP_URL and SHIELD_AUTHORIZER_URL as well, because the package's defaults point at a different environment. See Installing the MCP client.)
Rather than handing your agent a static API key or a shared credential, redeeming the token is what triggers Bursar to mint it a cryptographic identity tied to your organization.
Why a certificate instead of a key
A static API key is a secret you have to protect forever — if it leaks, it's valid until someone manually rotates it, and it usually can't tell you which agent used it. A certificate identity is different: it's scoped to a specific agent and has its own expiration, and what it can reach is decided by per-service grants you control (see Reviewing agent activity). If a certificate is compromised or an agent is decommissioned, you revoke that one identity — nothing else on the platform is affected.
What "first identity" means in practice
The first time the setup token is redeemed, Bursar issues the agent a certificate scoped to your organization and writes the bundle to ~/.blacksands/mcp-certs/ for reuse on every relaunch. From that point forward, the agent's requests to services you've granted it go through Bursar's broker (see Understanding agent identities and scoped access) — access depends on a grant to that service, not on a standing credential the agent carries.
Verifying it worked
After registering the server and redeeming a setup token, you should see the agent's identity listed in your organization's console, along with its certificate's issue date and expiration. If you don't see it appear, double-check that:
- Your plan has remaining MCP client capacity (see Understanding your plan limits)
- Your organization is fully created and verified (see Creating your Blacksands account)
- You're running
claude mcp addin an environment with outbound network access to Blacksands' issuance endpoint, and your setup token hasn't already been used or expired
If the identity still doesn't appear, see Certificate errors and how to fix them.
