A Model Context Protocol (MCP) server for web content scanning and analysis. This server provides tools for fetching, analyzing, and extracting information from web pages.
# Clone the repository
git clone <repository-url>
cd mcp-server-webscan
# Install dependencies
npm install
# Build the project
npm run build
npm start
The server runs on stdio transport, making it compatible with MCP clients like Claude Desktop.
fetch_page
url
(required): URL of the page to fetchselector
(optional): CSS selector to target specific contentextract_links
url
(required): URL of the page to analyzebaseUrl
(optional): Base URL to filter linkscrawl_site
url
(required): Starting URL to crawlmaxDepth
(optional, default: 2): Maximum crawl depthcheck_links
url
(required): URL to check links forfind_patterns
url
(required): URL to search inpattern
(required): Regex pattern to match URLs againstgenerate_sitemap
url
(required): Root URL for sitemapmaxUrls
(optional, default: 100): Maximum number of URLs to include{
"mcpServers": {
"webscan": {
"command": "node",
"args": ["path/to/mcp-server-webscan/dist/index.js"],
"env": {
"NODE_ENV": "development"
}
}
}
}
Could you fetch the content from https://example.com and convert it to Markdown?
mcp-server-webscan/
├── src/
│ └── index.ts # Main server implementation
├── dist/ # Compiled JavaScript
├── package.json
└── tsconfig.json
npm run build
npm run dev
The server implements comprehensive error handling:
All errors are properly formatted according to the MCP specification.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)MIT License - see the LICENSE file for details
Seamless access to top MCP servers powering the future of AI integration.