stack/docs-mintlify/docs.json
Mantra 9102b3db75
[Feat] Hexclave AI integration: skill, MCP SKILL.md route, docs (#1434)
## Summary
- Adds a `hexclave` SKILL.md pointer skill that fetches the live skill
body on every invocation
- Adds an `/SKILL.md` route on the MCP app that renders the full skill
(CLI usage + docs sidebar generated from `docs.json`)
- Expands `docs-mintlify/guides/getting-started/ai-integration.mdx` with
three install paths (CLI, Skill, MCP) and per-agent config snippets
- Updates `packages/stack-shared/src/helpers/init-prompt.ts` to install
both the MCP server and skill file, with per-project vs global scope
detection

## Test plan
- [ ] `pnpm typecheck`
- [ ] `pnpm lint`
- [ ] Hit the MCP app's `/SKILL.md` endpoint locally and verify it
returns valid markdown with the full docs sidebar
- [ ] Render the updated `ai-integration.mdx` in Mintlify preview and
confirm tabs/cards render

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Rewrote the AI integration guide with complete, user-facing
instructions for connecting Stack Auth to coding agents; removed the
separate MCP setup page and updated site navigation.
* Added the canonical Stack Auth skill content and guidance that clients
should fetch the latest skill at runtime.

* **New Features**
* MCP now serves the canonical Stack Auth skill dynamically and provides
interactive skill responses.
* Init prompts now include full MCP + skill install workflows and scope
guidance.
  * Added a health-check endpoint.

* **Chores**
* Added scaffold and configs for a new skills app (build, dev, lint, and
type settings).

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/hexclave/stack-auth/pull/1434?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-05-15 14:30:23 -07:00

235 lines
7.0 KiB
JSON

{
"$schema": "https://mintlify.com/docs.json",
"name": "Stack Auth Documentation",
"theme": "mint",
"logo": {
"dark": "/images/logo-dark.svg",
"light": "/images/logo-light.svg"
},
"favicon": "/images/favicon.ico",
"colors": {
"primary": "#6b5df7",
"light": "#8b7cf9",
"dark": "#6b5df7"
},
"background": {
"color": {
"dark": "#09090b"
}
},
"fonts": {
"heading": {
"family": "Geist",
"weight": 500
},
"body": {
"family": "Geist",
"weight": 400
}
},
"navbar": {
"links": [
{
"type": "github",
"href": "https://github.com/stack-auth/stack-auth"
}
],
"primary": {
"type": "button",
"label": "Dashboard",
"href": "https://app.stack-auth.com"
}
},
"navigation": {
"tabs": [
{
"tab": "Documentation",
"pages": [
"index",
"guides/faq",
{
"group": "Getting Started",
"pages": [
"guides/getting-started/setup",
"guides/getting-started/user-fundamentals",
"guides/getting-started/ai-integration"
]
},
{
"group": "Going Further",
"pages": [
"guides/going-further/stack-app",
"guides/going-further/backend-integration",
"guides/going-further/cli",
"guides/going-further/local-emulator",
"guides/going-further/local-development",
"guides/going-further/user-metadata"
]
},
{
"group": "Apps",
"pages": [
{
"group": "Authentication",
"icon": "/images/app-icons/authentication.svg",
"pages": [
"guides/apps/authentication/overview",
"guides/apps/authentication/user-onboarding",
"guides/apps/authentication/connected-accounts",
"guides/apps/authentication/jwts",
"guides/apps/authentication/sign-up-rules",
"guides/apps/authentication/cli-authentication",
{
"group": "All Auth Providers",
"root": "guides/apps/authentication/auth-providers",
"pages": [
"guides/apps/authentication/auth-providers/apple",
"guides/apps/authentication/auth-providers/bitbucket",
"guides/apps/authentication/auth-providers/discord",
"guides/apps/authentication/auth-providers/facebook",
"guides/apps/authentication/auth-providers/github",
"guides/apps/authentication/auth-providers/gitlab",
"guides/apps/authentication/auth-providers/google",
"guides/apps/authentication/auth-providers/linkedin",
"guides/apps/authentication/auth-providers/microsoft",
"guides/apps/authentication/auth-providers/passkey",
"guides/apps/authentication/auth-providers/spotify",
"guides/apps/authentication/auth-providers/twitch",
"guides/apps/authentication/auth-providers/two-factor-auth",
"guides/apps/authentication/auth-providers/x-twitter"
]
}
]
},
"guides/apps/emails/overview",
"guides/apps/payments/overview",
"guides/apps/analytics/overview",
{
"group": "Teams",
"icon": "/images/app-icons/teams.svg",
"pages": [
"guides/apps/teams/overview",
"guides/apps/teams/team-selection"
]
},
"guides/apps/fraud-protection/overview",
"guides/apps/rbac/overview",
"guides/apps/api-keys/overview",
"guides/apps/data-vault/overview",
"guides/apps/webhooks/overview",
"guides/apps/launch-checklist/overview"
]
},
{
"group": "Integrations",
"pages": [
"guides/integrations/tanstack-start/overview",
"guides/integrations/supabase/overview",
"guides/integrations/convex/overview",
"guides/integrations/vercel/overview"
]
},
{
"group": "Other",
"pages": [
"guides/other/self-host",
"guides/other/known-errors",
{
"group": "Tutorials",
"pages": [
"guides/other/tutorials/build-a-saas-with-stack-auth",
"guides/other/tutorials/build-a-team-based-app",
"guides/other/tutorials/ship-production-ready-auth"
]
},
"guides/other/showcase"
]
}
]
},
{
"tab": "SDK Reference",
"pages": [
"sdk/overview",
{
"group": "Objects",
"pages": ["sdk/objects/stack-app"]
},
{
"group": "Types",
"pages": [
"sdk/types/user",
"sdk/types/team",
"sdk/types/team-user",
"sdk/types/team-permission",
"sdk/types/team-profile",
"sdk/types/contact-channel",
"sdk/types/email",
"sdk/types/api-key",
"sdk/types/project",
"sdk/types/connected-account",
"sdk/types/item",
"sdk/types/customer"
]
},
{
"group": "Hooks",
"pages": ["sdk/hooks/use-stack-app", "sdk/hooks/use-user"]
}
]
},
{
"tab": "REST API",
"pages": [
"api/overview",
{
"group": "Client API",
"openapi": {
"source": "openapi/client.json",
"directory": "api/client"
}
},
{
"group": "Server API",
"openapi": {
"source": "openapi/server.json",
"directory": "api/server"
}
},
{
"group": "Admin API",
"openapi": {
"source": "openapi/admin.json",
"directory": "api/admin",
"hidden": "true"
}
},
{
"group": "Webhooks",
"openapi": {
"source": "openapi/webhooks.json",
"directory": "api/webhooks"
}
}
]
}
]
},
"footer": {
"socials": {
"x": "https://x.com/stack_auth",
"github": "https://github.com/stack-auth/stack",
"discord": "https://discord.stack-auth.com"
}
},
"seo": {
"metatags": {
"robots": "noindex"
}
},
"settings": {
"customScripts": ["/apps-sidebar-filter.js"]
},
"redirects": []
}