Connect a client

Every client follows the same handshake: point it at the endpoint, a browser window opens Bastion's consent page, sign in and click Allow access. You need a Bastion account — the trial works — but no keys or extra setup.

Claude (web, desktop, mobile)

Settings → Connectors → Add custom connector, then paste the endpoint URL. Claude discovers the OAuth configuration and walks you through approval.

https://mcp.bastionscan.com/mcp

Claude Code

claude mcp add --transport http bastion https://mcp.bastionscan.com/mcp

Then run /mcp inside a session to complete the sign-in.

ChatGPT

Custom MCP connectors require developer mode (Pro, Plus, Business, Enterprise and Edu plans, on the web app): Settings → Apps → Advanced settings → Developer mode. Then Settings → Connectors → Create, paste the endpoint URL and choose OAuth as the authentication method. On workspace plans an admin may need to allow custom connectors first.

OpenAI Codex

codex mcp add bastion --url https://mcp.bastionscan.com/mcp
codex mcp login bastion

The login command runs the OAuth flow in your browser. Configuration lands in ~/.codex/config.toml if you prefer to manage it there.

Hermes

Add the server in the dashboard (hermes dashboard → MCP servers), or in ~/.hermes/config.yaml:

mcp_servers:
  bastion:
    url: "https://mcp.bastionscan.com/mcp"
    auth: oauth

A browser window opens for authorization on first connect.

Manus

Settings → Connectors → + Add Connectors → Custom MCP → Direct Configuration. Name it Bastion, choose the HTTP transport, paste the endpoint URL and save; Manus verifies the connection and walks you through sign-in.

OpenClaw

openclaw mcp add bastion --url https://mcp.bastionscan.com/mcp \
  --transport streamable-http --auth oauth
openclaw mcp login bastion

The login command prints the authorization URL and finishes the token exchange once you approve in the browser. Check with openclaw mcp status.

Cursor and other MCP clients

Add the server to your client's MCP configuration:

{
  "mcpServers": {
    "bastion": { "url": "https://mcp.bastionscan.com/mcp" }
  }
}

Try it

Once connected, ask your assistant things like:

  • “Scan bastionscan.com and summarize anything new since last week.”
  • “Which of our certificates expire in the next 30 days?”
  • “Mute the missing-HSTS finding on staging until March, with a note.”
  • “Generate the PDF report for yesterday's scan.”
  • “File these three domains under the Acme client and summarize that estate's posture.” (MSP plans)