io.github.GrabzIt/mcp-server
Official GrabzIt MCP server for AI web scraping, screenshots, and PDF/DOCX generation.
ماذا يمكنك أن تفعل مع io.github.GrabzIt/mcp-server؟
grabzit_inspect_urlgrabzit_scrape_htmlgrabzit_convert_urlgrabzit_convert_html
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@grabzit/mcp-serverclaude mcp add io-github-grabzit-mcp-server -e 'GRABZIT_APP_KEY=<GRABZIT_APP_KEY>' -e 'GRABZIT_APP_SECRET=<GRABZIT_APP_SECRET>' -- npx -y @grabzit/mcp-server@1.0.1
{
"mcpServers": {
"io-github-grabzit-mcp-server": {
"command": "npx",
"args": [
"-y",
"@grabzit/mcp-server@1.0.1"
],
"env": {
"GRABZIT_APP_KEY": "<GRABZIT_APP_KEY>",
"GRABZIT_APP_SECRET": "<GRABZIT_APP_SECRET>"
}
}
}
}
متغيرات البيئة
GRABZIT_APP_KEYإلزامي Your GrabzIt Application Key (Available at https://grabz.it/api/)GRABZIT_APP_SECRETإلزامي Your GrabzIt Application Secret (Available at https://grabz.it/api/)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
GrabzIt MCP Server
The official Model Context Protocol (MCP) server for GrabzIt. This server allows AI assistants (like Claude, Cursor, and Windsurf) to dynamically capture website screenshots, generate PDF and DOCX documents, and scrape web data directly within your AI environment.
🚀 Quick Start
This server is published on npm and can be executed instantly without installation using npx.
You will need a GrabzIt Application Key and Secret, which you can get by creating an account at GrabzIt.
Configuration
Add the following configuration to your MCP-compatible client (e.g., claude_desktop_config.json). Replace <YOUR_APP_KEY> and <YOUR_APP_SECRET> with your actual GrabzIt credentials.
{
"mcpServers": {
"grabzit": {
"command": "npx",
"args": [
"-y",
"@grabzit/mcp-server"
],
"env": {
"GRABZIT_APP_KEY": "<YOUR_APP_KEY>",
"GRABZIT_APP_SECRET": "<YOUR_APP_SECRET>"
}
}
}
}
🛠️ Environment Variables
The server requires the following environment variables to authenticate with the GrabzIt API:
GRABZIT_APP_KEY- Your GrabzIt Application Key.GRABZIT_APP_SECRET- Your GrabzIt Application Secret.
Tools
grabzit_inspect_urlCaptures a screenshot of a URL and returns it as an image that the AI can view directly in context. Supports full page captures, rendering delays for SPAs, element cropping via CSS selectors, and element stripping.grabzit_scrape_htmlExtracts fully-rendered HTML from a target URL after JavaScript execution completes. Supports custom rendering delays.grabzit_convert_urlConverts a target URL to an image (png,jpg,svg,tiff), PDF, or DOCX document. Supports page orientation, paper sizing, element cropping/stripping, and rendering delays.grabzit_convert_htmlConverts raw HTML string content into an image (png,jpg,svg,tiff), PDF, or DOCX document. Supports page orientation, paper sizing, element cropping/stripping, and rendering delays.
📝 Usage Examples
Once connected, you can ask your AI client prompts like:
- "Inspect https://news.ycombinator.com using GrabzIt and tell me what you see in the screenshot."
- "Scrape the rendered HTML of https://example.com after waiting 2000ms for dynamic content to load."
- "Convert https://example.com into an A4 PDF in landscape orientation using GrabzIt."
- "Take this HTML string invoice and convert it into a downloadable DOCX document."
📄 License
This project is open-source and available under the ISC License.
🔒 Privacy Policy
This MCP server acts as a secure bridge between your local AI environment and the GrabzIt API.
- Your
GRABZIT_APP_KEYandGRABZIT_APP_SECRETremain stored locally on your machine. - Any URLs or HTML data processed through this server are governed by the official GrabzIt Privacy Policy.
الأسئلة الشائعة
ما هو io.github.GrabzIt/mcp-server؟
Official GrabzIt MCP server for AI web scraping, screenshots, and PDF/DOCX generation.
كيف أثبّت io.github.GrabzIt/mcp-server؟
يعمل على جهازك. في Claude Code: claude mcp add io-github-grabzit-mcp-server -e 'GRABZIT_APP_KEY=<GRABZIT_APP_KEY>' -e 'GRABZIT_APP_SECRET=<GRABZIT_APP_SECRET>' -- npx -y @grabzit/mcp-server@1.0.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.GrabzIt/mcp-server إلى مفتاح API؟
نعم. يتطلب GRABZIT_APP_KEY, GRABZIT_APP_SECRET، وتضبطها في إعداداته.
هل io.github.GrabzIt/mcp-server مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.GrabzIt/mcp-server؟
ينشره GrabzIt. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.