UNPKG

mcp-smart-crawler

Version:

A command-line tool acting as an MCP (ModelContextProtocol) server, using Playwright to crawl web content for AI models.

66 lines (65 loc) 1.73 kB
{ "type": "module", "bin": { "mcp-smart-crawler": "./build/index.js" }, "name": "mcp-smart-crawler", "version": "1.0.10", "main": "./build/index.js", "files": [ "build", "README.md", "LICENSE" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc && chmod 755 build/index.js", "prettierformat": "prettier --write", "prettierall": "prettier --write .", "lint-staged": "lint-staged" }, "precommit": "lint-staged", "lint-staged": { "./src/**/*.{js,jsx,ts,tsx}": [ "npm run prettierformat", "git add ." ] }, "keywords": [ "crawler", "scraper", "playwright", "automation", "web", "model context protocol", "mcp", "xiaohongshu", "xhs" ], "homepage": "https://github.com/loo-y/mcp-smart-crawler", "engines": { "node": ">=20.0.0" }, "author": { "name": "Erik", "url": "https://github.com/loo-y" }, "license": "ISC", "description": "A command-line tool acting as an MCP (ModelContextProtocol) server, using Playwright to crawl web content for AI models.", "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0", "child_process": "^1.0.2", "fs": "^0.0.1-security", "path": "^0.12.7", "playwright": "^1.51.1", "stream": "^0.0.3", "zod": "^3.24.2" }, "devDependencies": { "@types/node": "^22.13.17", "lint-staged": "^15.5.0", "pre-commit": "^1.2.2", "prettier": "^3.5.3", "typescript": "^5.8.2" } }