@myspec/mcp-server 0.1.5-next.67 → 0.1.5-next.69

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3058,7 +3058,12 @@ var MAX_ATTACHMENT_MB = MAX_ATTACHMENT_BYTES / (1024 * 1024);
3058
3058
  var STRUCTURED_EXTENSION_MIME = {
3059
3059
  ".pdf": "application/pdf",
3060
3060
  ".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
3061
- ".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
3061
+ ".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
3062
+ ".png": "image/png",
3063
+ ".jpg": "image/jpeg",
3064
+ ".jpeg": "image/jpeg",
3065
+ ".gif": "image/gif",
3066
+ ".webp": "image/webp"
3062
3067
  };
3063
3068
  var TEXT_EXTENSIONS = /* @__PURE__ */ new Set([
3064
3069
  // Plain prose / docs
@@ -3167,7 +3172,7 @@ var inputSchema16 = {
3167
3172
  };
3168
3173
  var uploadAttachmentTool = {
3169
3174
  name: "upload_attachment",
3170
- description: `Upload a local file as a new attachment on a project. Reads \`file_path\` from the host running the MCP server, computes its SHA256, then performs the two-phase platform upload. Max ${String(MAX_ATTACHMENT_MB)} MB. Supported content: PDF, DOCX, XLSX, and any UTF-8 text file (XML, JSON, YAML, HTML, Markdown, CSV, source code, ...). Binary files outside the structured types will be rejected by the platform.`,
3175
+ description: `Upload a local file as a new attachment on a project. Reads \`file_path\` from the host running the MCP server, computes its SHA256, then performs the two-phase platform upload. Max ${String(MAX_ATTACHMENT_MB)} MB. Supported content: PDF, DOCX, XLSX, images (PNG, JPEG, GIF, WEBP), and any UTF-8 text file (XML, JSON, YAML, HTML, SVG, Markdown, CSV, source code, ...). Other binary files are rejected by the platform.`,
3171
3176
  inputSchema: inputSchema16,
3172
3177
  handler: async (args, ctx) => {
3173
3178
  if (!isAbsolute2(args.file_path)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myspec/mcp-server",
3
- "version": "0.1.5-next.67",
3
+ "version": "0.1.5-next.69",
4
4
  "description": "MySpec MCP server — exposes MySpec platform projects, files and attachments to MCP-aware clients via OAuth-authenticated access tokens.",
5
5
  "type": "module",
6
6
  "repository": {