Trelis Gitingest MCP Server

An MCP server for gitingest that provides access to Git repository analysis through the Model Context Protocol (MCP). This server leverages the

Local serverstdio

What is the Trelis Gitingest MCP Server?

An MCP server for gitingest that provides access to Git repository analysis through the Model Context Protocol (MCP). This server leverages the gitingest library to

What the server does

This MCP server provides a single unified tool for accessing Git repository data. It automatically handles repository ingestion as needed, so users can immediately query repository content without an explicit ingestion step.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
resource_typeType of data to retrieve (summary, tree, content, or all). Default is summary.
max_file_sizeMaximum file size in bytes to include in the analysis. Default is 10MB.
include_patternsComma-separated patterns of files to include in the analysis.
exclude_patternsComma-separated patterns of files to exclude from the analysis.
branchSpecific branch to analyze.
max_tokensTruncates the response to a specified number of tokens.

How to install the Trelis Gitingest MCP Server

{
  "mcpServers": {
    "trelis-gitingest-mcp": {
      "command": "uvx",
      "args": [
        "trelis-gitingest-mcp"
      ],
      "env": {
        "GITHUB_TOKEN": "github_pat_..."
      }
    }
  }
}

Maintainer configuration example. Replace example paths and credential placeholders before connecting.

Configuration

VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Trelis Gitingest MCP to resource type.”
  • “Use Trelis Gitingest MCP to max file size.”
  • “Use Trelis Gitingest MCP to include patterns.”

Frequently asked questions

An MCP server for gitingest that provides access to Git repository analysis through the Model Context Protocol (MCP). This server leverages the gitingest library to Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.