[PR #7574] [MERGED] fix(mcp): remove local mpc #24312

Closed
opened 2026-04-15 22:18:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7574
Author: @Paola3stefania
Created: 1/23/2026
Status: Merged
Merged: 1/23/2026
Merged by: @himself65

Base: canaryHead: fix/remove-local-mcp


📝 Commits (1)

📊 Changes

19 files changed (+56 additions, -3112 deletions)

View changed files

📝 packages/cli/src/commands/mcp.ts (+56 -182)
packages/mcp/package.json (+0 -56)
packages/mcp/src/index.ts (+0 -20)
packages/mcp/src/lib/generator.ts (+0 -467)
packages/mcp/src/lib/parser.ts (+0 -111)
packages/mcp/src/lib/schemas.ts (+0 -61)
packages/mcp/src/lib/templates/database.ts (+0 -140)
packages/mcp/src/lib/templates/features.ts (+0 -224)
packages/mcp/src/lib/templates/frameworks.ts (+0 -274)
packages/mcp/src/lib/types.ts (+0 -167)
packages/mcp/src/tools/index.ts (+0 -1)
packages/mcp/src/tools/setup-auth.ts (+0 -184)
packages/mcp/tests/lib/generator.test.ts (+0 -495)
packages/mcp/tests/lib/parser.test.ts (+0 -329)
packages/mcp/tests/lib/templates/database.test.ts (+0 -153)
packages/mcp/tests/lib/templates/features.test.ts (+0 -150)
packages/mcp/tests/lib/templates/frameworks.test.ts (+0 -76)
packages/mcp/tsconfig.json (+0 -6)
packages/mcp/tsdown.config.ts (+0 -16)

📄 Description

Summary by cubic

Removed the local Better Auth MCP server and simplified the CLI to configure only the remote MCP. This streamlines setup and avoids local runtime issues while keeping Cursor, Claude Code, and Open Code flows working via the remote endpoint.

  • Refactors

    • Removed packages/mcp and all related code and tests.
    • CLI now installs/configures only the remote MCP at https://mcp.inkeep.com/better-auth/mcp.
    • Dropped --local-only and --remote-only flags; messages updated to singular “server”.
    • Cursor, Claude Code, and Open Code flows add the remote server only.
  • Migration

    • If you used the local MCP (@better-auth/mcp or better-auth-mcp), remove it from your MCP client configs.
    • Use the CLI to add the remote server: better-auth mcp --cursor | --claude-code | --open-code | --manual.
    • Replace any local “better-auth” entries with the remote “better-auth-docs” and URL https://mcp.inkeep.com/better-auth/mcp.

Written for commit fa0c224509. Summary will update on new commits.


🔄 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/7574 **Author:** [@Paola3stefania](https://github.com/Paola3stefania) **Created:** 1/23/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/remove-local-mcp` --- ### 📝 Commits (1) - [`fa0c224`](https://github.com/better-auth/better-auth/commit/fa0c22450973d51683dcf617909898a8c746a09a) remove mcp loocal ### 📊 Changes **19 files changed** (+56 additions, -3112 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/commands/mcp.ts` (+56 -182) ➖ `packages/mcp/package.json` (+0 -56) ➖ `packages/mcp/src/index.ts` (+0 -20) ➖ `packages/mcp/src/lib/generator.ts` (+0 -467) ➖ `packages/mcp/src/lib/parser.ts` (+0 -111) ➖ `packages/mcp/src/lib/schemas.ts` (+0 -61) ➖ `packages/mcp/src/lib/templates/database.ts` (+0 -140) ➖ `packages/mcp/src/lib/templates/features.ts` (+0 -224) ➖ `packages/mcp/src/lib/templates/frameworks.ts` (+0 -274) ➖ `packages/mcp/src/lib/types.ts` (+0 -167) ➖ `packages/mcp/src/tools/index.ts` (+0 -1) ➖ `packages/mcp/src/tools/setup-auth.ts` (+0 -184) ➖ `packages/mcp/tests/lib/generator.test.ts` (+0 -495) ➖ `packages/mcp/tests/lib/parser.test.ts` (+0 -329) ➖ `packages/mcp/tests/lib/templates/database.test.ts` (+0 -153) ➖ `packages/mcp/tests/lib/templates/features.test.ts` (+0 -150) ➖ `packages/mcp/tests/lib/templates/frameworks.test.ts` (+0 -76) ➖ `packages/mcp/tsconfig.json` (+0 -6) ➖ `packages/mcp/tsdown.config.ts` (+0 -16) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed the local Better Auth MCP server and simplified the CLI to configure only the remote MCP. This streamlines setup and avoids local runtime issues while keeping Cursor, Claude Code, and Open Code flows working via the remote endpoint. - **Refactors** - Removed packages/mcp and all related code and tests. - CLI now installs/configures only the remote MCP at https://mcp.inkeep.com/better-auth/mcp. - Dropped --local-only and --remote-only flags; messages updated to singular “server”. - Cursor, Claude Code, and Open Code flows add the remote server only. - **Migration** - If you used the local MCP (`@better-auth/mcp` or `better-auth-mcp`), remove it from your MCP client configs. - Use the CLI to add the remote server: `better-auth mcp --cursor` | `--claude-code` | `--open-code` | `--manual`. - Replace any local “better-auth” entries with the remote “better-auth-docs” and URL https://mcp.inkeep.com/better-auth/mcp. <sup>Written for commit fa0c22450973d51683dcf617909898a8c746a09a. Summary will update on new commits.</sup> <!-- 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-04-15 22:18:07 -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#24312