Skip to content

Build MCP server + connect client LLM guides in Next.js #2312

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

Merged
merged 65 commits into from
Jun 26, 2025
Merged

Conversation

SarahSoutoul
Copy link
Contributor

@SarahSoutoul SarahSoutoul commented Jun 13, 2025

🔎 Previews:

What does this solve?

Linear ticket: https://linear.app/clerk/issue/DOCS-10481/create-new-mcp-guides

Ahead of the expansion to Clerk’s OAuth capabilities, this PR adds two guides: one around setting up an MCP service using Clerk's OAuth server in Next.js applications and one explaining how to connect a client LLM to an MCP Server built with Next.js.

What changed?

  • Added Build MCP server guide for Next.js (Express one coming up - PR here)
  • Added Connect client LLM to MCP Server guide (remains the same no matter the SDK used)
  • Modified the manifest.json file for adding both of these on the sidebar
  • Added a partial explaining client/server in MCP process and added it to the MCP section in OAuth docs + the individual guides
  • Linked the individual guides in the MCP section in OAuth docs
  • Fixed some apostrophes in oauth docs

For future reference on expanding this:

  • Add more examples of LLMs other than Cursor
  • Would be nice to get a clean version of this diagram to integrate into the MCP section:
Screenshot 2025-06-16 at 3 47 56 pm

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

Copy link

Hey, here’s your docs preview: https://clerk.com/docs/pr/2312

@SarahSoutoul SarahSoutoul self-assigned this Jun 13, 2025
Copy link

vercel bot commented Jun 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
clerk-docs ✅ Ready (Inspect) Visit Preview Jun 26, 2025 6:10pm

@SarahSoutoul SarahSoutoul requested a review from jescalan June 16, 2025 21:51
@SarahSoutoul SarahSoutoul marked this pull request as ready for review June 16, 2025 21:51
@SarahSoutoul SarahSoutoul requested a review from a team as a code owner June 16, 2025 21:51
@SarahSoutoul SarahSoutoul changed the title (WIP) Build MCP service guides for Next.js/Express Build MCP service guides for Next.js/Express Jun 16, 2025
@jescalan jescalan merged commit 34b64b4 into main Jun 26, 2025
7 checks passed
@jescalan jescalan deleted the ss/DOCS-10481 branch June 26, 2025 18:29
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.

4 participants