Skip to main content
Glama

Pega DX MCP Server

by marco-looy

upload_attachment

Upload files to Pega as temporary attachments for case linking. Supports direct file paths, base64 content, or URLs, with auto-expiration after 2 hours if unused. Ensures cross-client compatibility.

Instructions

Upload a file to Pega as a temporary attachment that can later be linked to cases. Creates a temporary attachment instance that auto-expires after 2 hours if not linked. Supports multiple input methods for cross-client compatibility.

Input Schema

NameRequiredDescriptionDefault
appendUniqueIdToFileNameNoWhether to append a unique identifier to the filename to prevent naming conflicts. Pega will add timestamp-based unique ID to filename.
fileContentNoBase64-encoded file content (for web clients or when file system access is restricted). Use this when filePath is not available.
fileNameNoOriginal filename with extension (required when using fileContent or fileUrl). Example: "report.pdf", "image.jpg"
filePathNoPath to file on local filesystem (preferred for desktop clients like Cline). Example: "/home/user/document.pdf" or "C:\Users\user\file.txt"
fileUrlNoURL to file that can be fetched (http://, https://, file://, data:// schemes). Alternative when direct file access is not possible.
mimeTypeNoMIME type override (auto-detected from filename/content if not provided). Example: "application/pdf", "image/jpeg"

Input Schema (JSON Schema)

{ "properties": { "appendUniqueIdToFileName": { "default": true, "description": "Whether to append a unique identifier to the filename to prevent naming conflicts. Pega will add timestamp-based unique ID to filename.", "type": "boolean" }, "fileContent": { "description": "Base64-encoded file content (for web clients or when file system access is restricted). Use this when filePath is not available.", "type": "string" }, "fileName": { "description": "Original filename with extension (required when using fileContent or fileUrl). Example: \"report.pdf\", \"image.jpg\"", "type": "string" }, "filePath": { "description": "Path to file on local filesystem (preferred for desktop clients like Cline). Example: \"/home/user/document.pdf\" or \"C:\\Users\\user\\file.txt\"", "type": "string" }, "fileUrl": { "description": "URL to file that can be fetched (http://, https://, file://, data:// schemes). Alternative when direct file access is not possible.", "type": "string" }, "mimeType": { "description": "MIME type override (auto-detected from filename/content if not provided). Example: \"application/pdf\", \"image/jpeg\"", "type": "string" } }, "type": "object" }
Install Server

Other Tools from Pega DX MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marco-looy/pega-dx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server