This guide takes about ten minutes. You need an invitation to bastn and an MCP client. The examples use Claude Code.
1. Get an account#
bastn is in beta and sign-up is by invitation.
- Request access on the bastn site. We review each request and email a sign-up link for Hosted.
- The sign-up link opens the sign-up form at
https://app.bastn.aiwith your address filled in. - Choose a password. If you use a public mailbox (for example Gmail or Outlook), also name your organization.
- Open the verification link we email you and enter your password once more. The dashboard at
https://app.bastn.aithen signs you in. If the email does not arrive, choose Send the link again on the "Check your email" page.
The first account at a company email domain creates an organization named after that domain. You become its admin and the admin of its first team, general. See Concepts for orgs, teams and roles.
The dashboard opens on Home. Until your first call, its Finish setup list follows the steps below and links to each one.
2. Add a server#
An agent can only call tools of servers its team has added. Open Tools and choose New server. For a remote MCP server, keep the HTTP transport, name the server and paste its URL. For a server on a private network, set up a connector first.
New servers keep their tools hidden from agents until you enable them. The server's drawer opens after you create it: choose Enable all N tools there, or open Review tools to pin them one at a time. Add servers has the details.
3. Create an agent and its key#
- Open Agents and choose New agent.
- Give it a name (for example
nightshift) and, optionally, a one-line purpose. - Leave Create a key for it now ticked and choose Create agent.
- Copy the key from the same drawer. It starts with
bastn-sk-and is shown once. Store it like a password.
The drawer also shows ready-to-paste client configs. Check that the MCP endpoint above them reads https://mcp.bastn.ai/mcp before you copy one.
To give the agent another key later, open the agent and choose Mint key for this agent.
A key attached to an agent makes every call attributable to that agent. Pausing or killing the agent stops the key at once.
4. Connect Claude Code#
With the agent's key:
claude mcp add --transport http bastn https://mcp.bastn.ai/mcp --header "Authorization: Bearer bastn-sk-..."Or sign in with your dashboard account instead of pasting a key:
claude mcp add --transport http bastn https://mcp.bastn.ai/mcpThen run /mcp in Claude Code and pick Authenticate. A browser opens the bastn sign-in page. Sign in, check the application and the team, pick the agent the access acts as, and choose Allow. Connect MCP clients covers other clients and what the sign-in grants.
5. Make a call#
Ask Claude Code to use one of the tools. Tool names on bastn are <server>__<tool>, for example files__read_file for the tool read_file on a server named files.
6. See it in the activity log#
Open Activity in the dashboard. Your call is there with its time, the server and tool, the verdict, and the user and agent that made it. See Audit log for what each row records and how the chain is verified.
Next steps#
- Decide what the agent may do: Policies.
- Hold risky calls for a person: Approvals.
- Reach services behind your firewall: Connectors.
- Turn a CLI or a script into reviewed tools: Commands and scripts.