stack/docs/src/app
Mantra 39b2f56ff1
mcp / tools update + internal tool (#1283)
- Added new internal API endpoint for documentation tools, allowing
actions such as listing available docs, searching, and fetching specific
documentation by ID.
- Updated environment configuration to support optional internal secret
for enhanced security.
- Refactored existing search functionality to utilize the new docs tools
API instead of the previous MCP server.
- Improved error handling and response parsing for documentation-related
requests.
- Expanded documentation to clarify the relationship between the new
tools and existing API functionalities.

This update streamlines the documentation access process and enhances
the overall developer experience.

<!--

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

-->


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

* **New Features**
* Non-stream AI responses now include a consolidated finalText for
clearer answers.
* Added an internal docs-tools HTTP API to power doc listing, search,
and fetch with optional header-based access control and configurable
service origin.

* **Refinement**
* Consolidated multiple doc tooling paths into a single question-focused
flow; backend now routes to the unified docs-tools endpoint.

* **Documentation**
* Updated guides and knowledge base to describe the new docs query flow
and optional env configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 23:32:22 +00:00
..
api mcp / tools update + internal tool (#1283) 2026-04-12 23:32:22 +00:00
api-embed [Docs][Site] + [Dashboard][UI] - Adds docs to Stack Companion (#869) 2025-10-30 20:01:30 -05:00
docs [Docs][Content] Github install, UI changes, platform selection (#1098) 2026-01-20 11:49:08 -06:00
docs-embed [Docs][Site] + [Dashboard][UI] - Adds docs to Stack Companion (#869) 2025-10-30 20:01:30 -05:00
handler/[...stack] [Docs][site] - Add signin functionality (#876) 2025-09-10 01:32:10 -05: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 / tools update + internal tool (#1283) 2026-04-12 23:32:22 +00: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][dashboard][stack-shared] Update docs to new apps (#996) 2025-11-12 15:45:30 -06:00
layout.config.tsx New docs (#698) 2025-06-20 13:30:01 -07:00
layout.tsx Upgrade PostHog 2026-01-30 23:38:06 -08:00
loading.tsx Remove Loading in docs 2025-09-28 14:40:59 -05:00
not-found.tsx Fix docs 404 for once and for all 2025-08-01 15:13:59 -07:00