filecheck-mcp 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +14 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +14 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -722,12 +722,8 @@ function registerJobTools(server, { client }) {
|
|
|
722
722
|
jobId: z.string(),
|
|
723
723
|
taskIds: z.array(z.string()).optional()
|
|
724
724
|
},
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
destructiveHint: true,
|
|
728
|
-
idempotentHint: true,
|
|
729
|
-
openWorldHint: true
|
|
730
|
-
}
|
|
725
|
+
// Deleting a job never leaves Filecheck: not open world.
|
|
726
|
+
annotations: { ...WRITE, idempotentHint: true }
|
|
731
727
|
},
|
|
732
728
|
async (args) => {
|
|
733
729
|
try {
|
|
@@ -1535,7 +1531,7 @@ function registerValidatePdf(server, { client, caps }) {
|
|
|
1535
1531
|
}
|
|
1536
1532
|
|
|
1537
1533
|
// src/version.ts
|
|
1538
|
-
var VERSION = "0.3.
|
|
1534
|
+
var VERSION = "0.3.2";
|
|
1539
1535
|
|
|
1540
1536
|
// src/server.ts
|
|
1541
1537
|
var INSTRUCTIONS = `Filecheck checks print files (PDF, images) for print-readiness, fixes what it can automatically, validates PDF/A / PDF/UA conformance, optimizes, and renders previews.
|
|
@@ -1559,7 +1555,17 @@ Delivery: manage_destination create, then test_destination \u2014 it really writ
|
|
|
1559
1555
|
Setup errors name the field at fault (param) and list every problem (details): fix those and retry.`;
|
|
1560
1556
|
function createFilecheckMcp({ client, capabilities }) {
|
|
1561
1557
|
const server = new McpServer(
|
|
1562
|
-
{
|
|
1558
|
+
{
|
|
1559
|
+
name: "filecheck",
|
|
1560
|
+
title: "Filecheck",
|
|
1561
|
+
version: VERSION,
|
|
1562
|
+
websiteUrl: "https://filecheck.io",
|
|
1563
|
+
// The Filecheck mark, served on the remote server's own host (fc-oauth).
|
|
1564
|
+
icons: [
|
|
1565
|
+
{ src: "https://api.filecheck.io/favicon.svg", mimeType: "image/svg+xml", sizes: ["any"] },
|
|
1566
|
+
{ src: "https://api.filecheck.io/icon.png", mimeType: "image/png", sizes: ["512x512"] }
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1563
1569
|
{ instructions: INSTRUCTIONS }
|
|
1564
1570
|
);
|
|
1565
1571
|
const ctx = { client, caps: capabilities };
|