egyptian-tax-authority-mcp-server

v1.0.0
egyptian-tax-authority-mcp-server Checked 9 hours ago Published 8 days ago

Egyptian Tax Authority (ETA) Model Context Protocol (MCP) server for eInvoicing and eReceipt guidance, APIs, schemas, and offline validation

An MCP server for the Egyptian Tax Authority (ETA) providing guidance, API schemas, and offline validation for eInvoicing and eReceipt. Features - Read-Only: Operates entirely offline using a bundled knowledge snapshot. - Tools: Provides tools for roadmaps, document schemas, code tables, and error explanation. - Compliance: Zero runtime network access. Quick Start (via npx — Recommended) Run directly without cloning or building the repository. Add the following to your MCP client configuration (Claude Desktop, Cursor, Antigravity, VS Code, etc.):

Summary extracted from the README.

Egyptian Tax Authority (ETA) MCP Server

An MCP server for the Egyptian Tax Authority (ETA) providing guidance, API schemas, and offline validation for eInvoicing and eReceipt.

Features

  • Read-Only: Operates entirely offline using a bundled knowledge snapshot.
  • Tools: Provides tools for roadmaps, document schemas, code tables, and error explanation.
  • Compliance: Zero runtime network access.

Requirements

  • Node.js >= 20.3

Run directly without cloning or building the repository. Add the following to your MCP client configuration (Claude Desktop, Cursor, Antigravity, VS Code, etc.):

{
  "mcpServers": {
    "eta": {
      "command": "npx",
      "args": ["-y", "egyptian-tax-authority-mcp-server"]
    }
  }
}

Claude Desktop Config Path (Windows)

%APPDATA%\Claude\claude_desktop_config.json (restart Claude Desktop after saving).

Streamable HTTP Transport (Optional)

npx -y egyptian-tax-authority-mcp-server --transport http --port 3000 --host 127.0.0.1

Then connect your MCP client to http://127.0.0.1:3000/mcp.

Local Development Installation

  1. Clone the repository:
    git clone https://github.com/AhmedNooh/eta-mcp-server.git
    cd eta-mcp-server
    
  2. Install dependencies and build the server:
    npm install
    npm run build
    
  3. Or point your MCP client to the local build (dist/index.js):
    {
      "mcpServers": {
        "eta": {
          "command": "node",
          "args": ["C:\\path\\to\\your\\cloned\\eta-mcp-server\\dist\\index.js"]
        }
      }
    }
    

Getting Started

If you are new to this server, check out the Getting Started Guide to understand the recommended workflow.

Keeping Data Up-to-Date

Because this server operates completely offline at runtime using a bundled Knowledge Snapshot (data/snapshot/), upstream ETA documentation and code table updates are handled out-of-band:

  • Fast update check (no full crawl):
    npm run check-updates
    
    Checks ETA Production & Pre-Production sitemaps plus the official /files/*.json code tables against data/snapshot/manifest.json. Supports --json, --markdown, and --prod-only flags (exit code 0 = up-to-date, 2 = updates available, 1 = error).
  • Full snapshot sync:
    npm run sync
    
    Re-crawls ETA SDK documentation, updates code tables, regenerates preprod-diff.json, rebuilds search-index.json, and updates manifest.json.
  • Automated weekly GitHub Action: .github/workflows/sync-eta-snapshot.yml runs every Sunday at 06:00 UTC (and supports manual triggers via workflow_dispatch). When upstream updates are detected, it runs npm run sync, verifies npm run build and npm test, and opens a Pull Request with a summary of changes.

Commercial Integration Services & Support (خدمات الربط والدعم الفني)

Need hands-on help integrating your ERP or POS system with the Egyptian Tax Authority (ETA)?

  • Full ERP / POS Integration: End-to-end eInvoicing & eReceipt integration (Direct REST API or ETA Toolkit).
  • Digital Signing & Go-Live: CAdES-BES signing setup (USB Token / HSM / Cloud Seal), Pre-Production testing, and Production onboarding.
  • Troubleshooting & Custom SDKs: Resolving document rejections, canonicalization/UUID issues, and building custom production-ready integration kits.

Contact on WhatsApp: +20 120 258 6534

License

Licensed under the Apache License 2.0.

إخلاء المسؤولية

يرجى قراءة DISCLAIMER.md بعناية قبل استخدام هذه الأداة. استخدام هذا البرنامج يعني موافقتك على الشروط الواردة فيه.

Tools Reference

Below is the list of available tools with their required parameters.

Roadmap Tools

  • eta_get_integration_roadmap: Get integration roadmap for a track.
    • Parameters:
      • track (string): Must be either einvoicing or ereceipt.
  • eta_get_integration_step: Get integration step details.
    • Parameters:
      • track (string): Must be either einvoicing or ereceipt.
      • stepId (string): The Step or Phase ID to retrieve.

Documentation Tools

(Add descriptions here based on other files...)

(...and so on for other tools)