Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GIT_EXPLORER_GITLAB_TOKENNoYour GitLab personal access token for accessing private repositories

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_codebaseA
    Clone a Git repository and generate a structured text file containing its contents.

    This tool clones a git repository from the provided URL, processes its contents,
    and returns a single text file containing the repository structure and the content
    of all files. Binary files and empty text files are excluded. The tool respects
    .gitignore and .repomixignore patterns. The output includes an estimated token count
    using the o200k_base encoding.

    Args:
        repo_url (str): The URL of the Git repository to clone
        use_token (bool, optional): Whether to use the GitLab token for authentication.
                                   Defaults to True.

    Returns:
        str: A formatted text representation of the repository contents, including
             file structure, estimated token count, and the content of all text files.

    Raises:
        GitCommandError: If there is an error during the git clone operation
        Exception: For any other errors that occur during processing
    
estimate_codebaseA
    Get statistics about a Git repository without downloading all content.

    This tool clones a git repository from the provided URL, analyzes its structure,
    and returns statistical information useful for LLM processing, including:
    - Estimated token count
    - Total file count
    - Repository structure

    Args:
        repo_url (str): The URL of the Git repository to clone
        use_token (bool, optional): Whether to use the GitLab token for authentication.
                                   Defaults to True.

    Returns:
        str: A formatted text representation of the repository statistics

    Raises:
        GitCommandError: If there is an error during the git clone operation
        Exception: For any other errors that occur during processing
    
check_gitlab_token_statusA

Check if the GitLab token is configured in the environment. Returns: A message indicating whether the GitLab token is configured

get_fileA
    Fetch the content of a single specified file from a Git repository.

    This tool clones a Git repository from the provided URL, reads the content
    of the specified file, and returns it as a string. The repository is cloned
    with depth=1 for efficiency. If the file does not exist or an error occurs,
    an appropriate error message is returned.

    Args:
        repo_url (str): The URL of the Git repository to clone.
        file_path (str): The relative path to the file within the repository.
        use_token (bool, optional): Whether to use the GitLab token for authentication.
                                   Defaults to True.

    Returns:
        str: The content of the specified file, or an error message if retrieval fails.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/jmiedzinski/mcp-git-explorer'

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