Skip to content

docs: document the public docs MCP server - #718

Open
nnayz wants to merge 3 commits into
strukto-ai:mainfrom
nnayz:docs/mcp-server
Open

docs: document the public docs MCP server#718
nnayz wants to merge 3 commits into
strukto-ai:mainfrom
nnayz:docs/mcp-server

Conversation

@nnayz

@nnayz nnayz commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Closes #711

Closes the "docs MCP server" ask: rather than standing up a new server, this validates and documents the one Mintlify already generates from docs.json's contextual.options: ["mcp"].

Verified live against https://docs.mirage.strukto.ai/mcp:

  • search_mirage — natural-language search, returns titles, canonical URLs, and excerpts.

  • query_docs_filesystem_mirage — read-only shell (cat/head/rg/tree) over the docs' .mdx/OpenAPI content, i.e. page retrieval as Markdown.

  • submit_feedback — reports a bad/outdated page to the docs team.

  • A mintlify://skills/struktoai MCP resource exposing an auto-generated Claude-Skill-style quick reference.

  • No auth, no session handshake (stateless), no access to a user's workspace or credentials.

  • docs/home/docs-mcp.mdx — new page (wired into the Home nav's Learn group) with setup snippets for Claude Code, Codex, Cursor, and VS Code, a tools table, and a section explicitly distinguishing this from the workspace MCP server (MirageServer / createMirageMcpServer) that agent-SDK integrations already expose.

  • scripts/check_docs_mcp.py — stdlib-only smoke test: calls the live endpoint, asserts a known page (/home/install.mdx) retrieves correctly and that search surfaces its canonical URL.

  • .github/workflows/test_docs_mcp.yml — runs that check on PRs touching docs/docs.json/the script, daily on a schedule, and on manual dispatch, so a broken deployment fails CI instead of silently degrading every connected agent.

Test plan

  • ./python/.venv/bin/pre-commit run --files docs/docs.json docs/home/docs-mcp.mdx scripts/check_docs_mcp.py .github/workflows/test_docs_mcp.yml
  • python3 scripts/check_docs_mcp.py against the live endpoint — passes
  • CI run on this PR (workflow triggers on changes to docs/docs.json and the script)

🤖 Generated with Claude Code

@nnayz
nnayz requested a review from zechengz as a code owner August 6, 2026 08:25

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 92fbfa9560

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/check_docs_mcp.py Outdated
Comment thread .github/workflows/test_docs_mcp.yml
Comment thread docs/home/docs-mcp.mdx Outdated
Mintlify's contextual mcp option already serves a working, read-only MCP
server over the docs site (search + page retrieval + canonical links),
so this documents it and distinguishes it from the workspace MCP server
instead of building a new one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@nnayz
nnayz force-pushed the docs/mcp-server branch from 92fbfa9 to 300fc97 Compare August 9, 2026 11:00
@nnayz

nnayz commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 2bcb29393f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Expose and document a public MCP server for Mirage documentation

1 participant