io.github.zymsj8j9z9-ship-it/packforai-mcp

السجل الرسمي البيانات وقواعدها

Convert PDF, DOCX, XLSX, CSV, JSON into clean, AI-ready Markdown via the PackForAI API.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package packforai-mcp
Claude Code
claude mcp add packforai-mcp -e 'PACKFORAI_API_KEY=<your packforai_api_key>' -- npx -y packforai-mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "packforai-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "packforai-mcp@0.1.1"
            ],
            "env": {
                "PACKFORAI_API_KEY": "<your packforai_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • PACKFORAI_API_KEY إلزامي سري Your PackForAI API key (Pro plan). Create one at https://packforai.com/account

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. PackForAI MCP server
  2. What you need
  3. Install
  4. Usage
  5. Config
  6. Links
  7. License

PackForAI MCP server

Convert PDF, DOCX, PPTX, XLSX, CSV and JSON into clean, compact, AI-ready Markdown, directly inside Claude, Cursor and any other MCP client. Powered by PackForAI.

Instead of pasting a messy PDF into your AI (broken text, lost tables, wasted tokens), ask your assistant to convert it first: it comes back as clean Markdown with up to 65% fewer tokens.

What you need

Install

The server runs via npx, so there is nothing to install globally. Add it to your MCP client's config.

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config) and add:

{
  "mcpServers": {
    "packforai": {
      "command": "npx",
      "args": ["-y", "packforai-mcp"],
      "env": { "PACKFORAI_API_KEY": "your_key_here" }
    }
  }
}

Restart Claude Desktop.

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "packforai": {
      "command": "npx",
      "args": ["-y", "packforai-mcp"],
      "env": { "PACKFORAI_API_KEY": "your_key_here" }
    }
  }
}

Usage

Once connected, just ask your assistant, for example:

  • "Convert ~/Downloads/Q4-report.pdf to clean Markdown."
  • "Fetch https://example.com/spec.docx and give me the AI-ready version."
  • "Convert this scanned PDF with OCR: /path/to/scan.pdf."
Tool

convert_document

ParamTypeDescription
pathstringAbsolute path to a local document file.
urlstringPublic https URL of a document to fetch and convert.
ocrbooleanForce OCR for scanned / image-only PDFs (Pro). Default false.
fullbooleanReturn the full document.md (e.g. complete spreadsheet tables) instead of the compact version. Default false.

Provide either path or url. Returns the Markdown plus a token-savings summary.

Config

  • PACKFORAI_API_KEY (required) — your PackForAI API key.
  • PACKFORAI_BASE_URL (optional) — override the API base (defaults to https://packforai.com/api/v1).

License

MIT

الأسئلة الشائعة

ما هو io.github.zymsj8j9z9-ship-it/packforai-mcp؟

Convert PDF, DOCX, XLSX, CSV, JSON into clean, AI-ready Markdown via the PackForAI API.

كيف أثبّت io.github.zymsj8j9z9-ship-it/packforai-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add packforai-mcp -e 'PACKFORAI_API_KEY=<your packforai_api_key>' -- npx -y packforai-mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.zymsj8j9z9-ship-it/packforai-mcp إلى مفتاح API؟

نعم. يتطلب PACKFORAI_API_KEY، وتضبطها في إعداداته.

هل io.github.zymsj8j9z9-ship-it/packforai-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.zymsj8j9z9-ship-it/packforai-mcp؟

ينشره zymsj8j9z9-ship-it. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.