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/cli.js
CHANGED
|
@@ -725,12 +725,8 @@ function registerJobTools(server, { client }) {
|
|
|
725
725
|
jobId: z.string(),
|
|
726
726
|
taskIds: z.array(z.string()).optional()
|
|
727
727
|
},
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
destructiveHint: true,
|
|
731
|
-
idempotentHint: true,
|
|
732
|
-
openWorldHint: true
|
|
733
|
-
}
|
|
728
|
+
// Deleting a job never leaves Filecheck: not open world.
|
|
729
|
+
annotations: { ...WRITE, idempotentHint: true }
|
|
734
730
|
},
|
|
735
731
|
async (args) => {
|
|
736
732
|
try {
|
|
@@ -1538,7 +1534,7 @@ function registerValidatePdf(server, { client, caps }) {
|
|
|
1538
1534
|
}
|
|
1539
1535
|
|
|
1540
1536
|
// src/version.ts
|
|
1541
|
-
var VERSION = "0.3.
|
|
1537
|
+
var VERSION = "0.3.2";
|
|
1542
1538
|
|
|
1543
1539
|
// src/server.ts
|
|
1544
1540
|
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.
|
|
@@ -1562,7 +1558,17 @@ Delivery: manage_destination create, then test_destination \u2014 it really writ
|
|
|
1562
1558
|
Setup errors name the field at fault (param) and list every problem (details): fix those and retry.`;
|
|
1563
1559
|
function createFilecheckMcp({ client, capabilities }) {
|
|
1564
1560
|
const server = new McpServer(
|
|
1565
|
-
{
|
|
1561
|
+
{
|
|
1562
|
+
name: "filecheck",
|
|
1563
|
+
title: "Filecheck",
|
|
1564
|
+
version: VERSION,
|
|
1565
|
+
websiteUrl: "https://filecheck.io",
|
|
1566
|
+
// The Filecheck mark, served on the remote server's own host (fc-oauth).
|
|
1567
|
+
icons: [
|
|
1568
|
+
{ src: "https://api.filecheck.io/favicon.svg", mimeType: "image/svg+xml", sizes: ["any"] },
|
|
1569
|
+
{ src: "https://api.filecheck.io/icon.png", mimeType: "image/png", sizes: ["512x512"] }
|
|
1570
|
+
]
|
|
1571
|
+
},
|
|
1566
1572
|
{ instructions: INSTRUCTIONS }
|
|
1567
1573
|
);
|
|
1568
1574
|
const ctx = { client, caps: capabilities };
|