[PR #4840] [CLOSED] feat: add to cursor and cli init mcp #5607

Closed
opened 2026-03-13 12:29:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4840
Author: @Kinfe123
Created: 9/23/2025
Status: Closed

Base: canaryHead: feat/add-to-cursor


📝 Commits (8)

📊 Changes

6 files changed (+132 additions, -0 deletions)

View changed files

📝 docs/app/docs/[[...slug]]/page.tsx (+2 -0)
docs/components/mcp-install-button.tsx (+26 -0)
📝 docs/content/docs/introduction.mdx (+6 -0)
📝 packages/cli/README.md (+11 -0)
packages/cli/src/commands/mcp.ts (+85 -0)
📝 packages/cli/src/index.ts (+2 -0)

📄 Description

Summary by cubic

Add MCP integration for Cursor so users can install and use the Better Auth MCP server from the docs or the CLI. This makes it easy to access Better Auth features directly in the IDE.

  • New Features
    • Added McpInstallButton to docs and surfaced it in the Introduction page for one-click Cursor install via deeplink.
    • Introduced CLI command: mcp with optional --cursor flag to auto-open the Cursor install dialog (supports macOS, Windows, Linux) and shows manual steps if needed.
    • Updated CLI README and wired the command into the CLI entrypoint.

🔄 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/4840 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 9/23/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/add-to-cursor` --- ### 📝 Commits (8) - [`88d3a11`](https://github.com/better-auth/better-auth/commit/88d3a11e0cf7c08e7a516cdec82e84625c67d7ad) docs: supabase migration for large number of rows - [`725f3db`](https://github.com/better-auth/better-auth/commit/725f3dbcbe859c5b8df416befff3dbc46b9f9667) feat: init mcp server button - [`86fe491`](https://github.com/better-auth/better-auth/commit/86fe491a8eb8c0f3c7f9d3afd165214f4205015d) lint - [`4d19127`](https://github.com/better-auth/better-auth/commit/4d19127200212db6f93170b91dc65167a8c687ea) lint - [`b8a2096`](https://github.com/better-auth/better-auth/commit/b8a20961d3854374566b957b520e20f66e4732f3) update - [`8faa151`](https://github.com/better-auth/better-auth/commit/8faa151d78e5235a1030a309117a273c32d53adb) update - [`1ca2a41`](https://github.com/better-auth/better-auth/commit/1ca2a412171799e098e1cc43babe3234bcb065de) update - [`4ed20ba`](https://github.com/better-auth/better-auth/commit/4ed20ba08de5edb66094212d8e486280801881e3) lint ### 📊 Changes **6 files changed** (+132 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/docs/[[...slug]]/page.tsx` (+2 -0) ➕ `docs/components/mcp-install-button.tsx` (+26 -0) 📝 `docs/content/docs/introduction.mdx` (+6 -0) 📝 `packages/cli/README.md` (+11 -0) ➕ `packages/cli/src/commands/mcp.ts` (+85 -0) 📝 `packages/cli/src/index.ts` (+2 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add MCP integration for Cursor so users can install and use the Better Auth MCP server from the docs or the CLI. This makes it easy to access Better Auth features directly in the IDE. - **New Features** - Added McpInstallButton to docs and surfaced it in the Introduction page for one-click Cursor install via deeplink. - Introduced CLI command: mcp with optional --cursor flag to auto-open the Cursor install dialog (supports macOS, Windows, Linux) and shows manual steps if needed. - Updated CLI README and wired the command into the CLI entrypoint. <!-- End of auto-generated description by cubic. --> --- <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-03-13 12:29:16 -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#5607