qsw-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@qsw-mcp read the webpage at https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
qsw-mcp
Smart Doc MCP Server - 为 AI Agent 提供统一的文档读取能力
功能特性
read_url: 读取网页内容,返回标题、纯文本和 Markdown 格式(无登录状态)
read_url_browser: 使用浏览器读取网页(支持登录状态、Cookie、SPA 页面)
read_clipboard_image: 从系统剪贴板读取图片并识别文字(OCR),支持中英文等多种语言
Related MCP server: krwl3r
安装
npm install
npm run buildPlaywright 浏览器安装(read_url_browser 需要)
npx playwright install chromium使用方法
在 Claude Desktop 中配置
编辑 Claude Desktop 配置文件:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
添加以下配置:
{
"mcpServers": {
"qsw-mcp": {
"command": "node",
"args": ["path/to/qswMCP/dist/index.js"]
}
}
}在 VSCode Agent 中配置
在 .vscode/settings.json 中添加:
{
"claude.mcpServers": {
"qsw-mcp": {
"command": "node",
"args": ["path/to/qswMCP/dist/index.js"]
}
}
}工具说明
read_url
读取网页内容(无登录状态)。
输入参数:
url(string): 要读取的网页 URL
输出示例:
{
"success": true,
"data": {
"title": "网页标题",
"content": "网页纯文本内容...",
"markdown": "# 网页标题\n\n网页 Markdown 内容...",
"url": "https://example.com",
"length": 1234
}
}read_url_browser
使用浏览器读取网页,支持登录状态、Cookie 和 SPA 页面。
输入参数:
url(string): 要读取的网页 URLwaitFor(number, 可选): 等待页面加载的时间(毫秒),默认 2000msuseExisting(boolean, 可选): 是否连接已打开的 Chrome(需要 Chrome 调试模式),默认使用新浏览器
输出示例:
{
"success": true,
"data": {
"title": "网页标题",
"content": "网页纯文本内容...",
"markdown": "# 网页标题\n\n网页 Markdown 内容...",
"url": "https://example.com/final",
"originalUrl": "https://example.com",
"length": 1234,
"mode": "browser"
}
}连接已有 Chrome 浏览器:
# 以调试模式启动 Chrome
chrome.exe --remote-debugging-port=9222read_clipboard_image
从系统剪贴板读取图片并进行 OCR 文字识别。
输入参数:
language(string, 可选): 识别语言,默认chi_sim+engchi_sim: 简体中文chi_tra: 繁体中文eng: 英文jpn: 日文kor: 韩文chi_sim+eng: 简体中文+英文chi_tra+eng: 繁体中文+英文
preprocess(boolean, 可选): 是否预处理图片(提高识别准确率),默认开启
输出示例:
{
"success": true,
"data": {
"text": "识别出的文字内容...",
"confidence": 95.5,
"statistics": {
"characters": 123,
"words": 45,
"lines": 10,
"blocks": 5
},
"language": "chi_sim+eng",
"preprocess": "已预处理(灰度、对比度标准化、锐化)",
"blocks": [...],
"source": "clipboard",
"savedPath": "clipboard/clipboard_2026-05-31T00-52-00.png"
}
}使用步骤:
复制图片(右键 → 复制图片,或 Win+Shift+S 截图)
调用此工具进行 OCR 识别
开发
# 开发模式运行
npm run dev
# 编译
npm run build
# 监听模式
npm run watch技术栈
TypeScript
MCP SDK (@modelcontextprotocol/sdk)
axios
cheerio
turndown
playwright
sharp
tesseract.js
zod
许可证
MIT
Available Tools
3 toolsread_clipboard_imageA
从系统剪贴板读取图片并识别文字(OCR),支持中英文等多种语言
Inputs: language, preprocess.
read_urlB
读取网页内容,返回标题、纯文本和 Markdown 格式(无登录状态)
Inputs: url (required).
read_url_browserA
使用浏览器读取网页(支持登录状态、Cookie、SPA 页面)
Inputs: url (required), waitFor, useExisting.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
read_url and read_url_browser both fetch web content, creating potential confusion; the browser variant's features like login and SPA support help distinguish them, but the overlap remains. read_clipboard_image is clearly distinct.
All tools follow a consistent 'read_' prefix with a clear object suffix (url, url_browser, clipboard_image), forming a predictable verb_noun pattern throughout the set.
With only 3 tools, the set is minimal but appropriately scoped for a content-reading utility covering two modes of web reading and OCR. It is slightly thin but not unreasonably so.
The domain of reading content is reasonably covered: simple URLs, browser-dependent URLs, and clipboard image OCR. Minor gaps like text clipboard reading or local file support exist, but core use cases are addressed.
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Web search, structured extraction, page monitor, link check & CVE scan for AI agents over MCP.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that enables AI assistants to fetch web content in multiple formats (HTML, JSON, text, Markdown) with intelligent content extraction, chunk management, and browser automation support.683 npm15MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for web scraping and browser automation, enabling AI agents to extract clean, token-efficient content from web pages.1MIT
- AlicenseAqualityCmaintenanceMCP server providing tools for web scraping, browser automation, computer vision, audio transcription, and RAG via API.991 PyPIMIT
- AlicenseAqualityDmaintenanceMCP server that provides read_page, screenshot, and pdf tools using a real browser, enabling agents to fetch clean markdown, screenshots, and PDFs from any URL.549 npmMIT