Skip to content

Commit 7a53292

Browse files
committed
Remove status and install wip
1 parent 6ecf7de commit 7a53292

File tree

4 files changed

+10
-147
lines changed

4 files changed

+10
-147
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ mcpm status # Show status of MCP servers in Claude Desktop
6868
- [x] Landing page setup
6969
- [x] CLI foundation
7070
- [x] Search
71-
- [ ] Install
71+
- [x] Install
7272
- [ ] Server management functionality
7373
- [ ] Support SSE Server
7474
- [ ] Additional client support

src/mcpm/cli.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
remove,
1616
list_servers,
1717
edit,
18-
status,
1918
toggle,
2019
server,
2120
client,
@@ -115,12 +114,7 @@ def main(ctx, help_flag):
115114
commands_table.add_row(" [cyan]toggle[/]", "Toggle an MCP server on or off for a client.")
116115
console.print(commands_table)
117116

118-
# Display coming soon commands
119-
console.print("")
120-
console.print("[bold yellow]Coming Soon:[/]")
121-
coming_soon_table = Table(show_header=False, box=None, padding=(0, 2, 0, 0))
122-
coming_soon_table.add_row(" [yellow]status[/]", "Show status of MCP servers in Claude Desktop.")
123-
console.print(coming_soon_table)
117+
124118

125119
# Additional helpful information
126120
console.print("")
@@ -132,7 +126,7 @@ def main(ctx, help_flag):
132126
main.add_command(remove.remove)
133127
main.add_command(list_servers.list)
134128
main.add_command(edit.edit)
135-
main.add_command(status.status)
129+
136130
main.add_command(toggle.toggle)
137131
main.add_command(server.server)
138132
main.add_command(client.client)

src/mcpm/commands/install.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,19 @@ def install(server_name, force=False):
172172

173173
# Handle client enablement - automatically enable for active client
174174
active_client = config_manager.get_active_client()
175-
installed_clients = detect_installed_clients()
176175

177-
# Enable for active client if installed
178-
if active_client and installed_clients.get(active_client, False):
176+
# Always enable for active client, regardless of installation status
177+
if active_client:
179178
success = config_manager.enable_server_for_client(server_name, active_client)
180179
if success:
181180
console.print(f"[green]Enabled {server_name} for active client: {active_client}[/]")
182181
else:
183182
console.print(f"[yellow]Failed to enable {server_name} for {active_client}[/]")
183+
184+
# Show additional info about client installation if client isn't installed
185+
installed_clients = detect_installed_clients()
186+
if not installed_clients.get(active_client, False):
187+
console.print(f"[dim]Note: {active_client} is configured but not detected as installed.[/]")
184188

185189
# Display usage examples if available
186190
examples = server_metadata.get("examples", [])

src/mcpm/commands/status.py

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)