stack/docs/src/app
Madison 8abf9472f2
mcp server and mcp browser for testing (#821)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Introduces an interactive documentation browser and MCP server for
testing, with new API handling and enriched API spec display.
> 
>   - **New Features**:
> - Adds `route.ts` to handle API requests for listing and retrieving
documentation using MCP.
> - Implements `McpBrowserPage` in `page.tsx` for interactive
documentation browsing.
> - Displays full documentation content and enriched API specs for API
pages.
>   - **Dependencies**:
> - Adds `@modelcontextprotocol/sdk`, `@vercel/mcp-adapter`, and
`posthog-node` to `package.json`.
>   - **Misc**:
>     - Integrates PostHog for analytics in `route.ts`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for a80967c8b5. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

----


<!-- ELLIPSIS_HIDDEN -->

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

* **New Features**
* Interactive documentation browser with list and detail panes,
selection, loading states, and user-friendly error messages.
* Shows full documentation content and, for API pages, enriched OpenAPI
details when available.

* **Chores**
* Added dependencies to enable the documentation browser, MCP backend
integration, and analytics (PostHog).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-08-11 17:17:41 -05:00
..
(home) Adds oauth providers, fixes bottom page navigation with mobile suppor… (#726) 2025-07-08 19:51:24 -07:00
api mcp server and mcp browser for testing (#821) 2025-08-11 17:17:41 -05:00
docs Fix types 2025-08-01 15:22:04 -07:00
js/[...path] Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00
llms.mdx/[[...slug]] Fix types 2025-08-01 15:22:04 -07:00
llms.txt Llms.txt (#724) 2025-06-27 13:28:55 -05:00
mcp-browser mcp server and mcp browser for testing (#821) 2025-08-11 17:17:41 -05:00
next/[...path] Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00
openapi/[...path] New docs (#698) 2025-06-20 13:30:01 -07:00
python/[...path] Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00
react/[...path] Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00
rest-api/[...path] Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00
robots.txt docs robots.txt 2025-08-11 14:20:18 -07:00
sitemap.xml implement sitemap.xml (#815) 2025-08-01 15:15:32 -07:00
favicon.ico Update favicons 2025-07-17 09:56:08 -07:00
global.css Docs updates (#753) 2025-07-11 10:00:02 -07:00
layout.config.tsx New docs (#698) 2025-06-20 13:30:01 -07:00
layout.tsx [Docs] posthog Integration (#761) 2025-07-14 13:49:36 -05:00
not-found.tsx Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00