io.github.Opafex/mcp-file-processor

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

Text extraction, keyword extraction, language detection, and chunking for RAG

التثبيت

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

NPM package @opafex/mcp-file-processor
Claude Code
claude mcp add mcp-file-processor -- npx -y @opafex/mcp-file-processor@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mcp-file-processor": {
            "command": "npx",
            "args": [
                "-y",
                "@opafex/mcp-file-processor@0.1.1"
            ]
        }
    }
}

التوثيق

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

المحتويات
  1. Opafex MCPs
  2. Servers
  3. Quick Start
  4. Development
  5. Shared Utilities
  6. License

Opafex MCPs

Open-source Model Context Protocol servers by Opafex. Each server is a standalone npm package usable with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Servers

PackageDescriptionStatus
@opafex/mcp-enrichmentCompany, contact, email & phone enrichment via Clearbit, Hunter.io, TwilioAvailable
@opafex/mcp-file-processorDocument text extraction, keyword detection, chunkingAvailable
@opafex/mcp-web-researchWeb search (Brave API), SSRF-guarded page fetch, research synthesisAvailable
@opafex/mcp-approval-queueHuman-in-the-loop approval gate — the agent asks, only a person approves (elicitation or CLI)Available
@opafex/knowledge-gridLayered context for agents (a library, in its own repo)Available

Quick Start

# Clone and install
git clone https://github.com/opafex/opafex-mcps.git
cd opafex-mcps
npm install
npm run build

# Run the enrichment server (mock mode — no API keys needed)
node packages/enrichment/dist/index.js
Add to Claude Code

Create or edit .mcp.json in your project root:

{
  "mcpServers": {
    "enrichment": {
      "command": "node",
      "args": ["/path/to/opafex-mcps/packages/enrichment/dist/index.js"],
      "env": {
        "CLEARBIT_API_KEY": "sk-...",
        "HUNTER_API_KEY": "...",
        "TWILIO_ACCOUNT_SID": "...",
        "TWILIO_AUTH_TOKEN": "..."
      }
    }
  }
}

All servers work in mock mode when API keys are omitted — great for development and testing.

Development

npm install          # Install all dependencies
npm run build        # Build all packages
npm test             # Run all tests
Adding a New Server
  1. Create packages/<server-name>/ with package.json, tsconfig.json, and src/
  2. Use @opafex/mcp-shared for the server bootstrap (createMCPServer)
  3. Define tools in tools.ts, wire up in index.ts
  4. Add tests in __tests__/

See packages/enrichment as a reference implementation.

Shared Utilities

@opafex/mcp-shared provides:

  • createMCPServer() / buildMCPServer() — Reusable MCP server bootstrap with tool/resource registration and stdio transport
  • ToolContext.elicit — ask the user a question through the client's UI (MCP elicitation), out of the model's reach
  • Validation helpers — Email, domain, phone format validation

License

MIT

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

ما هو io.github.Opafex/mcp-file-processor؟

Text extraction, keyword extraction, language detection, and chunking for RAG

كيف أثبّت io.github.Opafex/mcp-file-processor؟

يعمل على جهازك. في Claude Code: claude mcp add mcp-file-processor -- npx -y @opafex/mcp-file-processor@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.Opafex/mcp-file-processor إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.Opafex/mcp-file-processor مفتوح المصدر؟

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

من يصون io.github.Opafex/mcp-file-processor؟

ينشره opafex. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

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