Step 1: Set Up MCP
The Struct MCP server gives your coding agent access to investigation data. Set it up from Settings → Coding Agent in the web app.- Claude Code
- Cursor
1
Install MCP
Go to Settings → Coding Agent → Claude Code tab and copy the install command:You can find the full command with your MCP URL in the settings page.
2
Ready
OAuth login is triggered automatically on first use. You can now use Struct MCP tools directly in Claude Code.
Available MCP Tools
Step 2: Install the CLI Bridge
The CLI bridge registers astruct:// protocol handler on your machine, enabling the one-click Open in buttons in the Struct web app.
How “Open in” Works
- Open an investigation in the Struct web app
- Click Open in Claude Code or Open in Cursor
- Your browser triggers the
struct://protocol, which the CLI bridge handles - Your coding agent opens with the full investigation context loaded via MCP
If the CLI bridge isn’t installed, Struct will show install instructions and a fallback option to copy the investigation context to your clipboard.