-
Notifications
You must be signed in to change notification settings - Fork 414
MCP authentication Overview Doc #877
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
MCP authentication Overview Doc #877
Conversation
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate 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. Comment |
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
…support Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
|
@CodeRabbit review full |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 15421 @AnuradhaKaruppiah, I'll provide a comprehensive review of this MCP authentication documentation PR. OverviewThis PR adds excellent comprehensive documentation for MCP OAuth2 authentication in the NeMo Agent toolkit. The structure is logical and covers both conceptual and practical aspects well. Strengths✅ Clear progression from concepts to configuration to examples Issues and Suggestions1. Empty Placeholder File📁
2. Documentation Location InconsistencyThe example README at It is recommended to read the [MCP Authentication](../../../docs/source/workflows/mcp/mcp-auth.md) documentation first.However, there's also an empty file at
3. Minor Typos and GrammarLine 41 in - `default_user_id`: The user ID for setting discovering and adding toolsShould be: - `default_user_id`: The user ID for discovering and adding tools4. Configuration Example InconsistencyIn the first configuration example (line 31-37), you use: authentication:
auth_provider_mcp:
_type: mcp_oauth2But in the detailed example (line 88-94), you use: authentication:
mcp_oauth2_jira:
_type: mcp_oauth2Consider clarifying the naming convention or using consistent names throughout to avoid confusion. 5. Mermaid Diagram EnhancementThe multi-user diagram could be clearer. Consider adding styling or notes to distinguish the default user flow from UI user flows: flowchart LR
U0[User<br/>default-user-id<br/><i>setup only</i>] --> H2[MCP Host<br/>NAT Workflow]
U1[User<br/>UI-User-1] --> H2
U2[User<br/>UI-User-2] --> H2
6. Missing InformationThe documentation could benefit from:
7. Example Configuration PathLine 77 references: The MCP Authentication Example Workflow, `examples/MCP/simple_auth_mcp/README.md`But that file doesn't contain the workflow itself. Should this reference a YAML config file instead? Or clarify what users should expect to find there? 8. Environment Variable DocumentationLines 51-59 document environment variables, but it would be helpful to also mention:
9. Troubleshooting Section EnhancementThe troubleshooting section (lines 169-176) could include:
Technical Accuracy✅ OAuth2 flow description is correct FormattingThe documentation follows proper Markdown formatting with one minor suggestion: Line 170: 1. If setup fails, the user identified by `default_user_id` did not complete the authentication flow through the pop-up UI, or the user did not authorize the workflow to access the MCP server.This could be split into sub-bullets for better readability: 1. **Setup fails** - This can happen if:
- The user identified by `default_user_id` did not complete the authentication flow through the pop-up UI, or
- The user did not authorize the workflow to access the MCP serverSummaryThis is solid documentation that will be very helpful for users implementing MCP authentication. The main action items are:
Would you like me to help generate any additional content for the example README files or provide more detailed configuration examples? |
Signed-off-by: Anuradha Karuppiah <[email protected]>
Signed-off-by: Anuradha Karuppiah <[email protected]>
willkill07
left a 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.
Just one nit! otherwise LGTM
Signed-off-by: Anuradha Karuppiah <[email protected]>
|
/merge |
Closes ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/NeMo-Agent-Toolkit/blob/develop/docs/source/resources/contributing.md). - We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license. - Any contribution which contains commits that are not Signed-Off will not be accepted. - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) Approvers: - Yuchen Zhang (https://github.com/yczhang-nv) - Eric Evans II (https://github.com/ericevans-nv) - Will Killian (https://github.com/willkill07) URL: NVIDIA#877
Description
Closes
By Submitting this PR I confirm: