Skip to main content
Glama
RightFlow CoWork

RightFlow CoWork

Official
by right-flow

RightFlow CoWork - Hebrew PDF MCP Server

License: MIT Node.js Version Test Coverage Security: Comprehensive

Open-source MCP (Model Context Protocol) server for generating professional Hebrew PDF documents via Claude Desktop with enterprise-grade security.


IMPORTANT NOTICE

The templates provided by RightFlow CoWork are for informational purposes only and do NOT constitute legal advice.

  • Templates are provided "as-is" without warranty of legal validity

  • Templates are community-contributed and have NOT received professional legal review

  • Users are solely responsible for verifying document compliance with applicable laws

  • Consult a qualified attorney before using any legal document template

  • RightFlow and its contributors are not liable for any damages arising from template use

  • Templates may not reflect the most recent legal requirements

For legally binding documents, always consult with a licensed legal professional in your jurisdiction.


Related MCP server: rendoc

πŸš€ Quick Start

Installation

# Install globally
npm install -g @rightflow/mcp-server

# Or use with npx (no installation)
npx @rightflow/mcp-server

Claude Desktop Setup

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "rightflow-cowork": {
      "command": "npx",
      "args": ["-y", "@rightflow/mcp-server"],
      "env": {
        "NODE_ENV": "production"
      }
    }
  }
}

Usage

In Claude Desktop, ask:

"Generate an employment contract for John Doe, Senior Developer, salary 25,000 ILS"
"Create a tax invoice for ABC Ltd, web development services, 15,000 ILS + VAT"
"Show me available PDF templates"

✨ Features

  • βœ… Hebrew/RTL Support - Perfect rendering with proper BiDi handling

  • βœ… Community Templates - 3-5 core templates (employment, invoice, receipt, NDA)

  • βœ… Enterprise Security - 8-layer security architecture (path, memory, rate limits, PII)

  • βœ… Natural Language - Generate PDFs by describing what you need

  • βœ… Local Processing - Everything runs on your machine, privacy-first

  • βœ… Open Source - MIT license, audit the code, contribute templates


πŸ” Security Features

8-Layer Security Architecture

  1. Path Sanitizer - Prevents path traversal attacks

  2. Rate Limiter - DoS prevention (20 requests/min)

  3. Memory Manager - Prevents OOM (100MB per document, 500MB total)

  4. Input Validator - Zod schema validation

  5. Hebrew Sanitizer - BiDi attack prevention (extended Unicode coverage)

  6. Template Verifier - SHA-256 checksum verification

  7. PII Handler - Secure handling, no logging of sensitive data

  8. Audit Logger - Comprehensive logging (PII-safe)

Test Coverage: 90%+ overall, 95%+ for security components

See SECURITY.md for full threat model and mitigation strategies.


πŸ“¦ Available Templates

Core Templates (Community-Contributed)

Template

Hebrew Name

Category

Status

Employment Contract

Χ—Χ•Χ–Χ” Χ’Χ‘Χ•Χ“Χ”

Employment

βœ… Available

Tax Invoice

Χ—Χ©Χ‘Χ•Χ Χ™Χͺ מב

Finance

βœ… Available

Receipt

Χ§Χ‘ΧœΧ”

Finance

βœ… Available

NDA

הבכם Χ‘Χ•Χ“Χ™Χ•Χͺ

Legal

πŸ”„ Coming Soon

Want more templates? See Contributing - community contributions welcome!


πŸ—οΈ Architecture

User Machine (Local Processing)
  β”œβ”€ Claude Desktop (MCP Protocol)
  β”‚   └─ @rightflow/mcp-server
  β”‚       β”œβ”€ Security Layer (8 layers)
  β”‚       β”œβ”€ Validation Layer (BiDi, Israeli validators)
  β”‚       β”œβ”€ Template System (checksum verified)
  β”‚       β”œβ”€ PDF Engine (pdf-lib + Hebrew/RTL)
  β”‚       └─ Storage & Audit (PII-safe)
  β”‚
  └─ Templates (Community + Built-in)
      β”œβ”€ Built-in (verified checksums)
      β”œβ”€ Custom (user responsibility)
      └─ Community (peer-reviewed)

πŸ§ͺ Development

TDD Workflow

This project follows strict Test-Driven Development with QA agent validation:

# Install dependencies
npm install

# Run tests in watch mode (TDD)
npm run test:tdd

# Run QA Agent (after implementing)
npm run qa:stage2

# Security tests
npm run test:security

# Hebrew edge case tests
npm run test:hebrew

# Full build
npm run build

Coverage Requirements

Component

Minimum Coverage

Security

95%

Validators

95%

PDF Engine

90%

Templates

90%

MCP Tools

85%


🀝 Contributing

We welcome community contributions! See CONTRIBUTING.md for guidelines.

How to Contribute Templates

  1. Fork the repository

  2. Create template with:

    • template.pdf (blank form)

    • template.json (field definitions)

    • checksum.sha256 (integrity hash)

    • README.md (documentation)

  3. Write tests first (TDD)

  4. Run QA Agent (npm run qa:stage6)

  5. Submit Pull Request

Important: All templates must include strong legal disclaimer and are peer-reviewed (not professionally reviewed).


πŸ“š Documentation


πŸ“ License

MIT License - see LICENSE for details.


πŸ›‘οΈ Security

Found a security vulnerability? See SECURITY.md for responsible disclosure.


πŸ’¬ Support


πŸ™ Acknowledgments


Maintained by: RightFlow Community Repository: https://github.com/right-flow/rightflow-mcp-server NPM Package: @rightflow/mcp-server

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude Desktop to search and query personal document collections (PDF, Word, Markdown, text) using semantic search and conversational AI with full context preservation across exchanges.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Generate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.
      7
      35 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude Desktop to perform local-first semantic search, ingest documents, and manage a private knowledge base with hybrid search, PII redaction, and multi-format support.
      1
      MIT