feat: Add an mcp server

This commit is contained in:
Karim shoair
2025-07-26 22:57:08 +03:00
parent 9d3b1335a9
commit 172a5b4a0a
3 changed files with 648 additions and 21 deletions
+8
View File
@@ -133,6 +133,13 @@ def install(force):
print("The dependencies are already installed")
@command(help="Run Scrapling's MCP server (Check the docs for more info).")
def mcp():
from scrapling.core.ai import ScraplingMCPServer
ScraplingMCPServer().serve()
@command(help="Interactive scraping console")
@option(
"-c",
@@ -824,3 +831,4 @@ def main():
main.add_command(install)
main.add_command(shell)
main.add_command(extract)
main.add_command(mcp)