What tokens are required to use the server?
The server requires `GITHUB_TOKEN` and `GITLAB_TOKEN` environment variables to authenticate with GitHub and GitLab respectively.
@crisschan
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-repo2llm-server": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"--with-editable",
"/mcp-repo2llm",
"mcp",
"run",
"/mcp-repo2llm/mcp-repo2llm-server.py"
],
"env": {
"GITHUB_TOKEN": "your-github-token",
"GITLAB_TOKEN": "your-gitlab-token"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Mcp Repo2llm Server is an MCP server that transforms code repositories into LLM-friendly formats, bridging the gap between traditional codebases and AI language models. It is based on the RepoToTextForLLMs project.
Install and configure the server via uv with the required environment variables GITHUB_TOKEN and GITLAB_TOKEN. Invoke the tools get_github_repo, get_gitlab_repo, or get_local_repo with a repository URL and optional branch (default master) to receive the repository contents as formatted text.
The server requires `GITHUB_TOKEN` and `GITLAB_TOKEN` environment variables to authenticate with GitHub and GitLab respectively.
The server supports GitHub (`get_github_repo`), GitLab (`get_gitlab_repo`), and local file system repositories (`get_local_repo`).
The default branch is `master` for both GitHub and GitLab tools, but you may specify a different branch via the `branch` parameter.
Yes, the server requires `uv` and the `mcp[cli]` package. It is run as a Python script (`mcp-repo2llm-server.py`) based on the RepoToTextForLLMs library.
The tools return all project information and structure from the repository as a single formatted text string, suitable for input to LLMs.

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
A search tool helps dev to solve the naming things problem.
Painless E2E Automation for Mobile and Web
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments