@denisixnpm/planka-mcp 2.5.0 → 2.5.1

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/server.js CHANGED
@@ -626,7 +626,7 @@ if (!process.argv.includes("--healthcheck")) {
626
626
  function createMcpServer() {
627
627
  const server = new McpServer({
628
628
  name: "planka-mcp",
629
- version: "2.5.0",
629
+ version: "2.5.1",
630
630
  }, {
631
631
  capabilities: {
632
632
  tools: {},
@@ -345,13 +345,14 @@ export const attachmentsTool = {
345
345
  requiredFor: ["upload", "download", "rename", "delete"],
346
346
  },
347
347
  data: {
348
- description: "Attachment data: upload = { name (required), contentBase64 | text | url, mimeType? }; download = { cardId? (owning card, or set via context) }; rename = { name }",
348
+ description: "Attachment data: upload = { name?, filePath (recommended: server reads the file, infers name + MIME from extension) | contentBase64 | text | url, mimeType? }; download = { cardId? (owning card, or set via context) }; rename = { name }",
349
349
  requiredFor: ["upload", "rename"],
350
350
  properties: {
351
- name: { type: "string", description: "File/attachment name (e.g. report.pdf)", required: true },
352
- contentBase64: { type: "string", description: "Base64-encoded file content (preferred for binary)" },
351
+ name: { type: "string", description: "File/attachment name (e.g. report.pdf); defaults to the filePath basename" },
352
+ filePath: { type: "string", description: "Local file path — the server reads it ( 10 MB) and auto-detects name + MIME from the extension (.png, .jpg, .webp, .gif, .svg, .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .txt, .md, .csv, .json, ...)" },
353
+ contentBase64: { type: "string", description: "Base64-encoded file content (for inline binary)" },
353
354
  text: { type: "string", description: "Plain-text content (alternative to contentBase64)" },
354
- mimeType: { type: "string", description: "MIME type (e.g. application/pdf); default application/octet-stream, text/plain for text" },
355
+ mimeType: { type: "string", description: "MIME type; auto-detected from the filePath extension, application/octet-stream otherwise, text/plain for text" },
355
356
  url: { type: "string", description: "Link attachments (Planka v2): attach an external URL instead of file content" },
356
357
  cardId: { type: "string", description: "Owning card ID for download (or set cardId via the context tool)" },
357
358
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@denisixnpm/planka-mcp",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "MCP server for Planka - Real-Time Collaborative Kanban Board",
5
5
  "main": "dist/server.js",
6
6
  "type": "module",