← Bursar knowledge base

Bursar FAQ

Bursar is the Blacksands zero-trust MCP server (@blacksandscyber/mcp-server-bursar). It exposes a set of free local tools and, once you connect it to your organization, a set of account tools to any MCP client (Claude Code, Claude Desktop, or another MCP-compatible agent) for codebase security scanning, app registration and provisioning plans, mTLS certificate management, agent access grants, compliance control lists, security operations, and Receiver (edge-proxy) lifecycle management. The exact tools your client lists depend on whether it is connected to an account and on its role; ask your client to list its Bursar tools rather than relying on a number in a document.

This FAQ is the companion to the training guide, which walks through every tool with example calls/responses. Use this doc to answer "why does X behave this way" and "what do I do when Y goes wrong" questions; use the training guide to look up a specific tool's inputs/outputs.

This is developer-focused material (tool behavior, auth model, troubleshooting). For account, plan, or billing questions, see the live Bursar AI Agents knowledge base instead.

Terminology used throughout: Agent = the MCP client calling Bursar tools (e.g. Claude). Authorizer = the first mTLS hop, issues a session token. Receiver = the second mTLS hop, a public-IP edge proxy that forwards to the real backend. Backend = the actual protected service; never directly reachable.


Table of contents


What is Bursar?

Q: What does Bursar actually do? Bursar is an MCP server that lets an AI agent drive Blacksands zero-trust security operations directly — no dashboard clicking required. It can scan a local codebase for security risk and draw an architecture atlas of it, register an application and give you a step-by-step provisioning plan for it, list the controls of a compliance framework, list and revoke certificates, grant an agent access to a protected service (and let the agent call that service through the broker), manage Receivers (the edge proxies that front protected services), and even provision a brand-new agent identity on a remote host.

Q: Is Bursar the same thing as "Shield"? Yes, historically. Some older docs and paths still say "Shield", but the published package, the server name you register (bursar) and all current tool names use the Bursar prefix (bursar_*, receiver_*, broker_*). If you see "Shield" in an older doc or path, it refers to the same system.

Q: Do I need a Blacksands account to use Bursar? No — the free local tools work with zero configuration: local codebase/environment scanning, the architecture atlas (downloaded to your machine), framework/PII/endpoint/service/datastore detection, manifest generation, deployment guidance, and identity/protocol introspection. They are marked [FREE] in tool descriptions. The account tools require broker authentication: an mTLS cert + password plus your organization id. For a self-serve account you get these by creating your organization — doing so emails you the install link (a one-time setup token), and you are your own administrator. If the email expired or got lost, use Resend install email on your account page. Organizations that are managed by someone else get the same link from their administrator. See How does the auth model work?.

Q: What are the categories mentioned in the training guide?

CategoryTheme
A — Codebase & Environment ScanningLocal, mostly [FREE]; scan code/infra, generate manifests, draw the architecture atlas
B — App Registration & Provisioning PlansRegister apps, submit manifests, get a step-by-step provisioning plan
C — MCP Identities & Agent AccessList/revoke the agent's own MCP client certs; grant or revoke an agent's access to a protected service
D — ComplianceSOC2/HIPAA/PCI-DSS control lists
E — Security Operations & Cert Management (apps)Lockdown, per-app certs, policies, DNS rules, sessions
F — Receiver Lifecycle & Service OnboardingStand up a Receiver, onboard/pause/disable proxied services
G — Receiver ListingList your Receivers
H — Composite Remote Agent InstallationProvision + install a new agent identity on a remote host
I — Local Guidance & Learning[FREE]; deployment guide, protocol walkthrough, identity

Full per-tool detail (inputs, outputs, gotchas) lives in the training guide, organized by these same categories. broker_request (an agent calling a granted service through the broker) is described under Agent access: grants and brokered calls.


How does the auth model work?

Q: What is the "bisected mTLS broker" pattern? Every authenticated call goes through two independent mTLS handshakes, not one:

  1. Agent → Authorizer. The agent presents its mTLS cert + password to the Authorizer (SHIELD_AUTHORIZER_URL, e.g. mauth.<your-org-domain>). The Authorizer validates the cert against the org's enrolled identities and returns a service list with a Receiver URL + session token for that session.
  2. Agent → Receiver. The agent presents the same cert again (a second, independently verified handshake) plus the session token to the Receiver — a public-IP edge proxy. The Receiver re-verifies the cert on its own, then forwards the request to the actual backend service over a private network.

The backend service is never directly reachable by the agent. This is unusual compared to common mTLS patterns (Cloudflare Access, single-stage client-cert auth) — call broker_get_protocol_walkthrough before writing any client code so you don't assume a single-handshake model.

Q: Why two handshakes instead of one? Defense in depth: a compromised or spoofed Authorizer can only hand out a token — it cannot itself reach the backend. The Receiver independently re-verifies the cert, so a stolen token alone (without the matching cert) is useless, and a compromised Authorizer alone cannot forge Receiver access.

Q: What credentials does an agent need, and where do they come from? An mTLS client cert + key, an auth password, and an org id. These are either:

  • redeemed automatically on first launch from a one-time SHIELD_SETUP_TOKEN (a bss_... token), after which the bundle is persisted to ~/.blacksands/mcp-certs/. For a self-serve account the token arrives in the install email that creating your organization sends you (you are your own administrator; Resend install email on your account page sends a fresh one); organizations managed by someone else get it from their administrator; or
  • issued by an administrator through Overwatch or SysAdmin, and passed via SHIELD_CLIENT_CERT / SHIELD_CLIENT_KEY / SHIELD_AUTH_PASSWORD / SHIELD_ORG_ID; or
  • provisioned programmatically for a new agent identity via bursar_install_agent_remotely (Category H), which issues a fresh bootstrap token for a target host to redeem.

There are no API keys and no bearer-token fallback — Bursar is cert-only. Bursar tools authenticate with your client certificate; there is no fallback authentication path.

Q: What's the difference between "master" and "consumer" role? master role sees the free local tools plus the account tools (some of which also depend on your plan). consumer role is a least-privilege mode whose tool list is only the free local tools plus broker_request, which lets it call whatever services it has been granted. Role is set at cert issuance time (or via the role input on bursar_install_agent_remotely). Blacksands refuses a defined set of account actions for a consumer certificate (issuing, changing and revoking certificates, issuing setup tokens, granting and revoking service access, creating and changing Receivers and the services behind them, emergency lockdown, and creating or changing apps and endpoints), but it does not check every tool that way, so the role is not a security boundary against an agent you do not trust. Give each agent its own identity and the lowest role that does the job.

Q: What happens if I call a gated tool without credentials (local-only mode)? You get a friendly setup-token prompt, not a stack trace or a generic 401. The MCP server detects it's running in local-only mode (no cert configured, or MCP_TRANSPORT=local-only) and short- circuits gated tools before attempting any network call.

Q: Is there a session token I need to manage myself? No — the session token returned by the Authorizer is ephemeral and consumed internally by the tool implementation for the Receiver hop. If you're writing your own client code outside the MCP tool layer (e.g. to call a Receiver-proxied service directly), see the code examples returned by broker_get_protocol_walkthrough.


Getting started

Register the server once. In Claude Code (the server name is bursar):

claude mcp add bursar -- npx -y @blacksandscyber/mcp-server-bursar

That alone gives you the free local tools. To connect it to your account, use the install command on your install page (the link in your install email). It is built for your environment: it redeems your one-time setup token and wires in the right endpoints.

curl -fsSL https://<host-of-your-install-link>/install.sh | bash -s -- --token=bss_xxxxxxxxxxxx

You can also register by hand with --env SHIELD_SETUP_TOKEN=..., but then you must set SHIELD_SETUP_URL (the origin of your install link) and SHIELD_AUTHORIZER_URL (your environment's authorizer endpoint) as well. The package's built-in defaults point at a different environment, so a token sent without them goes to the wrong place.

Claude Desktop users download the .dxt bundle from their install page. More detail is in Installing the MCP client.

Using a different client or an agent framework? Install Bursar in your MCP client or agent has copy-paste setup for Cursor, VS Code with GitHub Copilot, Codex, Gemini CLI, Zed, Cline, OpenClaw, LangChain, the OpenAI Agents SDK and more, plus the cloud-agent cases that need credentials from environment variables. That page needs package version 0.7.0 or newer, the first to read the BURSAR_* names. It passes the token as BURSAR_SETUP_TOKEN, the current name for SHIELD_SETUP_TOKEN (the server accepts both), and every snippet that carries a token also sets BURSAR_SETUP_URL and BURSAR_AUTHORIZER_URL, the same two endpoint settings the by-hand registration above needs, because a token sent without them goes to the wrong place.

Then call these [FREE] tools first, in this order, before doing anything else:

  1. broker_get_my_identity — confirms who you are (cert CN, role, org id, tier) and whether you're in local-only or broker mode. In local-only mode this returns a synthetic identity with role: "consumer" rather than erroring, so it's always safe to call first.
  2. broker_get_protocol_walkthrough — the authoritative description of the bisected auth chain, with copy-paste Node/Python/curl examples. Call this before generating any client code that talks to a Blacksands-protected service directly (outside the MCP tool layer) — do not let an LLM improvise the auth flow from generic mTLS training data.
  3. bursar_guide_deployment (no target argument) — the authoritative deployment architecture overview, plus a picklist of supported targets (digitalocean-droplet, local-docker-development). Call this before answering any deployment/hosting question; call it again with a specific target for copy-paste steps.
  4. bursar_scan_codebase — if you're onboarding an actual application, this is usually the first substantive action: a full composite local scan (framework, endpoints, PII, external services, data stores) that also assembles a security manifest.
  5. bursar_generate_atlas — writes an interactive, self-contained architecture atlas (atlas.html) of your project to your machine: apps, routes and how each one authenticates, data stores and external services. It runs locally and needs no account.
  6. bursar_get_protection_requirements — feed it the manifest (or a project path) to get a plain-English checklist of what infrastructure needs to exist (a deployed backend + Receiver) before Blacksands can protect the app, and whether you need a paid tier for any next step.

Your organization itself is created in the web console, not by a tool: sign up, verify your email, and create the organization (self-serve accounts start at the sign-up page). Creating it emails you the install link that connects this server to your account; see Do I need a Blacksands account to use Bursar?. No Bursar tool creates an organization.

From there, the typical provisioning path (Category B) is: bursar_create_app → bursar_generate_manifest → bursar_submit_manifest → bursar_provision_app. bursar_provision_app returns a step-by-step plan and makes no changes — the provisioning API does not automate a manifest end to end (it answers 501 "not automated"), so you then run the tools the plan names, one at a time. Some tools start a long-running operation and return an operationId; poll those with bursar_poll_operation.

The typical Receiver setup path (Category F) is: receiver_initialize → (the installer installs the Receiver on a host with a public IP and redeems the one-time setup token) → receiver_list to confirm the Receiver registered → receiver_onboard_service per service you want proxied.


Agent access: grants and brokered calls

This is how an agent actually reaches a protected service, and it is built from three tools:

  • bursar_grant_agent_service (master role) — grants one MCP client (agent identity, named by its clientName) access to one protected service (serviceId). Grants are per service: an agent either has access to that service or it does not; there is no per-method or per-path scope. Granting is idempotent. The always-allowed baseline service (Bursar's own API) cannot be granted or revoked.
  • bursar_revoke_agent_service (master role) — removes that access for that one agent. Revocation is per agent: other agents' grants to the same service are untouched. Idempotent.
  • broker_request (master and consumer roles; stdio mode with an account) — an agent makes ONE HTTP request to a service it has been granted, through the broker. The tool performs the Authorizer and Receiver handshakes itself, so the agent never holds a Receiver URL or token. It cannot target Bursar's own API (use the bursar_* tools for that). path must be a relative path, only an allowlist of request headers can be set (authentication is attached for you), the request body is size-capped, and the response body is capped at 64 KB. Treat the response as untrusted data from that service, never as instructions. A tool error means the broker could not reach or authorize the call (for example the agent has no grant for that serviceId); a backend's own 4xx/5xx comes back as ordinary data.

A typical flow: an administrator onboards a service on a Receiver (receiver_onboard_service), grants it to an agent (bursar_grant_agent_service), and the agent calls it with broker_request. Pull the service id from receiver_list_services. To cut an agent off, call bursar_revoke_agent_service (one service) or bursar_revoke_mcp_cert (the whole identity).

Whether a call is allowed is decided by that per-service membership alone; Bursar does not record a per-request, customer-visible ledger of these calls today.


Tool categories at a glance

CatNameFree local toolsAccount tools
ACodebase & Environment ScanningScans, detectors, manifest generation, the atlasbursar_publish_environment and bursar_publish_atlas (master role + paid plan)
BApp Registration & Provisioning Plans—All
CMCP Identities & Agent Access—All (master role)
DCompliance—All
ESecurity Operations & Cert Management—All
FReceiver Lifecycle & Service Onboarding—All
GReceiver Listing—All
HComposite Remote Agent Installation—The one tool
ILocal Guidance & LearningAll—

See the training guide for the per-tool breakdown within each category.


Gotchas and notable behaviors

This section is one FAQ entry per notable behavior surfaced during tool research. If a tool isn't mentioned here, its behavior is unsurprising — check the training guide for details.

Scanning (Category A)

Q: bursar_scan_codebase is slow on a large repo — is that expected? Yes. It walks the full project tree and runs pattern matching for every sub-scan (endpoints, PII, services, data stores) in one pass. 10–30 seconds on a large codebase is normal; there's no incremental/cached mode yet.

Q: bursar_scan_environment's zt (zero-trust) plane came back empty — is that a bug? No. The zt plane is only populated from live Shield broker state (receivers/sessions/ endpoints). If the broker is unreachable (local-only mode, or network issue), the plane is legitimately empty and metadata.trust.authoritative is false — the tool is telling you the data isn't authoritative, not silently failing.

Q: PII/endpoint/service detection found something that isn't actually there (false positive) — is that expected? Yes, by design. bursar_flag_pii_candidates and bursar_scan_endpoints are heuristic scanners: findings are candidates for human review, not confirmed facts. Confidence is reported per finding (high/medium/low); comment-only or prose-only matches are filtered to cut noise, but false positives still happen. Don't auto-remediate based solely on these scans.

Q: bursar_report_activity and bursar_show_topology didn't do anything I could see — is the tool broken? Probably not. Both are purely presentational, targeting a local visualization launcher at http://127.0.0.1:4178. If that launcher isn't running (and can't be auto-spawned, or you're in a remote/sandboxed agent context), bursar_show_topology returns launched:false, opened:false with a note to open the URL on your workstation, and bursar_report_activity falls back to a journal file at ~/.blacksands/container-manager/activity.jsonl. Neither tool ever throws, and neither can change topology, trust, certs, sessions, or any Blacksands state — they're cosmetic.

Q: Why did bursar_publish_environment reject my call with an upgrade-path error? It requires master role and a paid tier (essentials/professional/enterprise) — community and trial orgs get an upgrade-path error instead of a scan. Use bursar_scan_environment (fully [FREE], local-only) if you just need the topology without cloud publishing/history retention.

Provisioning (Category B)

Q: bursar_provision_app returned right away — did it provision anything? No. bursar_provision_app returns a step-by-step plan and makes no changes. It tells you which other tools to run (in order) to protect the app; running them is up to you or your agent. There is nothing to wait for and no completion to poll. (The underlying provisioning API answers 501 "not automated" for a manifest, which is why the tool only plans.) If another tool returns an operationId, that is a real long-running operation: poll it with bursar_poll_operation, with backoff, don't hot-loop.

Q: bursar_submit_manifest failed with validation errors — what does that mean? The Bursar API schema-validates every manifest before accepting it. Validation errors block submission entirely; validation warnings (e.g. "PII detected in endpoints; ensure encryption in transit") don't block, but flag compliance follow-ups. Fix errors and resubmit; warnings are informational.

Q: Can an agent create an organization? No. There is no Bursar tool that creates an organization — sign up and create it in the web console (the sign-up page creates the account; Create organization comes after you verify your email). Creating the organization emails you the install link for this server. Use bursar_list_orgs to see the organizations your identity can see.

Q: A call was rejected because I hit a plan limit. Plan limits (the number of MCP clients, for example) are enforced server-side, not a client bug. See Understanding your plan limits and upgrade the plan to lift them.

Certificates and sessions (Categories C, E)

Q: What's the difference between bursar_revoke_mcp_cert (Category C) and bursar_revoke_cert / bursar_rotate_cert (Category E)? bursar_revoke_mcp_cert (Category C) revokes an MCP client identity — the cert an agent uses to talk to Bursar at all. bursar_revoke_cert / bursar_rotate_cert (Category E) act on app-level certificates — mTLS certs tied to a provisioned application's Receiver/backend traffic. Don't confuse the two: revoking the wrong one either locks out your own agent or breaks an unrelated app's connectivity.

Q: I revoked an MCP cert but the client using it still seems to work. Revocation via bursar_revoke_mcp_cert is immediate on the server side, but existing sessions are not forcibly terminated — they expire naturally on their own TTL. For an immediate cutoff of a specific service, use bursar_service_pause / bursar_service_disable (Category F), and remove the agent's access with bursar_revoke_agent_service. bursar_emergency_lockdown is not a substitute for these (see below).

Q: bursar_rotate_cert broke my running app/agent immediately — is that expected? Yes. Rotation is synchronous: the old cert is revoked the instant the new one is issued, with no grace period. Anything still using the old cert loses connectivity right away and must be updated with the new cert/key. If you need a grace period, use bursar_revoke_cert on a schedule of your choosing instead of rotating in place.

Q: Is revoking a cert or session reversible? No — bursar_revoke_cert, bursar_revoke_session, and bursar_revoke_mcp_cert are all immediate and irreversible. There's no "undo"; you'd need to provision/rotate a new cert/session. bursar_revoke_mcp_cert is idempotent (calling it twice on an already-revoked cert returns the same result, it doesn't error).

Q: What actually happens during bursar_emergency_lockdown, and how do I undo it? Lockdown marks the target app as locked in Bursar's own records and attempts to revoke that app's certificates and sessions there. It is idempotent (locking an already-locked app is a no-op). It does not cut off live traffic to a protected service: certificate revocation here is recorded in Bursar's API and is not pushed to the certificate authority, and sessions are only found when they carry the app's id, which sessions through the broker do not. The real kill switches are bursar_service_pause / bursar_service_disable (Category F), bursar_revoke_agent_service (one agent's access to one service) and bursar_revoke_mcp_cert (one agent identity). bursar_lift_lockdown returns the app to active status but does not restore anything that was revoked. The reason string is recorded with the lockdown.

Policies and DNS (Category E)

Q: I created a policy and the response said it was applied, but nothing changed in what an agent can reach. Policies and DNS rules created with bursar_create_policy / bursar_update_dns_rules are stored by Bursar, but nothing pushes them to the data plane yet, so they do not change what an agent can reach. What an agent can reach today is decided by its per-service grants (bursar_grant_agent_service / bursar_revoke_agent_service); see Agent access. Where policy rules are stored, they are ordered: the first matching rule wins, so put the most specific matches first. The same ordering applies to bursar_update_dns_rules.

Q: I called bursar_update_dns_rules but the app's inbound DNS didn't change. bursar_update_dns_rules only manages application-level egress rules (outbound DNS lookups the app is allowed to make). The Receiver's public hostname — what clients use to reach the app — is assigned automatically by Blacksands and cannot be edited through this tool.

Compliance (Category D)

Q: Is there a posture score I can check? Not through this server: posture-scoring tools are not part of the current package. For a compliance view use bursar_compliance_controls, which lists the controls of SOC 2, HIPAA or PCI-DSS; for a picture of your own codebase use the free scans and bursar_generate_atlas.

Q: Is there a per-application compliance report? Not in this release. A per-application compliance report is not offered by the current package; it returns once the service side of it is ready. What you can do today is list a framework's control catalog with bursar_compliance_controls and compare it against your own evidence.

Receiver lifecycle (Categories F, G)

Q: receiver_initialize succeeded but nothing is running yet. That's expected — receiver_initialize only creates the Receiver record and emails a one-time setup token (valid ~2 hours) to the installer. A human still has to install the Receiver on the actual target host (a Linux server with a public IP and Docker — EC2, VPS, DigitalOcean droplet, etc.) and redeem the token there. Use receiver_list to see whether the Receiver has registered.

Q: My setup token/email expired before the installer ran the bootstrap command. Setup tokens expire: about 2 hours for a Receiver, about 15 minutes for the bootstrap tokens that bursar_install_agent_remotely issues, and about an hour for the install link that creating your organization emails you. For an expired Receiver token, run receiver_cancel_init for that Receiver and call receiver_initialize again for a fresh one; for an expired agent-install bootstrap token, re-run bursar_install_agent_remotely; for your own install link, use Resend install email on your account page.

Q: What's the difference between pausing, disabling, and removing a service (Category F)? Three distinct strengths, all reversible except removal:

  • bursar_service_pause — stop accepting new connections; existing ones stay open. Good for maintenance windows. Reverse with bursar_service_resume (idempotent — resuming an already-active service is a no-op).
  • bursar_service_disable — stronger: existing connections are severed immediately, not just blocked for new ones. Requires an explicit re-enable to recover.
  • receiver_remove_service — deregisters the service entirely; its certificate is revoked asynchronously (10–30 seconds). There's no "undo" — you'd re-onboard with receiver_onboard_service.

Q: receiver_onboard_service returned a public URL, but it's not reachable yet. DNS propagation for the newly assigned subdomain can take 5–10 seconds after the call returns. Also double-check protocol: "ssh" and "rdp" are forwarded directly (not HTTP-wrapped), so path is meaningless for those and only applies to "http"/"https".

Q: bursar_service_status shows the upstream as unreachable, but the service still shows as active — is that a bug? No — an unreachable upstream is logged, not treated as an error state. The Receiver keeps accepting connections and retries health checks (every 10–30 seconds); it doesn't automatically flip the service to paused/disabled. If you want it taken offline, do that explicitly with bursar_service_pause or bursar_service_disable.

Q: Can I change a Receiver's DNS name? No — DNS is auto-provisioned when the Receiver registers, and no tool edits it. Changing it requires re-registering the Receiver (a new receiver_initialize call), not an edit.

Remote agent install (Category H)

Q: I tried bursar_install_agent_remotely with transport.type: "ssh" or "aws-ssm" and got a "not-implemented" error. Expected in the current phase (Phase A.1) — only transport.type: "bootstrap-token" is fully implemented. SSH and AWS SSM transports are defined in the schema but stub out with a "not-implemented" throw; don't route users toward them yet.

Q: If something fails partway through bursar_install_agent_remotely, do I end up with an orphaned cert? Not by default — rollbackOnFailure defaults to true, so if delivery, config write, or restart fails after the credential was already issued, the tool revokes that cert automatically. Set rollbackOnFailure: false only if you specifically want to keep a partially-provisioned identity around for manual cleanup.

Q: waitForHandshake is true by default — what does it actually wait for? In the current phase it's a no-op — there's no real handshake check implemented yet (handshakeStatus in the response is always "pending"). Don't build logic that blocks on this field flipping to a "confirmed" state; it doesn't yet.

Guidance tools (Category I)

Q: bursar_guide_deployment insists Blacksands is "NOT like Cloudflare Tunnel / Tailscale / ngrok" — why does it matter? Because the Receiver model is inbound, not outbound: it requires an inbound public IP with TCP 443 open (mTLS termination), and the control plane (policy/DNS/cert-rotation pushes from Manager) is Kafka, not HTTP polling by the Receiver. If you generate deployment instructions or firewall rules from generic "reverse tunnel" assumptions, you'll get the security model wrong — that's why this tool front-loads the "false models to reject" list.

Q: Why can't I run a Receiver on my laptop for local dev? Laptops typically don't have a public IP, and the Receiver needs one for the inbound mTLS edge. bursar_guide_deployment's local-docker-development target is dev-only — you run your app locally and test through other means (e.g. the Blacksands CLI); production paths (like digitalocean-droplet) are what actually stand up a reachable Receiver.


Troubleshooting

Auth failures

SymptomLikely causeFix
Gated tool call returns a setup-token prompt instead of runningYou're in local-only mode (no cert configured, or MCP_TRANSPORT=local-only)Run the install command from your install page for one-time bootstrap (it redeems the token from your install email for your environment; no email? use Resend install email on your account page), or configure SHIELD_CLIENT_CERT/SHIELD_CLIENT_KEY/SHIELD_AUTH_PASSWORD/SHIELD_ORG_ID
"Certificate verification failed" when the tool talks to the ReceiverBlacksands CA cert missing/expired locallyConfirm ~/.blacksands/mcp-certs/blacksands-ca.crt exists and is current; override with SHIELD_CA_CERT if needed
"Unauthorized" / "Invalid token" from the ReceiverSession token expired, or the cert presented to the Receiver doesn't match the one the Authorizer issued it forRe-authenticate with the Authorizer to get a fresh token; make sure the same cert is reused for both the Authorizer and Receiver hops
broker_get_my_identity returns cn: nullBroker handshake failedNot itself an error — it's included in the identity response rather than thrown. Check warning field in the response and the auth-failure causes above
Everything worked yesterday, fails today with no config changeMCP cert may have been revoked (bursar_revoke_mcp_cert) or naturally expiredCheck bursar_list_mcp_certs for status; re-issue via a fresh install link (Resend install email on your account page) or your administrator
broker_request fails with a "not entitled" style errorThe agent has no grant for that serviceId (or the service is not reachable)Grant it with bursar_grant_agent_service, then retry; see Agent access

Timeouts / hangs

SymptomLikely causeFix
A tool that returned an operationId seems slowIt started a real long-running operationPoll bursar_poll_operation with the returned operationId and implement backoff — don't hot-loop
bursar_provision_app seems to do nothingIt returns a plan and makes no changesRun the tools the plan lists; there is no operation to wait for
bursar_scan_codebase takes 10–30s on a big repoExpected — full tree walk + multi-scan pattern matchingNo incremental mode currently; scope projectPath to a subdirectory if you only need part of a monorepo scanned
A new service isn't reachable right after receiver_onboard_serviceDNS propagation lagWait 5–10 seconds and retry; check receiver_list_services for health status

Permission errors

SymptomLikely causeFix
Consumer-role agent can't see/call a tool you expectedconsumer role is restricted to the free local tools + broker_request for granted servicesUse a master-role cert for provisioning/admin tools, or confirm this agent is intentionally least-privilege
bursar_publish_environment rejected with an upgrade-path errorTrial/community org, or non-master certUpgrade the org's plan (essentials/professional/enterprise) and/or use a master-role cert; or just use the [FREE] bursar_scan_environment if you don't need cloud publishing
bursar_create_app rejectedA plan limit, or a validation error on the inputCheck bursar_list_orgs/bursar_list_apps first; see Understanding your plan limits and upgrade if a limit is the blocker
SSH/AWS-SSM transport on bursar_install_agent_remotely errors "not-implemented"Those transports are stubs in the current phaseUse transport.type: "bootstrap-token" instead

Where to look next

  • Full protocol reference: call broker_get_protocol_walkthrough (or see the training guide's Category I section) for the authoritative auth-chain description and code samples.
  • Deployment architecture questions: call bursar_guide_deployment before answering — don't improvise from generic tunnel/VPN mental models.
  • Per-tool inputs/outputs/gotchas: see the training guide.
  • Server logs: stderr only (stdout is reserved for the MCP wire protocol). macOS Claude Desktop: ~/Library/Logs/Claude/mcp-server-Bursar.log. Claude Code: run with --mcp-debug.