Skip to main content
Use the Struct CLI to inspect and configure the workspace from your terminal. Commands run with the permissions of the active login.
Give your agent the task and the workspace you intend to use. Switch to For agents for the complete command reference, or use it directly from your terminal.
Use a claimed workspace with permission to configure connections. Start with the server’s catalog rather than guessing flags:
The catalog supplies required fields, flags, environment variables and permissions for the provider. Provider-specific recipes are in Integrations. Secrets come from environment variables, stdin or a hidden terminal prompt; avoid literal secret arguments that can enter shell history.For AWS, Azure, Google Cloud, Kubernetes and Snowflake, struct connect <provider> --print-commands prints setup/grant commands. An authorized operator executes them with the provider’s tools, then completes the connection. The catalog identifies additional required arguments. For example, struct connect aws --print-commands includes the External ID made for this workspace; preserve it in the role setup.

Connect and select resources

Inspect, test and maintain

A healthy connection proves the access that was checked. It does not prove application telemetry arrived or a monitor delivered an alert. Do not add grants just because a broad provider role would make a test pass; use the permission catalog.

Three different MCP uses

  • Struct MCP in your current client: struct mcp install supplies Struct’s product server URL; the client performs its own OAuth. For Codex, run codex mcp login struct; in Claude Code, use /mcp to sign in.
  • A custom MCP server connected to Struct: struct connect custom-mcp lets Struct use that server’s tools. It is an integration with separate credentials.
  • Documentation search: use the docs site’s MCP, Markdown and indexes to read documentation. They do not authenticate you to a Struct workspace.