Skip to content

Update mcp.mdx#3564

Closed
Dev Gupta (Splashing23) wants to merge 1 commit intolangchain-ai:mainfrom
Splashing23:patch-1
Closed

Update mcp.mdx#3564
Dev Gupta (Splashing23) wants to merge 1 commit intolangchain-ai:mainfrom
Splashing23:patch-1

Conversation

@Splashing23
Copy link
Copy Markdown

@Splashing23 Dev Gupta (Splashing23) commented Apr 13, 2026

Switched links for simple vs custom mcp auth

Overview

Type of change

Type: [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

Switched links for simple vs custom mcp auth
Copilot AI review requested due to automatic review settings April 13, 2026 21:06
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for opening a docs PR, Dev Gupta (@Splashing23)! When it's ready for review, please add the relevant reviewers:

  • @npentrel or @lnhsingh (LangChain)

@github-actions github-actions bot added langchain For docs changes to LangChain oss external User is not a member of langchain-ai labels Apr 13, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the LangChain MCP documentation to adjust which external references are used for “simple vs custom” MCP authentication guidance.

Changes:

  • Swaps the two GitHub links under the “Authentication” section in mcp.mdx.
  • Updates the bullet list ordering/label-to-URL association for the OAuth/custom-auth references.

Comment thread src/oss/langchain/mcp.mdx
Comment on lines +472 to +473
* [Built-in OAuth flow](https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py)
* [Example custom auth implementation](https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/auth/oauth2.py#L216)
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

The link labels appear swapped: the “Built-in OAuth flow” label currently points to the simple-auth-client example file, while “Example custom auth implementation” points to src/mcp/client/auth/oauth2.py (which looks like the OAuth implementation). Please swap the URLs (or swap the labels) so each label matches its destination.

Suggested change
* [Built-in OAuth flow](https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py)
* [Example custom auth implementation](https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/auth/oauth2.py#L216)
* [Built-in OAuth flow](https://github.com/modelcontextprotocol/python-sdk/blob/main/src/mcp/client/auth/oauth2.py#L216)
* [Example custom auth implementation](https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-auth-client/mcp_simple_auth_client/main.py)

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai langchain For docs changes to LangChain oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants