feat(cli): update clara-companion command naming and add local/cloud selection#237
Open
esc247 wants to merge 3 commits intoclaraverse-space:mainfrom
Open
feat(cli): update clara-companion command naming and add local/cloud selection#237esc247 wants to merge 3 commits intoclaraverse-space:mainfrom
esc247 wants to merge 3 commits intoclaraverse-space:mainfrom
Conversation
add server URL selection for Clara Companion authentication
…selection - Changed command name from 'clara_companion' to 'clara-companion' throughout codebase - Updated all user-facing messages to use 'clara-companion' consistently - Added Local vs Cloud selection option in login command - Users can now choose between local installation (localhost:3000) or ClaraVerse Cloud - Updated documentation files (README.md, companion.md, blog post) - Updated frontend MCP setup instructions in AuthStep.tsx Files modified: - backend/mcp-bridge/cmd/clara_companion/main.go - backend/mcp-bridge/internal/commands/*.go - backend/mcp-bridge/internal/bridge/websocket.go - frontend/src/components/mcp-setup/steps/AuthStep.tsx - README.md - docs-site/docs/features/companion.md - docs-site/blog/2025-06-15-how-we-built-mcp-bridge.md
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.
What Changed
This PR introduces two key improvements to the
clara-companionCLI tool:Local vs Cloud Authentication Selection
clara-companion login[1] Local Installation (localhost:3000)- For self-hosted deployments[2] ClaraVerse Cloud (https://claraverse.app)- For cloud users[3] Custom URL- For advanced configurationsConsistent Command Naming
clara_companiontoclara-companionthroughout the codebaseWhy This Matters
How to Test
Build the CLI:
cd backend/mcp-bridge go build -o clara-companion ./cmd/clara_companionRun login command:
Verify the selection prompt appears:
Test each option:
ws://localhost:3000wss://api.claraverse.appBreaking Changes
None. This is a backward-compatible enhancement.
Related Issues
Closes any issues related to local installation authentication configuration.
Checklist