Skip to content

MCP Server Documentation#8

Open
Baldur-Hua-ai20labs wants to merge 3 commits into
zerogpu:mainfrom
Baldur-Hua-ai20labs:mcp-server-doc
Open

MCP Server Documentation#8
Baldur-Hua-ai20labs wants to merge 3 commits into
zerogpu:mainfrom
Baldur-Hua-ai20labs:mcp-server-doc

Conversation

@Baldur-Hua-ai20labs

@Baldur-Hua-ai20labs Baldur-Hua-ai20labs commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds ZeroGPU MCP integration documentation.

Details

  • Discovered all available MCP tools dynamically via the ZeroGPU MCP endpoint
  • Documented 11 tools with descriptions, parameters, and examples
  • Added authentication and connection examples using placeholders
  • Included a worked example for the summarize tool
  • Integrated page into navigation and docs.json

Notes

  • Tool definitions were retrieved and validated via live MCP calls
  • No credentials are included in the documentation

jira

Summary by CodeRabbit

  • New Features

    • Added MCP Server integration to connect MCP clients to ZeroGPU's nano models with 11 available tools
  • Documentation

    • Comprehensive MCP integration guide covering authentication requirements, handshake usage, tool catalog, worked examples, and troubleshooting

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Baldur-Hua-ai20labs, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 52 minutes and 29 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 17f2d965-9b8a-4848-977e-bdf792177ede

📥 Commits

Reviewing files that changed from the base of the PR and between 598d1a8 and 09cda32.

📒 Files selected for processing (1)
  • docs.json
📝 Walkthrough

Walkthrough

Adds a new MCP Server documentation page (integrations/mcp.mdx) covering authentication, an 11-tool zerogpu_* catalog, a worked example, usage patterns, troubleshooting, and a conclusion. Registers the page in docs.json navigation and adds a card to integrations/index.mdx.

Changes

MCP Server Integration Documentation

Layer / File(s) Summary
Navigation registration and index card
docs.json, integrations/index.mdx
Inserts integrations/mcp into the Integrations nav group and adds an MCP Server <Card> (with icon and description) to the Editor & Agent Integrations <CardGroup>.
Page frontmatter, intro, and authentication setup
integrations/mcp.mdx
Defines MDX frontmatter, introductory MCP/ZeroGPU positioning, Overview section with video placeholder, prerequisites, steps to obtain an API key and project ID, and remote server header configuration with a Claude Code example.
First request walkthrough and tool conventions
integrations/mcp.mdx
Documents the curl-based initialize/mcp-session-id flow and zerogpu_health check with an example response shape; introduces MCP tool naming, arguments object, and auto-invocation conventions.
Full zerogpu_* tool catalog
integrations/mcp.mdx
Documents all 11 zerogpu_* tools (zerogpu_health, zerogpu_summarize, zerogpu_classify_iab, zerogpu_classify_zero_shot, zerogpu_classify_structured, zerogpu_extract_entities, zerogpu_extract_json, zerogpu_redact_pii, zerogpu_extract_pii, zerogpu_generate_followups, zerogpu_chat), each with required/optional arguments and output shape.
Worked example, reference table, troubleshooting, and conclusion
integrations/mcp.mdx
Provides a worked zerogpu_summarize example, usage/savings output description, patterns and recipes, a consolidated tool reference table, troubleshooting for common HTTP/session/tool errors, and a conclusion <CardGroup> linking to Model Catalog, API Reference, Cookbook, and Discord.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • zerogpu/docs#3: Adds the LangChain integration doc using the same pattern of updating docs.json navigation and integrations/index.mdx with a new card.

Poem

🐇 Hoppity-hop, a new page has arrived,
With MCP tools, eleven tools that thrived!
zerogpu_chat, zerogpu_summarize too,
Auth headers set, and health checks in queue.
The rabbit stamps the docs with a joyful cheer —
ZeroGPU's nano models are now crystal clear! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'MCP Server Documentation' directly and clearly describes the main change: adding documentation for MCP (Model Context Protocol) server integration, which is the primary purpose of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs.json`:
- Around line 104-107: The integrations entries in docs.json are not in
alphabetical order by slug. Reorder the entries following integrations/index so
they appear in alphabetical sequence: integrations/claude-code-plugin should
come first, followed by integrations/langchain, then integrations/mcp. This
ensures the nav group maintains the documented alphabetical ordering rule for
integration slugs after the index entry.

In `@integrations/mcp.mdx`:
- Around line 11-19: The integration page is missing the required `## Cookbook`
section that should be included in all integration pages according to the
template guidelines. Add a `## Cookbook` section after the `## Overview` section
in the integrations/mcp.mdx file. Include the heading and add the placeholder
text "Cookbook coming soon." as the content, following the standard integration
page structure even when the cookbook content is not yet available.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6530e6da-1217-41f0-b4b7-07e9e3318157

📥 Commits

Reviewing files that changed from the base of the PR and between c8215ea and 598d1a8.

📒 Files selected for processing (3)
  • docs.json
  • integrations/index.mdx
  • integrations/mcp.mdx

Comment thread docs.json Outdated
Comment thread integrations/mcp.mdx

@amaan-ai20 amaan-ai20 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please make the following changes, and re-request view once, cookbook and everything are in place.

Comment thread integrations/mcp.mdx
}
}
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Show how it's created on Claude Desktop. Show, the location of the file as well where to save this. Mention it in the docs

Comment thread integrations/mcp.mdx
"price_table_version": "2026-05-26-2"
}
}
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use longer text so that, we can show how summary model works.

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.

2 participants