Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"mcp-agent.secrets.yaml",
"mcp_agent.secrets.yaml"
]
},
"files.watcherExclude": {
"**/target": true
}
}
}
6 changes: 0 additions & 6 deletions src/mcp_agent/cli/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
print_success,
)

app = typer.Typer(
help="Install MCP server to client applications", no_args_is_help=False
)


def _get_claude_desktop_config_path() -> Path:
"""Get the Claude Desktop config path based on platform."""
if platform.system() == "Darwin": # macOS
Expand Down Expand Up @@ -266,7 +261,6 @@ def _build_server_config(
}


@app.callback(invoke_without_command=True)
def install(
server_identifier: str = typer.Argument(..., help="Server URL to install"),
client: str = typer.Option(
Expand Down
4 changes: 2 additions & 2 deletions src/mcp_agent/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ def main(
)(login)

# Register install command as top-level
app.add_typer(
install_cmd.app, name="install", help="Install MCP server to client applications"
app.command(name="install", help="Install MCP server to client applications")(
install_cmd.install
)


Expand Down
Loading