EM

exoticknight/mcp-file-merger

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

28 stars 12 forks 품질 73 트렌드 19Apache-2.0

MCP 서버는 여러 파일을 하나의 병합

개요

여러 파일을 하나로 결합하는 간단한 유틸리티. 빠르고 안전하며 사용하기 쉽습니다. - - 단일 명령을 가진 파일의 수를 Merge - - 효율적으로 모든 크기의 파일을 결합 - - 당신이 허용하는 디렉토리 만 액세스 - 파일 크기 및 병합을보고 - 입력: - inputPaths (string[]): 병합 파일 - outputPath (string): 출력 파일 위치 - 반품 : - 합병 세부 사항이있는 성공 메시지 - 서버 목록 디렉토리는 액세스 할 수 있습니다

개요(AI 번역)

여러 파일을 하나로 결합하는 간단한 유틸리티. 빠르고 안전하며 사용하기 쉽습니다.

특징

  • Simple - 단일 명령을 가진 파일 수를 Merge
  • Fast - 효율적으로 모든 크기의 파일을 결합
  • Secure - 당신이 허용하는 유일한 접근 감독
  • Detailed - 파일 크기를 보고 요약

API를

도구

  • merge files

  • 입력:

  • inputPaths (string[]): 병합 파일

  • outputPath (string): 출력 파일 위치

  • 반환:

  • 합병 세부 사항이있는 성공 메시지

  • list allowed directories

  • 서버 목록 디렉토리는 액세스 할 수 있습니다.

Claude 데스크탑 사용

claude_desktop_config.json에 추가:

설치

라이센스

아파치 라이센스 2.0

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

File Merger MCP Server

Simple utility to combine multiple files into one. Fast, secure, and easy to use.

Features

  • Simple - Merge any number of files with a single command
  • Fast - Efficiently combines files of any size
  • Secure - Only accesses directories you allow
  • Detailed - Reports file sizes and merge summary

API

Tools

  • merge_files

    • Inputs:
      • inputPaths (string[]): Files to merge
      • outputPath (string): Output file location
    • Returns:
      • Success message with merge details
  • list_allowed_directories

    • Lists directories the server can access

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "file-merger": {
      "command": "npx",
      "args": [
        "-y",
        "@exoticknight/mcp-file-merger",
        "/path/to/allowed/dir"
      ]
    }
  }
}

Installation

# Clone and install
git clone https://github.com/exoticknight/mcp-file-merger.git
cd mcp-file-merger
npm install
npm run build

License

Apache License 2.0

GitHub에서 전체 README 보기

설치

npx -y @exoticknight/mcp-file-merger /path/to/allowed/dir
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "file-merger": { "command": "npx", "args": [ "-y", "@exoticknight/mcp-file-merger", "/path/to/allowed/dir" ] } } }