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