How to Set Up Astra MCP Integration
Introduction
Astra MCP connects your AI assistant to your Astra account so you can view, query, and act on pentest data through natural language , without switching between tools or exporting screenshots.
Once connected, your AI assistant inherits your Astra permissions and can access targets, audits, vulnerabilities, findings, and comments. You can ask questions, get contextual insights, update issues, or request rescans all from within your preferred AI tool.
Access the MCP section on Astra Dashboard from here for more details on tool specific action.
Prerequisites
Before you begin, ensure:
You have an active Astra account with access to relevant workspaces
You are using an MCP-compatible tool such as:
ChatGPT Web or ChatGPT App
Claude Desktop or Claude Code
Cursor
Visual Studio Code
Other tools : Any assistant that supports remote HTTP MCP servers and browser-based OAuth.
If 2FA is enabled, your device is available for OTP verification
MCP Server URL
Use the following URL during setup:
https://mcp.getastra.com/mcpInstructions
Setup in ChatGPT Web
In ChatGPT, open Plugins from the sidebar, click Add (+), and select Add Custom MCP Server.
Enter the server details:
Name: Astra MCP
Connection: Server URL
Server URL: https://mcp.getastra.com/mcp
Authentication: OAuth
Accept the risk acknowledgment and click Create as a plugin.
Authorize Astra MCP. On the Connect Astra MCP screen, click Continue to Astra MCP. Complete sign-in and authorization in your browser. Once authorization succeeds, Astra MCP is connected to ChatGPT.
Setup in ChatGPT App
Add a custom MCP server. Open ChatGPT Settings, search for MCP, and navigate to MCP under Plugins + MCP. Select Add Custom MCP Server.
Enter the server details:
Name: Astra MCP
Type: Streamable HTTP
Server URL: https://mcp.getastra.com/mcp
Save the configuration to add Astra MCP.
Authenticate Astra MCP. Return to the MCP settings and locate Astra MCP. Start the authentication flow for the server. ChatGPT will redirect you to Astra's authorization page in your browser.
Complete authorization. Follow the browser prompts to sign in and grant access. Once complete, return to ChatGPT and verify that Astra MCP is connected.
Set Up in Claude Desktop
Open Claude Desktop
Go to Customize → Connectors
Click + Add Custom Connector
Enter:
Name: Astra MCP
Server URL: https://mcp.getastra.com/mcp
Click Add
Select Astra MCP and click Connect
Complete sign-in in the browser . You’ll be redirected back once connected.
Set Up in Cursor
Open Cursor Settings → Tools and MCP
Add the following configuration:
{
"mcpServers": {
"astra": {
"url": "https://mcp.getastra.com/mcp"
}
}
}
Restart Cursor if prompted
Start using MCP-enabled assistant
Complete browser authentication on first use
Set Up in VS Code
Run MCP: Add Server from the Command Palette
Press Cmd+Shift+P, or Ctrl+Shift+P on Windows and Linux.
Choose HTTP and paste the server URL
Name the server astra, then choose Workspace or Global. VS Code asks you to trust the server before it starts.
Server URL
https://mcp.getastra.com/mcpOr add it to your config directly
VS Code uses servers as the top-level key, not mcpServers. Workspace config lives in .vscode/mcp.json.
.vscode/mcp.json
{ "servers": { "astra": { "type": "http", "url": "https://mcp.getastra.com/mcp" } } }
Set Up in Claude Code
Run in terminal:
claude mcp add --transport http astra https://mcp.getastra.com/mcp
Restart Claude Code if required
Run:
/mcp
Complete browser authentication
To verify:
claude mcp list
Expected Outcome
Once setup is complete, your AI assistant will be connected to your Astra account. You'll be able to:
Query vulnerabilities, findings, audits, and targets using natural language
Get instant contextual insights without leaving your AI tool
Update issues, add comments, or progress workflows based on your account permissions
Start/Schedule scan, Triage and fix vulnerabilities, generate reports
All access is permission-based and aligned with your Astra account role — the assistant cannot access data outside your assigned workspaces.
Best Practices
Use the correct account. If data looks missing or incomplete, confirm you're logged into the right Astra organization.
Use servers as the top-level key, not mcpServers
Set type to http, or the server will not start
Accept the trust prompt the first time the server starts
Run MCP: List Servers, then Show Output to read the logs
Keep authentication active. If the connection drops, re-authenticate via the browser sign-in flow for your tool.
Check firewall and VPN settings if the MCP server URL fails to connect — ensure
mcp.getastra.comis accessible from your network.Limit MCP access to trusted tools. Since the assistant inherits your Astra permissions, only connect Astra MCP on devices and tools you control.
Reach out for help early. If setup fails, contact your Astra administrator or reach out to Astra Support at help@getastra.com before retrying repeatedly.
