Categories
AI Agents Workflow Automation MCP Server Compliance Legal Tech Contract Management Document Signing E-SignatureStars
Forks
Watchers
Developer links
Signed.md
Built for people who ask an agent to do the paperwork, Signed.md has agents draft and send agreements while only humans approve templates and sign. Plain Markdown templates hold placeholders for text, numbers, currency, dates, choices, and signatures, and existing Word or PDF contracts can be imported. Sixteen MCP tools, REST endpoints with an OpenAPI spec, and webhooks give any agent a way to create, preview, and send documents. Guardrails sit in the server, not a prompt: templates an agent writes stay pending until an owner approves them, and changing one comma sends a draft back for another look. Template limits like a minimum fee or allowed notice periods are checked on every draft. Signers need no account or app; a link opens inline fields, a typed or drawn signature applied with one tap, and a progress panel. Signers can download an unsigned copy for their lawyer or decline with a reason. The last signature seals a PDF/A-2b file with a PAdES signature and RFC 3161 timestamps, plus a certificate page listing each signer's consent, times, IP address, and device. A ZIP evidence package, checkable offline by anyone, holds the signed Markdown, the PDF, a hash-chained log, and a signed manifest. Teams get four roles, folders, custom branding, and a record of what people and agents did. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- Agents prepare, people approve
- Revision hashes tie sending to the exact text, values, signers, and settings a person approved, so a changed comma needs another review before it goes out.
- Signing without accounts or apps
- Signers open a link on any device and are walked through inline fields with Start, Next, and Finish, then type or draw a signature once and reuse it.
- Proof anyone can verify offline
- The evidence ZIP holds signed Markdown, the PDF, a hash-chained log, and a signed manifest, and npx signed-md verify checks it without contacting your server.
- Works with the agents you use
- Claude, ChatGPT, Cursor, or your own MCP client can connect with an API key tied to a person, acting with that person's current role.
Features
- MCP and REST Interfaces
- Streamable HTTP MCP at /mcp offers 16 tools such as signed_create_document, while REST lives under /v1 with an OpenAPI spec served at /openapi.json.
- Signed Webhooks
- Webhooks fire on document.awaiting_last_signer, document.signed, document.finalized, and document.declined, each signed with HMAC-SHA256 so receivers can verify them.
- Typst PDF/A-2b Sealing
- The Typst 0.13 CLI renders each PDF once, then it is sealed as PDF/A-2b checked with veraPDF, signed with PAdES, and timestamped through RFC 3161.
- SQLite, PostgreSQL, and S3
- SQLite and local disk are the default, and PostgreSQL or S3 storage is one setting each, with migrations written for both SQLite and PostgreSQL.
- Offline signed-md Verifier
- The signed-md npm package verifies an evidence ZIP against the sender's /.well-known/signed-md-keys.json, checking manifest hashes, the evidence chain, and each signer's exact text.
- Docker Compose Deployment
- docker compose up -d runs the published ghcr.io/varops/signed-md image as one container on port 3000 with a single data volume, and guides cover HTTPS, SMTP, and backups.