Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

fix: correct `http` option type in the mcp server

Karim shoair2bad72b77a0e
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)",
)