@crawlith/mcp
v0.1.0
Published
MCP server bridge for Crawlith CLI tools.
Readme
@crawlith/mcp
MCP server that exposes Crawlith CLI workflows as MCP tools for Claude Desktop.
Tools
ensure_crawlith_cli— checks whether Crawlith CLI is available and can install@crawlith/cliif missingcrawl_site— wrapscrawlith crawlanalyze_page— wrapscrawlith pageprobe_domain— wrapscrawlith probelist_sites— wrapscrawlith sites
Prompts
full_site_auditportfolio_status
Plugin MCP Discovery
@crawlith/mcp now discovers plugin-provided MCP tools and prompts at startup:
- Declarative: plugins can expose
plugin.mcp.toolsandplugin.mcp.prompts - Hook-based: plugins can implement
hooks.onMcpDiscovery(ctx)and register throughctx.mcpDiscovery.registerTool(...)/ctx.mcpDiscovery.registerPrompt(...)
Package dependency
This package depends on @crawlith/cli, so when @crawlith/mcp is published and installed from npm, it can resolve the Crawlith CLI entrypoint from node_modules.
Run
pnpm --filter @crawlith/mcp run mcpBy default, the server resolves and executes the installed @crawlith/cli entrypoint.
When developing inside this monorepo, it falls back to packages/cli/dist/index.js.
Override either behavior with CRAWLITH_CLI_COMMAND if you need a custom CLI command.
Claude Desktop configuration
Add the server to claude_desktop_config.json with an absolute path:
{
"mcpServers": {
"crawlith": {
"command": "npx",
"args": [
"tsx",
"/absolute/path/to/crawlith/packages/mcp/src/mcp-server.ts"
]
}
}
}