Skip to content

[Enhancement]: Add git to librechat API Docker image #7750

Open
@chiendo97

Description

@chiendo97

What features would you like to see added?

I would like to request adding git to the librechat API Docker image. This is so we can clone repositories directly within the container to support workflows like starting MCP servers from git sources using the uvx command.

More details

Add the following line to the Dockerfile or relevant build script:

RUN apk add --no-cache python3 py3-pip uv git

This change will ensure git is available inside the container.

Use Case
Currently, I want to start an MCP server with uvx by installing from a git repository like this:

mcpServers:
  reddit:
    command: uvx
    args:
      - --from
      - git+https://github.com/chiendo97/mcp-reddit.git
      - mcp-reddit
    env:

Without git available in the image, this flow is not possible.

Additional context
This enhancement will improve the flexibility and usability of the librechat API image by enabling git-based installs directly within the container.

Which components are impacted by your request?

Plugins, Other

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions