iReceipt.pro

السجل الرسمي الإنتاجية

Hosted MCP for iReceipt.pro: author, validate and preview HTML templates rendered to PDF and images.

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http ireceipt-pro 'https://mcp.ireceipt.pro/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "ireceipt-pro": {
            "type": "http",
            "url": "https://mcp.ireceipt.pro/mcp"
        }
    }
}

التوثيق

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

المحتويات
  1. iReceipt.pro — MCP setup
  2. What you can do
  3. Install in Claude Code (plugin)
  4. Connect from other clients
  5. Authentication
  6. Troubleshooting
  7. Support

iReceipt.pro — MCP setup

Connect your AI assistant to your iReceipt.pro account through our hosted Model Context Protocol (MCP) server. iReceipt.pro renders HTML (Mustache) templates into PDF, PNG, JPG and WEBP through a REST API; the MCP server lets an assistant write and check those templates for you. No local setup, no API keys — the server is remote and protected by OAuth 2.1, so you sign in once with your iReceipt.pro account.

  • Server: ireceipt-pro
  • Transport: streamable HTTP
  • URL: https://mcp.ireceipt.pro/mcp
  • Auth: OAuth 2.1 (Authorization Code + PKCE) — you'll be prompted to sign in.

What you can do

Once connected, the assistant can work with your private templates and the public gallery, check a template before you use it, and render a preview:

ToolWhat it does
list_templatesList your private templates and/or the public gallery (ids, names, page sizes).
get_templateFetch a template's HTML, sample arguments and page box.
create_templateCreate a private template (within your plan's template limit).
update_templatePartially update a private template.
delete_templatePermanently delete a private template.
validate_templateFree static check: Mustache syntax, variables, and renderer traps (no scripts, no network).
preview_templateRender saved or unsaved HTML to an image. Uses one request of your monthly quota.
get_template_guideThe template authoring guide, by topic.

Install in Claude Code (plugin)

/plugin marketplace add ireceipt-pro/mcp-setup
/plugin install ireceipt-pro@ireceipt-pro
/reload-plugins

Then run /mcp and complete the sign-in when prompted.

Prefer not to use the marketplace? Add the server directly:

claude mcp add --transport http ireceipt-pro https://mcp.ireceipt.pro/mcp

Connect from other clients

Same remote URL, same sign-in — only the config location differs.

Claude Desktop / claude.ai connectors
  1. Open Settings → Connectors → Add custom connector.
  2. Name: iReceipt.pro
  3. URL: https://mcp.ireceipt.pro/mcp
  4. Save, then connect and sign in when prompted.
Cursor

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

{
  "mcpServers": {
    "ireceipt-pro": {
      "url": "https://mcp.ireceipt.pro/mcp"
    }
  }
}
VS Code (GitHub Copilot / MCP) and other clients
{
  "servers": {
    "ireceipt-pro": {
      "type": "http",
      "url": "https://mcp.ireceipt.pro/mcp"
    }
  }
}

Authentication

The server implements OAuth 2.1 with:

  • Authorization Code grant + PKCE (S256), refresh tokens.
  • Dynamic Client Registration (RFC 7591) — clients register automatically.
  • Scopes: templates:read, templates:write, templates:render, offline_access.
  • Discovery documents:
    • https://mcp.ireceipt.pro/.well-known/oauth-protected-resource
    • https://mcp.ireceipt.pro/.well-known/oauth-authorization-server
    • https://mcp.ireceipt.pro/.well-known/openid-configuration

Consent is shown on dashboard.ireceipt.pro. Tokens are issued to your account — the assistant only sees and changes your templates. To disconnect an assistant, open Agents in the dashboard and press Forget.

Guided prompts (create_template, fix_template, template_guide) and the template-guide resource are exposed too, so the assistant finds the right workflow on its own.


Troubleshooting

  • 401 Unauthorized / asked to sign in again — the access token expired. Re-run the client's connect/authorize action.
  • Tools don't appear — confirm the client finished the OAuth flow (in Claude Code, /mcp should show the server as connected).
  • A preview failed with a quota message — preview_template counts against your plan; validate_template is free and catches most problems first.
  • Wrong account — disconnect in the dashboard (Agents → Forget) and connect again.

Support

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

ما هو iReceipt.pro؟

Hosted MCP for iReceipt.pro: author, validate and preview HTML templates rendered to PDF and images.

كيف أثبّت iReceipt.pro؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http ireceipt-pro 'https://mcp.ireceipt.pro/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج iReceipt.pro إلى مفتاح API؟

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

هل iReceipt.pro مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون iReceipt.pro؟

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

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