-
Notifications
You must be signed in to change notification settings - Fork 19
Resolve reviews and update images for MCP docs #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughAdds a new Devant documentation guide explaining how to generate MCP (Model Context Protocol) servers from existing HTTP services and updates the mkdocs navigation to include the new guide under "Configure VPN". Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer
participant CLI as Devant CLI
participant HTTP as Existing HTTP Service
participant MCP as Generated MCP Server
participant Inspector as MCP Inspector
participant Client as Client (MCP)
Dev->>CLI: run "generate mcp-server" for HTTP integration
CLI->>HTTP: inspect API (endpoints, schemas, auth)
CLI-->>MCP: scaffold MCP server (transports, tool manifest)
rect rgb(232,245,233)
note right of MCP: Generated artifact (server, tool schema, docs)
end
Dev->>MCP: review, edit tools, deploy/promote
Client->>Inspector: connect using token (publish/subscribe)
Inspector->>MCP: invoke tool
MCP->>HTTP: translate/forward request
HTTP-->>MCP: return response
MCP-->>Inspector: relay response to client
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🪛 LanguageToolen/docs/mcp-servers/generate-mcp-servers.md[grammar] ~57-~57: Use a hyphen to join words.
(QB_NEW_EN_HYPHEN) [grammar] ~83-~83: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) [style] ~164-~164: Using many exclamation marks might seem excessive (in this case: 15 exclamation marks for a text that’s 7648 characters long) !!!important (EN_EXCESSIVE_EXCLAMATION) 🪛 markdownlint-cli2 (0.18.1)en/docs/mcp-servers/generate-mcp-servers.md20-20: Unordered list indentation (MD007, ul-indent) 21-21: Unordered list indentation (MD007, ul-indent) 🔇 Additional comments (2)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. 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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (8)
en/docs/assets/img/mcp/create-mcp-form.pngis excluded by!**/*.pngen/docs/assets/img/mcp/generate-mcp.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-inspector-initial.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-inspector.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-overview.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-publish.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-token.pngis excluded by!**/*.pngen/docs/assets/img/mcp/mcp-tools.pngis excluded by!**/*.png
📒 Files selected for processing (2)
en/docs/mcp-servers/generate-mcp-servers.md(1 hunks)en/mkdocs.yml(1 hunks)
🧰 Additional context used
🪛 LanguageTool
en/docs/mcp-servers/generate-mcp-servers.md
[grammar] ~57-~57: Use a hyphen to join words.
Context: ...ory in Devant.
- Navigate to an HTTP based
Integration as APItype integrat...
(QB_NEW_EN_HYPHEN)
[grammar] ~83-~83: Use a hyphen to join words.
Context: ...n at this stage. The schema will be auto generated once you create the mapping t...
(QB_NEW_EN_HYPHEN)
[style] ~166-~166: Using many exclamation marks might seem excessive (in this case: 15 exclamation marks for a text that’s 7553 characters long)
Context: ... directly from the MCP Inspector UI.
!!!important
If you are using another ...
(EN_EXCESSIVE_EXCLAMATION)
🪛 markdownlint-cli2 (0.18.1)
en/docs/mcp-servers/generate-mcp-servers.md
20-20: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
21-21: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
🔇 Additional comments (4)
en/mkdocs.yml (1)
113-116: Navigation placement may need reconsideration.The new MCP servers section is nested under "Configure VPN," which semantically seems unrelated. MCP server generation is distinct from VPN configuration. Consider whether this should be:
- A separate top-level navigation section (like "API Management" at line 111)
- Placed under a more thematically appropriate section (e.g., "API Management" or "Devant Concepts")
Verify this placement aligns with your documentation architecture and user navigation patterns.
en/docs/mcp-servers/generate-mcp-servers.md (3)
1-168: Document structure and content quality—LGTM.The guide is comprehensive and well-organized:
- Clear overview of MCP concepts with links to official specifications
- Logical flow from prerequisites → design/publish → invocation
- Step-by-step instructions with helpful admonitions (info, important, tip)
- Good use of visual callouts and notes for critical information
- Prerequisites clearly outlined before each major section
Minor suggestions (optional):
- Consider adding a "Troubleshooting" section for common issues
- Link to API documentation or deployment track concepts if applicable
- Clarify token expiration/rotation policies in Step 4
Overall, excellent first-pass documentation for the new feature.
1-11: External resource links—verify accessibility.The document references two external resources:
- Model Context Protocol specification (line 11)
- Devant Console (lines 31, 40)
Ensure these links remain current and are accessible to your documentation audience. Consider adding version pinning or archival notes if these resources are outside your control.
61-61: All image assets verified—no issues found.All 8 referenced MCP images exist in
en/docs/assets/img/mcp/with correct filenames matching the documentation references.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
♻️ Duplicate comments (1)
en/docs/mcp-servers/generate-mcp-servers.md (1)
20-21: Fix list indentation to use 2 spaces instead of 4.The nested list items still use 4-space indentation but should use 2 spaces per Markdown standards and linter requirements (MD007). This issue was flagged in the previous review but remains unfixed.
Apply this diff:
* Create MCP Servers from existing HTTP services under the category `Integration as APIs` from Devant. - * Automatically generates MCP tool schemas from the service definition. - * Secures the MCP Servers using OAuth2 authentication and authorization. + * Automatically generates MCP tool schemas from the service definition. + * Secures the MCP Servers using OAuth2 authentication and authorization.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
en/docs/mcp-servers/generate-mcp-servers.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
en/docs/mcp-servers/generate-mcp-servers.md
[style] ~166-~166: Using many exclamation marks might seem excessive (in this case: 15 exclamation marks for a text that’s 7555 characters long)
Context: ... directly from the MCP Inspector UI.
!!!important
If you are using another ...
(EN_EXCESSIVE_EXCLAMATION)
🪛 markdownlint-cli2 (0.18.1)
en/docs/mcp-servers/generate-mcp-servers.md
20-20: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
21-21: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
♻️ Duplicate comments (1)
en/docs/mcp-servers/generate-mcp-servers.md (1)
20-21: Fix unordered list indentation (MD007).The sublist items use 4 spaces but should use 2 spaces per Markdown best practices and linting rules.
Apply this diff:
* Create MCP Servers from existing HTTP services under the category `Integration as APIs` from Devant. - * Automatically generates MCP tool schemas from the service definition. - * Secures the MCP Servers using OAuth2 authentication and authorization. + * Automatically generates MCP tool schemas from the service definition. + * Secures the MCP Servers using OAuth2 authentication and authorization.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
en/docs/mcp-servers/generate-mcp-servers.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
en/docs/mcp-servers/generate-mcp-servers.md
[style] ~166-~166: Using many exclamation marks might seem excessive (in this case: 15 exclamation marks for a text that’s 7554 characters long)
Context: ... directly from the MCP Inspector UI.
!!!important
If you are using another ...
(EN_EXCESSIVE_EXCLAMATION)
🪛 markdownlint-cli2 (0.18.1)
en/docs/mcp-servers/generate-mcp-servers.md
20-20: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
21-21: Unordered list indentation
Expected: 2; Actual: 4
(MD007, ul-indent)
🔇 Additional comments (1)
en/docs/mcp-servers/generate-mcp-servers.md (1)
1-168: Well-structured MCP server documentation.The document is comprehensive, clearly organized, and provides step-by-step guidance with proper visual aids. Prerequisites, creation workflow, tool modification, and invocation steps are all well-documented. Use of admonitions (info, important, tip) and notes is appropriate and enhances clarity.
$Subject
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.