[PR #7451] [MERGED] Fix opencode tag and MCP command structure #32924

Closed
opened 2026-04-17 23:37:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7451
Author: @luisrudge
Created: 1/18/2026
Status: Merged
Merged: 1/18/2026
Merged by: @Bekacru

Base: canaryHead: patch-1


📝 Commits (2)

  • e57b9d4 Fix opencode tag and MCP command structure
  • c1f5374 chore: lint

📊 Changes

1 file changed (+10 additions, -3 deletions)

View changed files

📝 packages/cli/src/commands/mcp.ts (+10 -3)

📄 Description

opencode is the name of the product, not open-code. also the mcp config was incorrect based on the json schema provided by opencode.

before:
image

after:
image


Summary by cubic

Fix incorrect Opencode client name and align MCP config with the Opencode schema for reliable local server setup and CLI installation.

  • Bug Fixes
    • Support "opencode" as the canonical client, with "open-code" kept as an alias.
    • Update local MCP config for better-auth to use type "local" and command as an array.

Written for commit c1f5374fb0. 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/7451 **Author:** [@luisrudge](https://github.com/luisrudge) **Created:** 1/18/2026 **Status:** ✅ Merged **Merged:** 1/18/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`e57b9d4`](https://github.com/better-auth/better-auth/commit/e57b9d4bbd1636e062bb8c899cd03dd1a1399201) Fix opencode tag and MCP command structure - [`c1f5374`](https://github.com/better-auth/better-auth/commit/c1f5374fb0b973f2d2a1f0e152a0316a05f2fe53) chore: lint ### 📊 Changes **1 file changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/commands/mcp.ts` (+10 -3) </details> ### 📄 Description opencode is the name of the product, not open-code. also the mcp config was incorrect based on the json schema provided by opencode. before: <img width="545" height="274" alt="image" src="https://github.com/user-attachments/assets/19287d71-2333-44a6-bea5-fd0d401ef560" /> after: <img width="534" height="275" alt="image" src="https://github.com/user-attachments/assets/139a0f25-e804-4f88-9b78-dcf8526f5987" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fix incorrect Opencode client name and align MCP config with the Opencode schema for reliable local server setup and CLI installation. - **Bug Fixes** - Support "opencode" as the canonical client, with "open-code" kept as an alias. - Update local MCP config for better-auth to use type "local" and command as an array. <sup>Written for commit c1f5374fb0b973f2d2a1f0e152a0316a05f2fe53. 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-17 23:37:46 -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#32924