Skip to main content
Glama

Code Merge MCP

by yy1588133

get_file_tree

Generate and retrieve the file tree structure of a project, with options to customize paths, use .gitignore rules, or exclude .git directories, for efficient code repository processing.

Instructions

Retrieves the file tree structure of the project.

Input Schema

NameRequiredDescriptionDefault
custom_blacklistNoCustom blacklist items.
ignore_gitNoWhether to ignore the .git directory.
pathNoThe target directory path.
use_gitignoreNoWhether to use .gitignore rules.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "custom_blacklist": { "description": "Custom blacklist items.", "items": { "type": "string" }, "type": "array" }, "ignore_git": { "description": "Whether to ignore the .git directory.", "type": "boolean" }, "path": { "description": "The target directory path.", "type": "string" }, "use_gitignore": { "description": "Whether to use .gitignore rules.", "type": "boolean" } }, "type": "object" }

You must be authenticated.

Other Tools from Code Merge MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yy1588133/code-merge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server