From 2bad72b77a0ef38b45f3d8f8b559cc19a3f63b6b Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sun, 28 Sep 2025 21:19:51 +0300 Subject: [PATCH] fix: correct `http` option type in the mcp server --- scrapling/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapling/cli.py b/scrapling/cli.py index 04938d0..5824599 100644 --- a/scrapling/cli.py +++ b/scrapling/cli.py @@ -138,7 +138,7 @@ def install(force): # pragma: no cover @command(help="Run Scrapling's MCP server (Check the docs for more info).") @option( "--http", - type=bool, + is_flag=True, default=False, help="Whether to run the MCP server in streamable-http transport or leave it as stdio (Default: False)", )