Skip to main content
Glama

download_attachment

Download uploaded files from GitLab projects using project ID, secret, and filename to retrieve attachments locally.

Instructions

Download an uploaded file from a GitLab project by secret and filename

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID or URL-encoded path of the project
secretYesThe 32-character secret of the upload
filenameYesThe filename of the upload
local_pathNoLocal path to save the file (optional, defaults to current directory)

Implementation Reference

  • Input schema definition for the 'download_attachment' MCP tool, defining parameters for downloading GitLab uploads/attachments using project ID, secret, filename, and optional local save path.
    export const DownloadAttachmentSchema = z.object({ project_id: z.string().describe("Project ID or URL-encoded path of the project"), secret: z.string().describe("The 32-character secret of the upload"), filename: z.string().describe("The filename of the upload"), local_path: z.string().optional().describe("Local path to save the file (optional, defaults to current directory)"), });

Latest Blog Posts

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/zereight/gitlab-mcp'

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