[PR #2978] [MERGED] Correct method name in MCP docs (getMCPSession → getMcpSession) #21482

Closed
opened 2026-04-15 20:23:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2978
Author: @MatteoUrso
Created: 6/11/2025
Status: Merged
Merged: 6/11/2025
Merged by: @Kinfe123

Base: mainHead: fix/#2977


📝 Commits (1)

  • b4d175f fix: correct casing of getMcpSession in documentation

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 docs/content/docs/plugins/mcp.mdx (+2 -2)
📝 examples/nextjs-mcp/README.md (+1 -1)

📄 Description

Fix typo in documentation for MCP plugin

This PR fixes a small typo in the documentation for the MCP plugin, where auth.api.getMCPSession was incorrectly capitalized.

Changes

  • Corrected method name to auth.api.getMcpSession in the docs.

Closes #2977


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2978 **Author:** [@MatteoUrso](https://github.com/MatteoUrso) **Created:** 6/11/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `fix/#2977` --- ### 📝 Commits (1) - [`b4d175f`](https://github.com/better-auth/better-auth/commit/b4d175ffcc7747bc991ceca61b771a7c5816511c) fix: correct casing of getMcpSession in documentation ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/mcp.mdx` (+2 -2) 📝 `examples/nextjs-mcp/README.md` (+1 -1) </details> ### 📄 Description ### Fix typo in documentation for MCP plugin This PR fixes a small typo in the documentation for the MCP plugin, where auth.api.getMCPSession was incorrectly capitalized. ### Changes - Corrected method name to auth.api.getMcpSession in the docs. ### Related Issue Closes #2977 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:23:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#21482