# MCP_git_repo_to_single_file

> MCP_git_repo_to_single_file — nsourlos-mcp-git-repo-to-single-file. Use this tool when you need to convert a git repository into a single file for easy ingestion by a Large Language Model (LLM) as context, solving the problem of complex repository structures and enabling seamless integration with AI models. It takes a git repository as input and outputs a consolidated file, providing a simplified interface for LLM context provisioning. This tool is ideal for use cases where a unified view of a repository's content is required for AI-driven analysis or processing.

Canonical page: https://skillsregistry.net/skills/nsourlos-mcp-git-repo-to-single-file  
JSON: https://api.skillsregistry.net/v1/skills/nsourlos-mcp-git-repo-to-single-file

## Description

MCP to convert a git repo to a single file and feed it to an LLM as context

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** version-control
- **Updated:** 2026-09-20

## Source

- **Source listing:** [GitHub](https://github.com/nsourlos/MCP_git_repo_to_single_file)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "nsourlos-mcp-git-repo-to-single-file"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/nsourlos-mcp-git-repo-to-single-file` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/nsourlos-mcp-git-repo-to-single-file/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
