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.

B2B competitive intelligence, live sales battlecards, 5-axis ICP prospect fit scoring, and tech stack teardowns over MCP and REST with cited public-web evidence.

Your AI assistant logs your meals and workouts, then plans your week from what you did. iPhone, Android and Garmin.
🚀 The fast, Pythonic way to build MCP servers and clients.
Open-source MCP to use Blender with any LLM
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Comments