Supports environment variable configuration for storing sensitive information like credentials used in the screenshot process
Generates operation manuals in Markdown format with customizable templates that incorporate captured screenshots
🤖 MCP Manual Generator
一個基於 Model Context Protocol (MCP) 的自動化截圖和使用手冊生成工具。支援任何 Web 應用程式,透過配置檔定義截圖流程,自動生成包含截圖的操作手冊。
✨ 特色功能
- 🖼️ 自動化截圖:使用 Playwright 自動瀏覽網站並擷取畫面
- 🔐 智能登入:支援自動登入和身份驗證
- 📝 手冊生成:根據截圖自動生成 Markdown 格式的操作手冊
- 🎨 模板系統:支援自定義手冊模板
- 🔧 高度可配置:透過 JSON 配置檔控制所有行為
- 🤝 MCP 整合:可作為 MCP 服務器與 Claude 等 AI 助手整合
- 🌍 環境變數:支援敏感資訊的環境變數配置
🚀 快速開始
安裝
基本使用
- 初始化配置檔
- 編輯配置檔 (
mcp-manual.config.json
)
- 執行截圖和生成手冊
📖 詳細文檔
CLI 命令
mcp-manual init
初始化配置檔
mcp-manual capture
執行截圖
mcp-manual generate
生成操作手冊
mcp-manual run
執行完整流程(截圖 + 生成手冊)
mcp-manual serve
啟動 MCP 服務器
配置檔說明
完整的配置檔範例:
環境變數
支援在配置檔中使用環境變數:
配置檔中使用 ${VARIABLE_NAME}
格式引用。
🤝 MCP 整合
配置 MCP 服務器
在 Claude 或其他支援 MCP 的工具中配置:
MCP 工具列表
capture_screenshots
: 根據配置擷取截圖generate_manual
: 從截圖生成手冊load_config
: 載入並驗證配置檔capture_single
: 擷取單張截圖
🎨 自定義模板
建立自定義模板檔案:
使用自定義模板:
📁 專案結構
執行後的輸出結構:
🛠️ 進階使用
程式化使用
整合到現有專案
- 安裝依賴:
- 加入 npm scripts:
- 執行:
🐛 故障排除
常見問題
Q: 截圖都是登入頁面?
A: 檢查路由模式設定是否正確(hash vs history)
Q: 無法找到頁面元素?
A: 調整 waitFor
選擇器或增加 waitTime
Q: 環境變數無法讀取?
A: 確保 .env
檔案在正確位置,或使用系統環境變數
調試模式
啟用詳細日誌:
顯示瀏覽器視窗:
📄 授權
MIT License - 詳見 LICENSE 檔案
🤝 貢獻
歡迎提交 Issue 和 Pull Request!
📞 支援
- 📧 Email: haix.yeh@gmail.com
- 🐛 Issues: GitHub Issues
Made with ❤️ by Ryan Yeh
This server cannot be installed
Automates the creation of application user manuals by capturing screenshots and generating documentation, supporting any web application through configurable workflows and MCP integration with AI assistants.
Related MCP Servers
- AsecurityFlicenseAqualityEnables AI tools to capture and process screenshots of a user's screen, allowing AI assistants to see and analyze what the user is looking at through a simple MCP interface.Last updated -112Python
- AsecurityAlicenseAqualityAutomates the creation of standardized documentation by extracting information from source files and applying templates, with integration capabilities for GitHub, Google Drive, and Perplexity AI.Last updated -31TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server that provides web development tools including taking screenshots of screens, enabling AI agents to capture and analyze visual content during development.Last updated -22878TypeScript
- -securityFlicense-qualityA comprehensive, domain-agnostic documentation scraping and AI integration toolkit. Scrape any documentation website, create structured databases, and integrate with Claude Desktop via MCP (Model Context Protocol) for seamless AI-powered documentation assistance.Last updated -5Python