LayerOne (DocX + Sign)

io.github.GOLayeronePublished by GitHub account GOLayeronev1.0.0Updated Oct 24, 2026

MCP server for LayerOne DocX (documents & Factur-X) and Sign (e-signature) APIs.

Overview

AI-generated overview

LayerOne MCP lets an AI assistant generate PDF/DOCX documents and Factur-X invoices and send PDFs for eIDAS/PAdES e-signature via LayerOne's DocX and Sign APIs.

What you can do
  • Generate documents and Factur-X (PDF/A-3) invoices from templates
  • List, upload, update, download, delete and version Word templates, and check usage quota
  • Send a PDF for eIDAS/PAdES signature, detect signature fields, check status, download the signed file and cancel requests
  • Verify signer identity by SMS OTP and retrieve the audit certificate or validate signature integrity
  • Files are passed as base64; downloads return a size summary and truncated preview rather than the full binary
When to use it
Useful when you want an assistant to produce invoices or business documents from your own Word templates, or to run an e-signature workflow (send, track, verify, download) without leaving the chat.
Requirements
Runs locally over stdio via npx (Node.js required) and is configured in the client's MCP config file. Needs a free LayerOne account and two API keys passed as environment variables: DOCX_API_KEY and SIGN_API_KEY. Network access to the LayerOne DocX and Sign services.
Before you install
Requires two API keys (DOCX_API_KEY, SIGN_API_KEY) that grant access to your LayerOne account; keep them out of shared configs. Tools create, update, delete and restore templates, send documents for signature, send SMS OTP codes and cancel signature requests, so actions have real external effects. Documents and PDFs are sent to LayerOne's servers, and the free tier is limited to 20 documents and 10 signatures per month.

Installation

In SourceWeft

  1. Open LayerOne (DocX + Sign) in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

LayerOne MCP — DocX + Sign

Serveur MCP (Model Context Protocol) qui expose les API DocX et Sign de LayerOne directement aux agents IA (Claude Desktop, ChatGPT, Cursor, Windsurf, etc.).

Une fois branché, votre assistant IA peut, en langage naturel :

  • DocX — générer des documents (PDF / DOCX), des factures électroniques Factur-X (réforme 2026), déposer / mettre à jour / télécharger des modèles Word, gérer leur historique de versions, et consulter le quota d'usage.
  • Sign — envoyer un PDF à la signature électronique eIDAS / PAdES, suivre son statut, vérifier l'identité du signataire par SMS (OTP), télécharger le document signé, récupérer le certificat de preuve et valider l'intégrité cryptographique de la signature.

Installation

Le serveur se lance via npx — aucune installation manuelle requise. Ajoutez le bloc ci-dessous à la configuration MCP de votre client, en renseignant vos deux clés API.

Claude Desktop

Fichier claude_desktop_config.json :

json
{  "mcpServers": {    "layerone": {      "command": "npx",      "args": ["-y", "layerone-mcp"],      "env": {        "DOCX_API_KEY": "votre_cle_docx",        "SIGN_API_KEY": "votre_cle_sign"      }    }  }}

Cursor

Fichier ~/.cursor/mcp.json (ou réglages MCP du projet) — même format :

json
{  "mcpServers": {    "layerone": {      "command": "npx",      "args": ["-y", "layerone-mcp"],      "env": {        "DOCX_API_KEY": "votre_cle_docx",        "SIGN_API_KEY": "votre_cle_sign"      }    }  }}

ChatGPT / autres clients compatibles MCP

La plupart des clients MCP acceptent la même structure (command = npx, args = ["-y", "layerone-mcp"], env = vos deux clés). Reportez-vous à la documentation MCP de votre client pour l'emplacement exact du fichier de configuration.


Obtenir les clés API

Créez un compte gratuit sur https://dev.layerone.fr, puis générez vos clés dans l'onglet « Clés API » :

  • une clé DocX → variable d'environnement DOCX_API_KEY ;
  • une clé Sign → variable d'environnement SIGN_API_KEY.

Le compte gratuit offre 20 documents DocX et 10 signatures Sign par mois.

Les clés ne sont jamais écrites en dur dans le code : elles sont lues uniquement depuis les variables d'environnement passées par votre client MCP.


Outils exposés

DocX (https://docx.layerone.fr)

OutilDescriptionEndpoint
docx_render_facturxGénérer une facture Factur-X (PDF/A-3)POST /render-facturx
docx_render_documentGénérer un document PDF ou DOCXPOST /render-document
docx_list_templatesLister / filtrer les modèlesGET /client/templates
docx_upload_templateDéposer un modèle WordPOST /client/templates
docx_update_templateMettre à jour un modèle (archive l'ancien)PUT /client/templates/{id}
docx_download_templateTélécharger un modèleGET /client/templates/{id}
docx_delete_templateSupprimer un modèleDELETE /client/templates/{id}
docx_list_template_versionsLister les versions archivéesGET /client/templates/{id}/versions
docx_download_template_versionTélécharger une version archivéeGET /client/templates/{id}/versions/{version_id}
docx_restore_template_versionRestaurer une version archivéePOST /client/templates/{id}/restore/{version_id}
docx_get_usage_statsConsulter le quota et l'usageGET /usage-stats

Sign (https://sign.layerone.fr)

OutilDescriptionEndpoint
sign_send_for_signatureEnvoyer un PDF à signerPOST /v1/documents/send
sign_detect_fieldsDétecter les champs de signature ([[...]])POST /v1/documents/detect-fields
sign_get_document_statusConsulter le statut d'une signatureGET /v1/documents/{id}
sign_download_signed_documentTélécharger le PDF signéGET /v1/documents/{id}/download
sign_send_otpEnvoyer un code OTP par SMSPOST /v1/otp/request
sign_verify_otpVérifier le code OTPPOST /v1/otp/verify
sign_validate_signatureVérifier l'intégrité de la signatureGET /v1/documents/{id}/validate
sign_get_audit_certificateRécupérer le certificat de preuveGET /v1/documents/{id}/audit
sign_cancel_documentAnnuler une demande de signatureDELETE /v1/documents/{id}

Fichiers : les modèles et PDF sont fournis aux outils encodés en base64 (template_base64, pdf_base64). Pour les téléchargements, le serveur renvoie un résumé (taille + aperçu base64 tronqué) plutôt que le binaire complet, afin de ne pas saturer la conversation.


Développement local

bash
cd integrations/mcpnpm installnpm run build          # compile src/ → dist/DOCX_API_KEY=... SIGN_API_KEY=... node dist/index.js

Le serveur communique sur stdio (entrée/sortie standard) selon le protocole MCP.


Publication

  • npm : publication automatique avec provenance via .github/workflows/publish.yml (déclenché par une release GitHub).
  • MCP Registry : le manifeste server.json (champ name io.github.GOLayerone/layerone, identique au mcpName de package.json) permet la publication au registre officiel via l'outil mcp-publisher.

Licence

MIT — © LayerOne.

Source: README.md at commit 6d33eb6

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.