Karim shoair commited on
Commit
4443faf
·
1 Parent(s): 55c8b21

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

Browse files
Files changed (1) hide show
  1. scrapling/cli.py +1 -1
scrapling/cli.py CHANGED
@@ -138,7 +138,7 @@ def install(force): # pragma: no cover
138
  @command(help="Run Scrapling's MCP server (Check the docs for more info).")
139
  @option(
140
  "--http",
141
- type=bool,
142
  default=False,
143
  help="Whether to run the MCP server in streamable-http transport or leave it as stdio (Default: False)",
144
  )
 
138
  @command(help="Run Scrapling's MCP server (Check the docs for more info).")
139
  @option(
140
  "--http",
141
+ is_flag=True,
142
  default=False,
143
  help="Whether to run the MCP server in streamable-http transport or leave it as stdio (Default: False)",
144
  )