feat(cli): rename fern mcp install to fern agent install - #17601
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
feat(cli): rename fern mcp install to fern agent install#17601devin-ai-integration[bot] wants to merge 2 commits into
fern mcp install to fern agent install#17601devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
There was a problem hiding this comment.
AI Review Summary
Straightforward rename with a hidden deprecated alias; logic is shared so the two paths can't drift. Only minor nits: the deprecated fern mcp group's demandCommand message points at the new namespace (confusing if someone types bare fern mcp), and runInstallAgent's argv type is hand-rolled rather than inferred from addInstallAgentOptions.
- 🔵 2 suggestion(s)
To request another review, comment /ai-review on this pull request.
…cast Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Frees the
fern mcp *namespace for the customer's own generated MCP server (Mathieu's ask), by moving the Fern-agent MCP installer tofern agent install.fern mcp installshipped in CLI 5.91.0, so it stays wired to the same handler, hidden from help (describe: false, same treatment aswrite-overrides), and logsThe 'mcp install' command is deprecated. Use 'fern agent install' instead.before running.Changes Made
addAgentCommandregistersfern agent install;addMcpCommandkeepsfern mcp installas a hidden deprecated alias. Options and handler are shared viaaddInstallAgentOptions/runInstallAgent, so the two paths cannot drift.fern agent installvs the existingfern mcp install.src/commands/mcp/→src/commands/agent/(pure move), and the two user-facing hints insideinstallMcpServer.tsnow sayfern agent install.feat).Testing
mcpConfigtests moved with the directory;pnpm turbo run test --filter @fern-api/cli→ 638 passed.pnpm fern-dev:build, run from outside a Fern project:fern mcpandfern mcp installno longer appear in--help.Link to Devin session: https://app.devin.ai/sessions/50a5d4aae6764bf78406b2752ab933f3
Open in Devin Desktop: https://app.devin.ai/desktop/session/50a5d4aae6764bf78406b2752ab933f3?variant=devin