# Heystack > Keep your app working: app health and security for AI-built software. Apps send telemetry (OpenTelemetry) to Heystack; people read it in the console at https://console.heystack.dev; coding agents read and act on it through the hosted MCP server. Heystack is never in the request path. Every docs page below is available as raw Markdown at the listed `.md` URL. The full set is concatenated in https://heystack.dev/llms-full.txt. ## For agents - [MCP server endpoint](https://mcp.heystack.dev/mcp): Streamable HTTP, OAuth 2.1 (sign in with Heystack) or `Authorization: Bearer hs_pat_…`. Toolsets via `?toolsets=core|manage|team|advanced|all`, `?readonly=true`. - [Connect: Claude Code](https://heystack.dev/docs/mcp.md#claude-code): `claude mcp add --transport http heystack https://mcp.heystack.dev/mcp` - [Plugin (Claude Code)](https://github.com/heystack-hq/heystack-plugins): `/plugin marketplace add heystack-hq/heystack-plugins` then `/plugin install heystack@heystack` — MCP server + skills. - [heystack-setup skill](https://heystack.dev/heystack-setup.md): wire the SDK for the detected runtime (Next.js, Cloudflare Workers, Node, browser, Android). - [heystack-investigate skill](https://heystack.dev/heystack-investigate.md): the investigation loop using the MCP tools. - [REST API base URL](https://ingest.heystack.dev/api): same personal access tokens; see the REST API page. ## Getting started - [Introduction](https://heystack.dev/docs/introduction.md): Keep your app working: app health and security for AI-built software. Works with Next.js, Node.js, Cloudflare Workers, browser apps, iOS and Android. On Cloudflare, the… - [Quickstart](https://heystack.dev/docs/quickstart.md): Get your app reporting to Heystack in a few minutes. Start with the runtime that handles your request, then add the application context that makes its telemetry useful. - [Core concepts](https://heystack.dev/docs/concepts.md): A quick mental model of how Heystack organizes your data. ## Guides - [Monitor a Lovable app](https://heystack.dev/docs/monitor-lovable-app.md): Know when your Lovable app breaks for real visitors: see the errors they hit, watch what they did before it happened, and hand that evidence to your coding agent. - [Monitor a Bolt app](https://heystack.dev/docs/monitor-bolt-app.md): Find out when your Bolt app fails for the people using it: see the errors they hit and replays of their visits, and give your coding agent the evidence to fix it. - [Monitor a v0 app](https://heystack.dev/docs/monitor-v0-app.md): Watch the Next.js app you built with v0 once real people use it: failing requests, errors, slow requests, AI costs and visit replays, with evidence your coding agent can act on. - [Monitor a Replit app](https://heystack.dev/docs/monitor-replit-app.md): Keep an eye on the app Replit Agent built for you after you deploy it: see failing requests, errors and slow spots, replays of visits, and hand the evidence to your coding agent. - [Find out why your AI app is slow or expensive](https://heystack.dev/docs/ai-app-slow-or-expensive.md): See what each AI call costs, how long it takes and which page or feature made it, so you can find the slow or expensive part of your AI app before your users or your bill do. - [Give Cursor or Claude Code your production errors](https://heystack.dev/docs/coding-agent-production-errors.md): Connect your coding agent to Heystack so it can read the errors, failing requests and visits behind a problem in your live app, and fix it from real evidence, not guesses. ## SDK & frameworks - [The SDK](https://heystack.dev/docs/sdk.md): @heystack/otel is runtime-aware telemetry that exports to Heystack. There's one import per runtime, so the root entry stays safe to load anywhere (including Edge and Workers)… - [Next.js](https://heystack.dev/docs/nextjs.md): Use the @heystack/otel/next entry for any Next.js deploy target — Vercel/Node and Cloudflare/OpenNext alike. registerHeystack is runtime-aware: it auto-detects Node vs Cloudflare… - [Cloudflare Workers](https://heystack.dev/docs/cloudflare-workers.md): Heystack uses Cloudflare's native OpenTelemetry export as the default Workers integration. Cloudflare creates the invocation tree, supplies platform-owned coverage for supported… - [Cloudflare frameworks](https://heystack.dev/docs/cloudflare-frameworks.md): How to wire Heystack into a framework that runs on Cloudflare Workers. In every case the Worker deploys with Cloudflare's native trace and log export enabled, and the SDK adds… - [Cloudflare platforms](https://heystack.dev/docs/cloudflare-platforms.md): Cloudflare products that sit next to or around Workers: Containers, Pages Functions and Workers for Platforms. Each needs a slightly different setup. See Cloudflare Workers for… - [Node.js](https://heystack.dev/docs/nodejs.md): For a long-running Node server — Express, Fastify, NestJS, or plain Node — use the @heystack/otel/node entry. initHeystack bundles auto-instrumentations (HTTP and common… - [AI frameworks](https://heystack.dev/docs/ai-frameworks.md): AI & Safety in the console shows your app's AI calls. It shows: - how many calls there were and which models they used; - tokens, cost and failures; - how long each call took,… - [AI gateways](https://heystack.dev/docs/ai-gateways.md): An AI gateway sits between your app and the model provider. It routes calls, caches answers, limits spend and keeps its own log. Heystack is never a gateway or a proxy: your… - [Android](https://heystack.dev/docs/android.md): Heystack accepts Android product telemetry as standard OpenTelemetry logs over OTLP/HTTP. There is no Heystack Android SDK to install: use your app's existing HTTP client and… - [OpenTelemetry Collector](https://heystack.dev/docs/collector.md): If you already run an OpenTelemetry Collector — or you have non-JavaScript services (Go, Python, Java, Ruby, etc.) that already emit OTLP — you can route telemetry straight to… ## Platform - [The console](https://heystack.dev/docs/console.md): The Heystack console opens on Home, which answers "is my app OK?" for the apps in your active organisation: journey health, key numbers, the issues that need your attention and a… - [What changed](https://heystack.dev/docs/whats-changed.md): The console now has one design, with seven places in the menu: Home, Issues, Investigations, Users & sessions, AI & Safety, Explore and Settings. Everything you could do before… - [Product activity](https://heystack.dev/docs/product-activity.md): Users & sessions › Activity connects product usage with operational evidence. Start with stable events such as signup.completed, report.exported, or checkout.failed. Tag a… - [AI health](https://heystack.dev/docs/ai-health.md): AI & Safety › Health answers one question: are your app's AI answers OK? It shows a status, what went wrong, what changed, and what it cost. Nothing to set up beyond sending your… - [People data](https://heystack.dev/docs/connectors.md): Heystack knows your users by the id your app sends. Connect the service your app already signs people in with, and Users & sessions, an issue's affected users and the people… - [Key events](https://heystack.dev/docs/key-events.md): A key event is a moment that matters in your app: someone signs up, checks out, uploads a file or invites a teammate. Tell Heystack which moments matter, and it counts each one… - [Security](https://heystack.dev/docs/security.md): Heystack Security gives an application one place to define, publish, and investigate AI policy without putting Heystack in front of its model provider. Provider traffic stays… - [App Care](https://heystack.dev/docs/app-care.md): App Care watches the customer journeys you choose, keeps evidence when an outcome fails, and can carry a supported repair through preparation, approval, deployment, and verified… - [GitHub recovery](https://heystack.dev/docs/recovery-connector.md): The GitHub recovery connector lets App Care prepare a reviewable pull request or immutable change set and—under the policy you choose—run a separately approved execute phase.… - [Teams & organizations](https://heystack.dev/docs/teams-and-organizations.md): Heystack is built for teams. When you sign up, we automatically create a workspace for you — your own private space where all your apps and their data live. - [Session Replay](https://heystack.dev/docs/replay.md): See exactly what your users saw. Heystack records real user sessions — clicks, scrolls, page transitions, and on-screen errors — so you can watch a replay when something goes… - [Crash Reporting](https://heystack.dev/docs/crash-reporting.md): Heystack automatically groups, symbolicates, and surfaces native crashes from your iOS app. When your app crashes, the next launch captures the crash report and sends it to… - [Linking into the console](https://heystack.dev/docs/deep-links.md): Every page in the Heystack console is addressable by URL, so another tool (an internal ops page, a runbook, an alert message, a chat bot) can drop someone straight onto the right… ## Agents & API - [MCP server](https://heystack.dev/docs/mcp.md): Let your coding agent investigate and fix issues for you. The Heystack MCP server connects ChatGPT, Claude Code, Cursor, VS Code, Codex, Gemini CLI, Claude.ai and any other… - [Agent playbooks](https://heystack.dev/docs/agent-playbooks.md): Copy-paste prompts for any coding agent connected to the Heystack MCP server. Each one names the tools it leans on so you can see what the agent is doing — and so you can hand… - [REST API & read keys](https://heystack.dev/docs/api.md): Everything the console and the MCP server can do is available as a plain HTTPS API — for health checks, status pages, internal dashboards, CI checks, scripts, and autonomous… ## Comparisons - [Heystack vs Sentry](https://heystack.dev/docs/heystack-vs-sentry.md): Sentry is a mature error and performance monitoring tool for software teams. Heystack is built for people running AI-built apps. Here is an honest look at where each one fits. - [Heystack vs PostHog](https://heystack.dev/docs/heystack-vs-posthog.md): PostHog is a broad product analytics platform for how people use your product. Heystack is built to keep an AI-built app working. An honest look at where each one fits. - [Heystack vs Langfuse](https://heystack.dev/docs/heystack-vs-langfuse.md): Langfuse is an open-source platform for improving the AI part of your app. Heystack keeps the whole AI-built app working, AI included. An honest look at where each one fits. ## Optional - [SDK on npm](https://www.npmjs.com/package/@heystack/otel): `@heystack/otel` — runtime-aware entries `/node`, `/next`, `/workers`, `/web`. - [Console](https://console.heystack.dev): Home, Issues, Investigations, Users & sessions, AI & Safety, Explore and Settings (keys, personal access tokens and read keys under Settings › Organisation › Coding agents & API).