The Repository-to-LLM Transformer MCP Server is a powerful tool designed to transform code repositories into LLM-friendly formats. It bridges the gap between traditional codebases and modern AI language models, enabling more effective communication of codebases to AI tools. This project is based on RepoToTextForLLMs, which provides core functionality for converting repositories into LLM-readable formats.
As AI and Large Language Models (LLMs) become increasingly important in software development, there's a growing need to effectively communicate our codebases to these models. Traditional code repositories aren't optimized for LLM processing, which can lead to suboptimal results when using AI tools for code analysis and generation.
This project addresses several critical challenges:
To install mcp-repo2llm by uv:
"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"
}
}
GITHUB_TOKEN: Your GitHub tokenGITLAB_TOKEN: Your GitLab tokenget_gitlab_reporepo_url (string): The repository URL from GitLabbranch (string): The branch name, default is masterget_github_reporepo_url (string): The repository URL from GitHubbranch (string): The branch name, default is masterget_local_reporepo_url (string): The repository pathNo description, website, or topics provided.
No releases published.
No packages published.