Skip to main content
Glama

list_project_files

Browse and list files and directories in a CERN GitLab repository. Supports recursive exploration, specific path lookups, and different branches or commits.

Instructions

List files and directories in a CERN GitLab project's repository. Supports recursive listing and path specific lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject identifier — either a numeric ID (e.g. '12345') or a URL-encoded path (e.g. 'atlas/athena')
pathNoDirectory path within the repository (default: root '/')
refNoBranch name, tag, or commit SHA (default: project's default branch)
recursiveNoIf true, list files recursively (default: false)
per_pageNoNumber of entries to return (default: 100, max: 100)

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/MohamedElashri/cerngitlab-mcp'

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