Use Bastion from your AI assistant

Set up Bastion, run tests, read what was found and handle fixes from a conversation.

The fast way

Paste this into your AI agent. It connects Bastion itself and asks you only to sign in.

Set up Bastion for me: https://trybastion.ai/get-started.md

It follows trybastion.ai/get-started.md, with the exact steps for each agent.

Or connect it yourself

Add this address to your assistant as a connector (an MCP server):

https://app.trybastion.ai/mcp

  • In a chat app: open Settings, then Connectors, then Add custom connector. Name it Bastion and paste the address.
  • In an assistant that runs in your terminal or editor: ask it to add Bastion as an MCP server at that address. It can do it itself.

A browser window opens. Sign in to Bastion and choose what the assistant may do. Then ask it what to do next. It starts from your setup status.

What you can let it do

  1. ReadSetup status, findings, evidence, assessments, reports and fixes.
  2. Start and stop assessmentsAdd and verify domains, start the free trial, start and stop tests.
  3. Request and approve fixesRequest a fix, choose the repository, approve or decline it, and set a finding's status.

You choose these when you sign in. It can only do what you could do yourself.

What it asks you first

For these, the assistant shows you exactly what will happen and waits for your yes. Nothing happens until you agree.

  • Starting the free trial
  • Starting or stopping a test
  • Approving a fix, which opens a pull request
  • Dismissing a finding

A test is a real attack simulation against your live site. It only runs on domains you have verified.

What stays in your browser

  • Signing in the first time
  • Creating your workspace and accepting the testing authorization
  • Installing the Bastion GitHub app. The assistant gives you the link.
  • Paying for a plan

You stay in control

Everything the assistant does is in your workspace audit log, with its name. To cut it off, open Bastion, go to Settings, then Connected agents, and choose Disconnect. Its next request is refused.

Access

Bastion is by invitation for now. Join the waitlist or write to team@trybastion.ai.

For assistants

The setup playbook is at trybastion.ai/get-started.md. The same guide in plain text, with the tool list and the rules: trybastion.ai/llms.txt.