Skip to main content
Use MCP when your agent supports tool discovery and OAuth. You can use it alongside the CLI.Your agent can install the server configuration. You approve the workspace and permissions in Struct when the client asks you to sign in.
Connect your current MCP client to Struct so you can query production evidence and use the enabled tools directly. MCP uses its own sign-in and can run alongside the CLI.

Install the server configuration

Choose the client you are actually using:
Run only the matching command. Add --print to inspect the configuration instead of changing it. For another MCP client, use struct mcp url and its documented remote-server configuration.For Capy, follow Set up Capy with Struct to connect the server in Capy’s settings and verify access from Slack.

Request workspace access

The configuration contains the server URL, not a copied CLI credential. The MCP client performs its own sign-in. For Codex, run codex mcp login struct; in Claude Code, use /mcp. Relay the sign-in link to the person and have them approve the intended workspace and scope.

Verify discovery and access

Refresh tool discovery in the client and run a suitable read-only tool with bounded input, such as listing existing monitors when observability is enabled. Inspect the response, not just whether the server connected. Follow authentication recovery for expired grants, missing scope or activation requirements.