Open or create a Capy project connected to your service’s repository. Have the intended Struct workspace and Slack channels ready. Start a thread in that project and paste this prompt. Capy project setupReview the connection card and approve the intended workspace in Struct when Capy asks. Choose View as agent for the manual connection and skill settings.
Confirm the Capy project, its repository, the intended Struct workspace, and the service environment. Reuse the project’s existing configuration. Inspect the workspace’s telemetry before running an alert or deploy workflow. Use the Struct Quickstart if the service still needs instrumentation.
Connect Struct MCP
- In Settings → MCP & plugins, find the project’s Struct server or add a Streamable HTTP server for that project. Use
https://api.struct.ai/mcpfor Struct cloud. Use the endpoint your team supplies for a separate Struct deployment. Capy can prepare these settings in a Review and add card. Capy MCP setup - Choose OAuth with the Automatic OAuth client. On the server page, confirm Owner and Project before sign-in. For an organization server, have the person choose the saved connection mode. Each member uses the account of the thread’s creator. Shared uses the account that connected the server. Capy ownership and connection modes
- Select Connect and have the person approve the correct Struct workspace and permissions. The staging write exercises need a read-and-write grant. Confirm the server is Connected. Discover the tools and verify one real read from a fresh thread in the project. Struct MCP authentication
Authorization: Bearer <key> under Headers in the server form. Capy API key configurationInstall the observability skill
Download thestruct-observability ZIP from the Struct skill releases. Extract skills/struct-observability/SKILL.md and keep its YAML frontmatter. Save it at that path in the Capy Project Drive. You can use New skill in Drive or ask Capy to save the file. If the repository already carries the skill in .agents/skills/struct-observability/, reuse that copy. Check that $struct-observability resolves in a fresh project thread. Capy skill sourcesVerify the setup from Slack
In Capy, open Settings → Integrations → Slack and connect the intended Slack workspace. Link your Slack account on the same page so Capy can associate your Slack mentions with your Capy account. Invite the app to the alert and deploy channels with/invite @Capy. Map each channel to the right project in Capy’s Slack settings, or include project="PROJECT NAME" in the mention. Select the Capy app when typing each mention. Capy Slack setup
Replace the placeholders and start a fresh Slack thread in a test channel.
Investigate an alert
After the read-only check passes, try an existing staging alert. Confirm the workspace and write authorization before sending the prompt in the alert’s thread.Cover a merged PR
Start in the thread of a successful deploy. Supply the PR link and the approved staging notification group.Schedule a verified workflow
Create a Capy automation with the same project and an authorized run-as account. For unattended runs, use a Capy service user with project access when available. Adapt the tested prompt to name the repository, environment, event or time window, and Slack destination. Run it once manually and verify Struct access and an app-authored reply in the intended destination before enabling a schedule. Capy AutomationsFix a setup problem
- If the Capy machine reports
insufficient_credits, check the organization’s balance before retrying. Capy billing - If the connection or monitor read fails, use Test on the MCP server page, check the project and workspace, and reconnect with the required permissions. Capy connection statuses
- If the skill is missing in a fresh thread, check the selected project and the
SKILL.mdpath in Drive or the repository. Capy skill format