The MCP Webscan Server is a powerful tool for web content scanning and analysis, providing various functions like fetching web pages, extracting links, crawling sites, checking for broken links, finding URL patterns, and generating sitemaps - all through a Model Context Protocol (MCP) interface.
The fastest way to install the Webscan server for Claude Desktop is through Smithery:
npx -y @smithery/cli install mcp-server-webscan --client claude
If you prefer to install manually:
# Clone the repository
git clone <repository-url>
cd mcp-server-webscan
# Install dependencies
npm install
# Build the project
npm run build
Once installed, start the server with:
npm start
The server runs on stdio transport, making it compatible with MCP clients such as Claude Desktop.
Add the server configuration to your Claude Desktop settings:
{
"mcpServers": {
"webscan": {
"command": "node",
"args": ["path/to/mcp-server-webscan/build/index.js"],
"env": {
"NODE_ENV": "development",
"LOG_LEVEL": "info"
}
}
}
}
Converts web pages to Markdown for easier analysis.
Parameters:
url
(required): URL of the page to fetchselector
(optional): CSS selector to target specific contentExample usage:
Could you fetch the content from https://example.com and convert it to Markdown?
Extracts all links from a web page along with their text.
Parameters:
url
(required): URL of the page to analyzebaseUrl
(optional): Base URL to filter linkslimit
(optional, default: 100): Maximum number of links to returnRecursively crawls a website up to a specified depth.
Parameters:
url
(required): Starting URL to crawlmaxDepth
(optional, default: 2): Maximum crawl depth (0-5)Identifies broken links on a web page.
Parameters:
url
(required): URL to check links forLocates URLs matching a specific pattern.
Parameters:
url
(required): URL to search inpattern
(required): JavaScript-compatible regex pattern to match URLs againstCreates a simple XML sitemap by crawling a website.
Parameters:
url
(required): Root URL for sitemap crawlmaxDepth
(optional, default: 2): Maximum crawl depth for discovering URLs (0-5)limit
(optional, default: 1000): Maximum number of URLs to include in the sitemapThe server has comprehensive error handling for:
All errors are properly formatted according to the MCP specification, making debugging straightforward.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.