Skip to main content
Glama

Code Merge MCP

by yy1588133

merge_content

Combine multiple files into one output file, with options to compress, use .gitignore rules, exclude .git directories, apply custom blacklists, and process large files efficiently.

Instructions

Merges content from multiple files into a single output file.

Input Schema

NameRequiredDescriptionDefault
compressNoWhether to compress the output.
custom_blacklistNoCustom blacklist items.
ignore_gitNoWhether to ignore the .git directory.
max_filesNoMaximum number of files to process.
pathYesThe target file or directory path.
use_cacheNoWhether to use file content cache.
use_gitignoreNoWhether to use .gitignore rules.
use_streamsNoWhether to use stream processing for large files.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "compress": { "description": "Whether to compress the output.", "type": "boolean" }, "custom_blacklist": { "description": "Custom blacklist items.", "items": { "type": "string" }, "type": "array" }, "ignore_git": { "description": "Whether to ignore the .git directory.", "type": "boolean" }, "max_files": { "description": "Maximum number of files to process.", "type": "number" }, "path": { "description": "The target file or directory path.", "type": "string" }, "use_cache": { "description": "Whether to use file content cache.", "type": "boolean" }, "use_gitignore": { "description": "Whether to use .gitignore rules.", "type": "boolean" }, "use_streams": { "description": "Whether to use stream processing for large files.", "type": "boolean" } }, "required": [ "path" ], "type": "object" }

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