Skip to content

Conversation

@Nlea
Copy link
Contributor

@Nlea Nlea commented Dec 4, 2025

Update docs

Summary by CodeRabbit

  • Documentation
    • Reorganized MCP Gateway docs: sidebar relabeled from "Core Concepts" to "Reference" and navigation consolidated around reference topics
    • Removed multiple Core Concepts and Features pages (server management, interfaces, activity logging, CLI options, storage, terminal/web UIs, troubleshooting, examples)
    • Replaced Getting Started with a streamlined MDX quickstart
    • Added new reference pages: CLI, Authentication, Proxy, REST API, Gateway MCP Server, Storage, and Web UI

✏️ Tip: You can customize this high-level summary in your review settings.


Note

Reorganizes MCP Gateway docs around a consolidated Reference, adds dedicated reference pages, updates sidebar/nav, replaces Getting Started with interactive MDX, and revises Overview with architecture and endpoints.

  • Docs IA (navigation):
    • Update astro.config.ts sidebar: replace "Core Concepts"/"Features" with Reference anchors (/mcp-gateway/reference#...).
  • Content additions/updates:
    • New src/content/docs/mcp-gateway/getting-started.mdx: tabbed installers, step-by-step quickstart, images, and next steps.
    • Revise src/content/docs/mcp-gateway/index.md: clarified overview, add architecture diagram, and endpoints table.
    • Add consolidated src/content/docs/mcp-gateway/reference.md covering CLI, Authentication, Proxy, Storage, Web UI, REST API, and Gateway MCP server.
    • Add granular reference pages under src/content/docs/mcp-gateway/references/: cli.md, authentication.md, proxy.md, rest-api.md, gateway-mcp-server.md, storage.md, web-ui.md.
  • Removals (legacy docs):
    • Delete core-concepts/* and features/* pages (e.g., server-management.md, activity-logging.md, interfaces.md, terminal-ui.md, web-interface.md, cli-options.md, storage.md) and troubleshooting.md.

Written by Cursor Bugbot for commit a7ce2a6. This will update automatically on new commits. Configure here.

Nlea added 3 commits December 4, 2025 10:43
- Consolidate all reference content into single reference.md page
- Move individual reference files from reference/ to references/
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 4, 2025

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Restructures MCP Gateway docs and navigation: removes several "Core Concepts" and "Features" pages, adds a consolidated "Reference" section with modular reference pages (CLI, Storage, Authentication, Proxy, REST API, Gateway MCP Server, Web UI), converts Getting Started to MDX, and updates astro.config.ts.

Changes

Cohort / File(s) Summary
Configuration & Navigation
astro.config.ts
Replace "Core Concepts" / "Features" sidebar sections with a consolidated "Reference" section and add new subsection entries (CLI, Storage, Authentication, Proxy, REST API, Gateway MCP Server, Web UI).
Added: Consolidated Reference Docs
src/content/docs/mcp-gateway/reference.md, src/content/docs/mcp-gateway/references/*
Add central reference.md and modular reference pages: authentication.md, cli.md, gateway-mcp-server.md, proxy.md, rest-api.md, storage.md, web-ui.md.
Getting Started & Overview
src/content/docs/mcp-gateway/getting-started.mdx, src/content/docs/mcp-gateway/index.md
Add MDX-based Getting Started (tabs, steps, images) and rewrite index.md to an architecture/endpoints-focused overview.
Deleted: Legacy Core Concepts
src/content/docs/mcp-gateway/core-concepts/*
Remove legacy core-concepts pages: activity-logging.md, interfaces.md, server-management.md.
Deleted: Legacy Features / UI Guides
src/content/docs/mcp-gateway/features/*
Remove legacy features/UI pages: cli-options.md, storage.md, terminal-ui.md, web-interface.md.
Deleted: Troubleshooting & Misc
src/content/docs/mcp-gateway/troubleshooting.md, src/content/docs/mcp-gateway/getting-started.md, src/content/docs/reference/example.md
Remove old troubleshooting guide, previous Getting Started markdown, and a standalone reference example page.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Verify deletions are intentional and that content is covered by the new reference pages.
  • Check astro.config.ts sidebar entries match new file paths and front-matter titles.
  • Validate MDX components (Tabs, Steps, images) in getting-started.mdx.
  • Confirm front-matter consistency across new reference pages.

Possibly related PRs

Suggested reviewers

  • brettimus

Poem

🐰 I hopped through piles of pages torn,

I stitched a reference at the morn,
CLI, Storage, Web UI bright,
Getting-started learned to light,
The sidebar sings — docs reborn 🌿

Pre-merge checks and finishing touches

❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Docs' is too vague and generic, using a non-descriptive term that does not convey meaningful information about the specific changeset despite substantial reorganization of MCP Gateway documentation. Use a more specific title that captures the main intent, such as 'Reorganize MCP Gateway docs: consolidate to reference structure' or 'Restructure MCP Gateway documentation with new reference pages'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f95ffaa and 4e16b25.

📒 Files selected for processing (3)
  • src/content/docs/mcp-gateway/index.md (1 hunks)
  • src/content/docs/mcp-gateway/reference.md (1 hunks)
  • src/content/docs/mcp-gateway/references/proxy.md (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/content/docs/mcp-gateway/references/proxy.md
🧰 Additional context used
🪛 Gitleaks (8.30.0)
src/content/docs/mcp-gateway/reference.md

[high] 37-37: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.

(curl-auth-header)

🔇 Additional comments (3)
src/content/docs/mcp-gateway/index.md (1)

1-74: ✅ Prior issues have been resolved.

The file now includes the required language specifier on the ASCII diagram (text at line 21) and uses the correct anchor-based reference link (#cli at line 74) that aligns with the new consolidated Reference structure. Both prior MD040 and link path issues are addressed.

src/content/docs/mcp-gateway/reference.md (2)

6-111: ✅ Prior MD040 issues resolved; comprehensive reference structure.

All fenced code blocks now include proper language specifiers (bash, json, text). The previous issues at lines 47 and 69 have been fixed. Content is well-organized with clear sections on CLI, Authentication, Proxy, Storage, Web UI, REST API, and Gateway MCP server.


37-37: Gitleaks flag is a false positive—no action needed.

The Gitleaks scanner flagged line 37 as a potential authorization token leak. However, this is example documentation using clearly labeled placeholder tokens (YOUR_TOKEN, TOKEN). This is the correct pattern for reference documentation and does not represent an actual credential.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🧹 Nitpick comments (2)
src/content/docs/mcp-gateway/references/storage.md (1)

8-13: Add a language identifier to the storage layout code block

Markdownlint flagged this fenced block for missing a language. Adding one (e.g. text) will avoid MD040 and help tooling.

-```
+```text
 ~/.mcp-gateway/
 ├── mcp.json     # Server registry
 ├── logs.db      # SQLite traffic logs
 └── logs.db-*    # SQLite files
-```
+```
src/content/docs/mcp-gateway/getting-started.mdx (1)

60-63: Add a language to the Claude CLI snippet for consistency

For the Claude example, adding bash to the fenced block will match the other command examples and aid syntax highlighting:

-   ```
+   ```bash
    claude mcp add --transport http "linear-mcp" \
    "http://localhost:3333/s/linear-mcp/mcp"
    ```
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 60ca090 and a7ce2a6.

⛔ Files ignored due to path filters (4)
  • src/assets/add-mcp-server-form.png is excluded by !**/*.png
  • src/assets/adding-mcp-server.png is excluded by !**/*.png
  • src/assets/mcp-server-logs.png is excluded by !**/*.png
  • src/assets/terminal-output.png is excluded by !**/*.png
📒 Files selected for processing (21)
  • astro.config.ts (1 hunks)
  • src/content/docs/mcp-gateway/core-concepts/activity-logging.md (0 hunks)
  • src/content/docs/mcp-gateway/core-concepts/interfaces.md (0 hunks)
  • src/content/docs/mcp-gateway/core-concepts/server-management.md (0 hunks)
  • src/content/docs/mcp-gateway/features/cli-options.md (0 hunks)
  • src/content/docs/mcp-gateway/features/storage.md (0 hunks)
  • src/content/docs/mcp-gateway/features/terminal-ui.md (0 hunks)
  • src/content/docs/mcp-gateway/features/web-interface.md (0 hunks)
  • src/content/docs/mcp-gateway/getting-started.md (0 hunks)
  • src/content/docs/mcp-gateway/getting-started.mdx (1 hunks)
  • src/content/docs/mcp-gateway/index.md (1 hunks)
  • src/content/docs/mcp-gateway/reference.md (1 hunks)
  • src/content/docs/mcp-gateway/references/authentication.md (1 hunks)
  • src/content/docs/mcp-gateway/references/cli.md (1 hunks)
  • src/content/docs/mcp-gateway/references/gateway-mcp-server.md (1 hunks)
  • src/content/docs/mcp-gateway/references/proxy.md (1 hunks)
  • src/content/docs/mcp-gateway/references/rest-api.md (1 hunks)
  • src/content/docs/mcp-gateway/references/storage.md (1 hunks)
  • src/content/docs/mcp-gateway/references/web-ui.md (1 hunks)
  • src/content/docs/mcp-gateway/troubleshooting.md (0 hunks)
  • src/content/docs/reference/example.md (0 hunks)
💤 Files with no reviewable changes (10)
  • src/content/docs/mcp-gateway/features/cli-options.md
  • src/content/docs/mcp-gateway/core-concepts/activity-logging.md
  • src/content/docs/mcp-gateway/features/terminal-ui.md
  • src/content/docs/mcp-gateway/features/web-interface.md
  • src/content/docs/mcp-gateway/core-concepts/interfaces.md
  • src/content/docs/mcp-gateway/features/storage.md
  • src/content/docs/mcp-gateway/troubleshooting.md
  • src/content/docs/mcp-gateway/getting-started.md
  • src/content/docs/mcp-gateway/core-concepts/server-management.md
  • src/content/docs/reference/example.md
🧰 Additional context used
🪛 Gitleaks (8.30.0)
src/content/docs/mcp-gateway/references/authentication.md

[high] 12-12: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.

(curl-auth-header)

🪛 markdownlint-cli2 (0.18.1)
src/content/docs/mcp-gateway/references/storage.md

8-8: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

src/content/docs/mcp-gateway/references/proxy.md

8-8: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

src/content/docs/mcp-gateway/reference.md

47-47: Fenced code blocks should have a language specified

(MD040, fenced-code-language)


69-69: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

src/content/docs/mcp-gateway/index.md

21-21: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (6)
src/content/docs/mcp-gateway/references/web-ui.md (1)

1-15: Clear concise overview of Web UI features

The access URL, feature list, and real‑time behavior are described clearly and consistently with the rest of the reference docs. No changes needed.

src/content/docs/mcp-gateway/references/authentication.md (1)

1-16: Authentication model and examples look solid

The separation between authenticated core endpoints and unauthenticated proxy endpoints is clear, and examples use safe placeholders (YOUR_TOKEN). This page fits cleanly with the rest of the gateway reference.

src/content/docs/mcp-gateway/references/cli.md (1)

1-25: CLI flags and environment mapping are well documented

The options table and examples (including the MCP_GATEWAY_TOKEN usage) are clear and succinct, and the “flags override env vars” note removes ambiguity. No changes needed.

src/content/docs/mcp-gateway/references/gateway-mcp-server.md (1)

1-17: Gateway MCP tools table is clear and actionable

Endpoint, auth requirement, and the available tools are documented in a compact, easy‑to‑scan way. This should be enough for users to discover gateway‑level automation capabilities.

src/content/docs/mcp-gateway/references/rest-api.md (1)

1-62: REST API endpoints and examples are well covered

Endpoint descriptions, query parameters, and curl/JSON examples are coherent and consistent with the authentication model described elsewhere. Looks good as a primary reference.

astro.config.ts (1)

141-166: Updated MCP Gateway “Reference” sidebar looks consistent

The new “Reference” group with CLI, Storage, Authentication, Proxy, REST API, Gateway MCP Server, and Web UI entries matches the structure of the new reference content and should give users a clear map of the gateway surface.

@mies
Copy link
Contributor

mies commented Dec 4, 2025

bugbot run!

@cursor
Copy link

cursor bot commented Dec 4, 2025

Skipping Bugbot: Bugbot is disabled for this repository

@mies
Copy link
Contributor

mies commented Dec 4, 2025

@codex review

@mies
Copy link
Contributor

mies commented Dec 4, 2025

bugbot run!

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!


Copy link

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

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.

ℹ️ 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 on lines +50 to +54
- Go to **Manage Servers** in the right sidebar, then click **Add Server**.
![Adding an MCP server via Web UI](/src/assets/adding-mcp-server.png)

- Fill in the server details
![Form to add an MCP server](/src/assets/add-mcp-server-form.png)

Choose a reason for hiding this comment

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

P2 Badge Serve screenshots from build-visible paths

The screenshots are referenced with absolute /src/assets/... URLs, but the images were added under src/assets and that directory is not served in the built site (only public/ or processed /assets/ outputs are). As a result, these screenshots will render as 404s (same pattern on lines 51, 54, and 68). Import the assets or move them under public so the images resolve.

Useful? React with 👍 / 👎.

Nlea and others added 2 commits December 4, 2025 16:11
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@Nlea Nlea merged commit 8ec3a5c into main Dec 10, 2025
2 checks passed
@Nlea Nlea deleted the docs branch December 10, 2025 09:26
@coderabbitai coderabbitai bot mentioned this pull request Dec 11, 2025
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.

3 participants