@manfred-kunze-dev/backbone-mcp-server 2.8.0-dev.1 → 2.8.0-dev.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.
@@ -32,7 +32,7 @@ function formatExportDocument(doc) {
32
32
  }
33
33
  export function register(server, client) {
34
34
  // ── convert_document ────────────────────────────────────────────────────
35
- server.tool("backbone_convert_document", "Convert documents to Markdown, text, HTML, or JSON. Accepts URLs, base64 data, or local file paths. Local files are automatically read and base64-encoded. Use async mode for large documents.", {
35
+ server.tool("backbone_convert_document", "Convert documents (PDF, DOCX, XLSX, images, etc.) to Markdown, text, HTML, or JSON. Accepts URLs, base64 data, or local file paths. Local files are automatically read and base64-encoded. Use this to convert binary files before passing them to backbone_create_extraction. Pipeline options: 'standard' (default, OCR-based) or 'vlm' (vision model, better for image-heavy/complex layouts). Use async mode for large documents.", {
36
36
  sources: z
37
37
  .array(z.object({
38
38
  type: z.enum(["url", "base64", "file"]).describe("Source type: 'url' for HTTP URLs, 'base64' for base64-encoded data, 'file' for local file paths"),
@@ -11,7 +11,7 @@ const IMAGE_MIME_TYPES = {
11
11
  };
12
12
  export function register(server, client) {
13
13
  // ── create_extraction ───────────────────────────────────────────────────
14
- server.tool("backbone_create_extraction", "Extract structured data from text and/or images using a schema and AI model. Supports text-only, vision (images), or combined extraction. Use a vision-capable model (e.g. openai/gpt-4o) when providing images.", {
14
+ server.tool("backbone_create_extraction", "Extract structured data from text and/or images using a schema and AI model. Supports text-only, vision (images), or combined extraction. Use a vision-capable model (e.g. openai/gpt-4o) when providing images. IMPORTANT: inputText accepts only plain text/markdown strings. For binary files (PDF, DOCX, XLSX, etc.), first convert them using backbone_convert_document to get markdown, then pass the mdContent here as inputText. Use async=true for large documents to avoid gateway timeouts.", {
15
15
  projectId: z.string().describe("The project ID"),
16
16
  schemaId: z.string().describe("The schema ID to extract with"),
17
17
  schemaVersionId: z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manfred-kunze-dev/backbone-mcp-server",
3
- "version": "2.8.0-dev.1",
3
+ "version": "2.8.0-dev.2",
4
4
  "description": "MCP server for the Backbone AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",