Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix(mcp): emit tool schemas as JSON Schema 2020-12, not draft-07

Marc Seitz8e8c6af85cfa
diff --git a/.gitignore b/.gitignore
index 6162aee6..e7c0ecc0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -57,6 +57,7 @@ scripts/*
!scripts/mcp-smoke.mjs
!scripts/check-tool-contracts.sh
!scripts/check-brand-logo.ts
+!scripts/check-mcp-schema-dialect.ts
!scripts/extend-trial.ts
!scripts/local/
scripts/local/.tinybird-page-views.json
diff --git a/package.json b/package.json
index f430a2d0..3e8e3936 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"start": "next start",
"lint": "next lint",
"check:brand-logo": "tsx scripts/check-brand-logo.ts",
+ "check:mcp-schemas": "tsx scripts/check-mcp-schema-dialect.ts",
"postinstall": "prisma generate",
"vercel-build": "prisma migrate deploy && next build",
"email": "email dev --dir ./components/emails --port 3001",