{
  "version": 2,
  "name": "Raygun for AI Agents",
  "url": "https://ai.raygun.com",
  "description": "Raygun's ai-agent-native portal for MCP, API V3, Crash Reporting, Real User Monitoring, APM, and autonomous production debugging.",
  "generatedAt": "2026-10-08T03:04:15.067Z",
  "conversionPath": [
    "Sign up at app.raygun.com",
    "Add remote MCP at https://api.raygun.com/v3/mcp",
    "Authorize remote MCP through browser OAuth",
    "Run first production investigation prompt"
  ],
  "endpoints": {
    "mcp": "https://api.raygun.com/v3/mcp",
    "apiDocs": "https://raygun.com/documentation/product-guides/raygun-api/",
    "openApi": "https://api.raygun.com/v3/raygun-openapi-spec.json",
    "mcpRepo": "https://github.com/MindscapeHQ/mcp-server-raygun",
    "mcpToolsDoc": "https://github.com/MindscapeHQ/mcp-server-raygun/blob/main/TOOLS.md",
    "signup": "https://app.raygun.com/signup?utm_source=ai.raygun.com&utm_medium=agent_portal&utm_campaign=signup",
    "pat": "https://app.raygun.com/user/tokens?utm_source=ai.raygun.com&utm_medium=agent_portal&utm_campaign=pat",
    "llms": "https://ai.raygun.com/llms.txt",
    "llmsFull": "https://ai.raygun.com/llms-full.txt",
    "rss": "https://ai.raygun.com/rss.xml",
    "prompts": "https://ai.raygun.com/prompts",
    "sitemap": "https://ai.raygun.com/sitemap-index.xml"
  },
  "navigation": {
    "primary": [
      {
        "href": "/get-started",
        "label": "Get Started"
      },
      {
        "href": "/mcp",
        "label": "MCP"
      },
      {
        "href": "/api",
        "label": "API"
      },
      {
        "href": "/prompts",
        "label": "Prompts"
      }
    ],
    "secondary": []
  },
  "pages": [
    {
      "path": "/",
      "title": "Raygun for AI Agents",
      "description": "Connect AI coding agents to Raygun remote MCP and API V3 for production errors, sessions, and traces.",
      "url": "https://ai.raygun.com",
      "markdownUrl": "https://ai.raygun.com/index.md"
    },
    {
      "path": "/mcp",
      "title": "Raygun Remote MCP",
      "description": "Deep dive into Raygun's remote MCP server for Cursor, Claude Code, Codex, Gemini, and engineers.",
      "url": "https://ai.raygun.com/mcp",
      "markdownUrl": "https://ai.raygun.com/mcp.md"
    },
    {
      "path": "/api",
      "title": "API for Agents",
      "description": "Raygun API V3 with PAT auth for custom workflows, CI, and deterministic automation.",
      "url": "https://ai.raygun.com/api",
      "markdownUrl": "https://ai.raygun.com/api.md"
    },
    {
      "path": "/get-started",
      "title": "Get Started with Raygun MCP",
      "description": "Sign up, instrument your app, connect remote MCP through OAuth, and run a first production investigation.",
      "url": "https://ai.raygun.com/get-started",
      "markdownUrl": "https://ai.raygun.com/get-started.md"
    },
    {
      "path": "/prompts",
      "title": "Prompts for coding agents",
      "description": "Installable prompts and machine-readable ideas for Raygun coding-agent workflows.",
      "url": "https://ai.raygun.com/prompts",
      "markdownUrl": "https://ai.raygun.com/prompts.md"
    }
  ],
  "resources": [
    {
      "id": "raygun-mcp-getting-started",
      "title": "Set up Raygun MCP in Cursor and Codex",
      "description": "The practical install path for connecting Raygun's remote MCP server to agentic coding tools.",
      "category": "Guide",
      "internal": false,
      "tags": [],
      "url": "https://raygun.com/blog/raygun-mcp-getting-started/"
    },
    {
      "id": "remote-mcp-workflow",
      "title": "Transform your workflow with Raygun's remote MCP",
      "description": "How remote MCP changes agent debugging by giving assistants live Raygun production context.",
      "category": "Blog",
      "internal": false,
      "tags": [],
      "url": "https://raygun.com/blog/raygun-mcp/"
    },
    {
      "id": "mcp-server-repo",
      "title": "mcp-server-raygun on GitHub",
      "description": "Official repository for the Raygun remote MCP server, client snippets, and tool inventory.",
      "category": "Reference",
      "internal": false,
      "tags": [],
      "url": "https://github.com/MindscapeHQ/mcp-server-raygun"
    },
    {
      "id": "api-v3-reference",
      "title": "Raygun API V3 reference",
      "description": "Bearer PAT authentication, pagination, rate limits, and OpenAPI-backed endpoints for custom agent tooling.",
      "category": "Reference",
      "internal": false,
      "tags": [],
      "url": "https://raygun.com/documentation/product-guides/raygun-api/"
    }
  ],
  "mcp": {
    "endpoint": "https://api.raygun.com/v3/mcp",
    "clients": [
      {
        "id": "cursor",
        "label": "Cursor",
        "configTarget": "Cursor Settings → Tools & MCP"
      },
      {
        "id": "claudeCode",
        "label": "Claude Code",
        "configTarget": "terminal"
      },
      {
        "id": "codex",
        "label": "Codex",
        "configTarget": "terminal"
      },
      {
        "id": "gemini",
        "label": "Gemini CLI",
        "configTarget": "terminal"
      }
    ],
    "capabilities": [
      {
        "name": "Error management",
        "description": "List and investigate error groups, browse instances, read stack traces, update status, and add comments.",
        "tools": [
          "error_groups_list",
          "error_group_investigate",
          "error_instances_browse",
          "error_instance_get_details"
        ]
      },
      {
        "name": "Deployments",
        "description": "List releases, inspect the latest deploy with related errors, and investigate a specific deployment.",
        "tools": [
          "deployments_list",
          "deployment_get_latest",
          "deployment_investigate",
          "deployment_create"
        ]
      },
      {
        "name": "Customers & sessions",
        "description": "Search customers, pull recent errors and sessions for a user, and list session environment data.",
        "tools": [
          "customers_search",
          "customer_investigate",
          "sessions_list"
        ]
      },
      {
        "name": "Performance metrics",
        "description": "List pages, analyze load/CWV trends, and performance distributions.",
        "tools": [
          "pages_list",
          "metrics_website_performance_analyze",
          "metrics_performance_distribution_analyze",
          "metrics_error_trends_analyze"
        ]
      },
      {
        "name": "Applications",
        "description": "List and search apps, fetch application details for scoped investigations.",
        "tools": [
          "applications_list",
          "applications_search",
          "application_get_details"
        ]
      },
      {
        "name": "Team collaboration",
        "description": "List, send, and revoke invitations when coordinating access for workflows.",
        "tools": [
          "invitations_manage",
          "invitation_send",
          "invitation_revoke"
        ]
      }
    ],
    "tools": [
      {
        "category": "Applications",
        "name": "applications_list",
        "description": "List applications available to the current user."
      },
      {
        "category": "Applications",
        "name": "applications_search",
        "description": "Search for applications by name."
      },
      {
        "category": "Applications",
        "name": "application_get_details",
        "description": "Get detailed application information including settings and status."
      },
      {
        "category": "Error Management",
        "name": "error_groups_list",
        "description": "List error groups within an application."
      },
      {
        "category": "Error Management",
        "name": "error_group_investigate",
        "description": "Get complete details for an error group including stack context."
      },
      {
        "category": "Error Management",
        "name": "error_group_update_status",
        "description": "Change error group status (active, resolved, ignored, permanently_ignored)."
      },
      {
        "category": "Error Management",
        "name": "error_group_add_comment",
        "description": "Add investigation notes to an error group."
      },
      {
        "category": "Error Management",
        "name": "error_instances_browse",
        "description": "Browse individual error occurrences in a group."
      },
      {
        "category": "Error Management",
        "name": "error_instance_get_details",
        "description": "Get full stack trace and environment for an error instance."
      },
      {
        "category": "Deployments",
        "name": "deployments_list",
        "description": "List deployments for an application."
      },
      {
        "category": "Deployments",
        "name": "deployment_get_latest",
        "description": "Get the most recent deployment with related error groups."
      },
      {
        "category": "Deployments",
        "name": "deployment_investigate",
        "description": "Get comprehensive deployment information and related errors."
      },
      {
        "category": "Deployments",
        "name": "deployment_create",
        "description": "Create a deployment record for a software release."
      },
      {
        "category": "Customers & Sessions",
        "name": "customers_search",
        "description": "Search customers by name, email, or identifier."
      },
      {
        "category": "Customers & Sessions",
        "name": "customer_investigate",
        "description": "Get customer profile, recent error groups, and sessions."
      },
      {
        "category": "Customers & Sessions",
        "name": "sessions_list",
        "description": "List user sessions with environment and device data."
      },
      {
        "category": "Performance & Metrics",
        "name": "pages_list",
        "description": "List monitored pages for metrics queries."
      },
      {
        "category": "Performance & Metrics",
        "name": "metrics_website_performance_analyze",
        "description": "Track performance trends over time (load, paint, FID, page views)."
      },
      {
        "category": "Performance & Metrics",
        "name": "metrics_performance_distribution_analyze",
        "description": "Histogram analysis of performance metrics."
      },
      {
        "category": "Performance & Metrics",
        "name": "metrics_error_trends_analyze",
        "description": "Track error rates and patterns as time series."
      },
      {
        "category": "Team Management",
        "name": "invitations_manage",
        "description": "List and review team invitations."
      },
      {
        "category": "Team Management",
        "name": "invitation_send",
        "description": "Send a team invitation."
      },
      {
        "category": "Team Management",
        "name": "invitation_revoke",
        "description": "Cancel a pending invitation."
      }
    ],
    "examplePrompt": "Investigate the latest production errors after the last deploy.\n\nUse Raygun MCP to:\n1. Call deployment_get_latest (or deployments_list) for the app\n2. error_groups_list for new/regressed groups\n3. error_group_investigate + error_instance_get_details for stack/context\n4. customers_search / sessions_list if user impact is unclear\n5. Propose the smallest code change with a regression test and cite Raygun IDs"
  },
  "agentKit": {
    "url": "https://ai.raygun.com/prompts",
    "prompts": [
      {
        "id": "first-production-investigation",
        "title": "First production investigation",
        "body": "Investigate the latest production errors after the last deploy.\n\nUse Raygun MCP to:\n1. Call deployment_get_latest (or deployments_list) for the app\n2. error_groups_list for new/regressed groups\n3. error_group_investigate + error_instance_get_details for stack/context\n4. customers_search / sessions_list if user impact is unclear\n5. Propose the smallest code change with a regression test and cite Raygun IDs"
      },
      {
        "id": "latest-errors-after-deploy",
        "title": "Latest errors after deploy",
        "body": "Show me the most recent error groups in my Raygun applications after the latest deployment. Summarize blast radius and likely root cause with stack evidence."
      },
      {
        "id": "investigate-error-url",
        "title": "Investigate error URL",
        "body": "I will paste a Raygun error URL. Use Raygun MCP to investigate the error group, pull stack/instance context, and propose a minimal fix with a test."
      },
      {
        "id": "customer-escalation",
        "title": "Customer escalation",
        "body": "Search Raygun for customer \"{{email_or_id}}\", investigate their recent error groups and sessions, and draft a support-ready summary with links."
      },
      {
        "id": "performance-regression",
        "title": "Performance regression",
        "body": "Analyze website performance trends for the last 7 days for my top pages. Flag regressions and correlate with error trends if present."
      }
    ],
    "markdownMirrors": [
      "https://ai.raygun.com/index.md",
      "https://ai.raygun.com/mcp.md",
      "https://ai.raygun.com/api.md",
      "https://ai.raygun.com/get-started.md",
      "https://ai.raygun.com/prompts.md"
    ],
    "machineSurfaces": [
      "https://ai.raygun.com/llms.txt",
      "https://ai.raygun.com/llms-full.txt",
      "https://ai.raygun.com/site.json",
      "https://ai.raygun.com/rss.xml"
    ]
  }
}