-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added mcp
CLI command
#371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
- Modified McpListCommand to display both user and project scope MCP servers - Added clear section headers to distinguish between global and project servers - Added test coverage for listing servers from both scopes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update mcp get command to search both user and project configurations - Prioritize project config over global when both contain the same server name - Display scope (user/project) in output to show where server was found - Add headers display for remote servers when present - Add comprehensive test coverage for scope priority and header display 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
wow i was gonna work on this - i'll take a look ty! |
Thank you. 🙏🏻 I didn't implement the full list of sub-commands like in Commands I didn't implement:
Also Claude has "local" scope for mcp. |
This sounds awesome, thanks a lot @ndraiman! |
|
- Mock Config.global() to bypass lazy cache and ensure test isolation - Replace UI function mocking with real stderr capture using spyOn - Update project config tests to use Config.get() instead of manual file parsing - Fix lint errors by using optional chaining bracket notation - Add proper spy cleanup in test teardown
Hey, nice work! Do you plan to integrate /mcp commands (to TUI) next? I would love to help |
Looking at the code architecture now, I see that I should have:
Hopefully I'll be able to this later today. |
Yes. I'd love to learn how the model, view, and the functional logic are clearly seperated in the solution. |
@ndraiman i don't think we need to support this in the tui, probably dont want to have to maintain all that; cli only is fine! |
Any |
Summary
Changes
New CLI Commands
Key Features
structure
requirements
Technical Implementation
Test Coverage
🤖 Generated with https://claude.ai/code
Co-Authored-By: Claude