Skip to main content
Glama
7gugu
by 7gugu

ZIP MCP 서버

중국어 | 영어

프로젝트 소개

ZIP MCP 서버는 fastMCP와 zip.js를 기반으로 하는 압축 서버로, 모델 컨텍스트 프로토콜(MCP)을 구현합니다. 이 프로젝트는 매개변수 제어 방식의 ZIP 압축, 압축 해제, 그리고 쿼리 압축 패키지 정보 기능을 제공합니다.

Related MCP server: ZIP MCP

특징

  • 파일 및 데이터의 압축 및 압축 해제를 지원합니다.

  • 다중 파일 패키징 압축 지원

  • 압축 수준 제어(0~9) 제공

  • 암호 보호 및 암호화 강도 설정을 지원합니다.

  • 압축된 패키지 메타데이터에 대한 쿼리 기능을 제공합니다.

프로젝트 구조

지엑스피1

설치

npm을 사용하여 ZIP MCP 서버를 전역적으로 설치할 수 있습니다.

npm install -g zip-mcp

MCP 구성

설치 후 MCP JSON 구성에서 ZIP MCP를 구성할 수 있습니다.

{
  "mcpServers": {
    "zip-mcp": {
      "command": "zip-mcp",
      "args": []
    }
  }
}

AI 클라이언트에서 MCP JSON 구성

MCP 도구 설명

ZIP MCP 서버는 MCP 프로토콜을 통해 호출할 수 있는 다음 도구를 제공합니다.

압축 도구(compress)

로컬 파일이나 디렉토리를 ZIP 파일로 압축합니다.

매개변수:

  • input : 압축할 파일 또는 디렉토리의 경로(문자열 또는 문자열 배열)

  • output : 출력 ZIP 파일의 경로

  • options : 압축 옵션(선택 사항)

    • level : 압축 레벨(0-9, 기본값은 5)

    • password : 비밀번호 보호

    • encryptionStrength : 암호화 강도(1-3)

    • overwrite : 기존 파일을 덮어쓸지 여부(부울)

보고:

  • 성공: 성공 정보가 포함된 텍스트 콘텐츠

  • 실패: 오류 정보가 포함된 텍스트 콘텐츠

압축 해제 도구(decompress)

지정된 디렉토리에 로컬 ZIP 파일의 압축을 풉니다.

매개변수:

  • input : ZIP 파일의 경로

  • output : 출력 디렉토리 경로

  • options : 압축 해제 옵션(선택 사항)

    • password : 압축 해제 비밀번호

    • overwrite : 기존 파일을 덮어쓸지 여부(부울)

    • createDirectories : 존재하지 않는 디렉토리를 생성할지 여부(부울)

보고:

  • 성공: 압축 해제 결과 정보가 포함된 텍스트 콘텐츠

  • 실패: 오류 정보가 포함된 텍스트 콘텐츠

우편번호 정보 도구(getZipInfo)

로컬 ZIP 파일의 메타데이터 정보를 가져옵니다.

매개변수:

  • input : ZIP 파일의 경로

  • options : 옵션(선택 사항)

    • password : 압축 해제 비밀번호

보고:

  • 성공: 다음을 포함하여 ZIP 파일의 자세한 정보가 포함된 텍스트 콘텐츠:

    • 총 파일 수

    • 전체 크기

    • 압축된 크기

    • 압축비

    • 각 파일의 자세한 정보

  • 실패: 오류 정보가 포함된 텍스트 콘텐츠

테스트 도구(에코)

서비스가 정상적으로 실행되고 있는지 테스트하기 위해 입력 메시지를 반환합니다.

매개변수:

  • message : 반환할 메시지

보고:

  • 입력 메시지와 현재 타임스탬프를 포함하는 텍스트 콘텐츠

예시

MCP 클라이언트를 사용하여 도구를 호출하는 예:

// Compress files
await client.executeTool("compress", {
  input: "/path/to/files/or/directory",
  output: "/path/to/output.zip",
  options: {
    level: 9,
    comment: "Test compression",
    password: "secret",
    overwrite: true,
  },
});

// Decompress files
await client.executeTool("decompress", {
  input: "/path/to/archive.zip",
  output: "/path/to/extract/directory",
  options: {
    password: "secret",
    overwrite: true,
    createDirectories: true,
  },
});

// Get ZIP info
await client.executeTool("getZipInfo", {
  input: "/path/to/archive.zip",
  options: {
    password: "secret",
  },
});

// Test service
await client.executeTool("echo", {
  message: "Hello, ZIP MCP Server!",
});

연락하다

Available Tools

4 tools
compressC

Compress local files or directories into a ZIP file

ParametersJSON Schema
NameRequiredDescriptionDefault
inputYes
optionsNo
outputYes

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states the action ('compress into a ZIP file') but lacks critical details: whether it overwrites existing files by default, requires specific permissions, handles errors, or has performance/rate limits. For a mutation tool with zero annotation coverage, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and specifies key details (local scope, ZIP format). Every word contributes to understanding the tool's purpose without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (3 parameters with nested objects, no annotations, no output schema), the description is inadequate. It covers the basic purpose but misses behavioral traits, parameter details, error handling, and output format. For a file mutation tool, this leaves the agent under-informed about critical usage aspects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It implies 'input' parameters (files/directories) and 'output' (ZIP file path), adding basic meaning. However, it doesn't explain the 'options' object or its sub-parameters (like 'level', 'password', 'overwrite'), leaving 3 parameters partially undocumented. The description adds some value but doesn't fully address the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('compress') and resource ('local files or directories'), and specifies the output format ('ZIP file'). It distinguishes from sibling 'decompress' by indicating the opposite operation, though it doesn't explicitly differentiate from 'getZipInfo' which inspects rather than creates ZIPs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'decompress' or 'getZipInfo'. It mentions the basic function but offers no context about appropriate scenarios, prerequisites, or exclusions. The agent must infer usage from tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

decompressC

Decompress local ZIP file to specified directory

ParametersJSON Schema
NameRequiredDescriptionDefault
inputYes
optionsNo
outputYes

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but only states the basic action without disclosing behavioral traits. It doesn't mention whether the operation is destructive (overwrites files), requires specific permissions, handles errors, or has performance considerations like large file support.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose with zero wasted words. It's appropriately sized for a straightforward tool, though its brevity contributes to gaps in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (3 parameters including a nested object, no annotations, no output schema), the description is incomplete. It lacks details on parameter usage, behavioral expectations, error handling, and output format, making it inadequate for safe and effective use by an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate but adds no parameter information. It mentions 'ZIP file' and 'specified directory' which loosely map to 'input' and 'output' parameters, but doesn't explain the 'options' object (createDirectories, overwrite, password) or their effects, leaving key functionality undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('decompress') and the resource ('local ZIP file to specified directory'), making the purpose immediately understandable. It distinguishes from sibling 'compress' by specifying the opposite operation, though it doesn't explicitly differentiate from 'getZipInfo' which inspects rather than extracts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'getZipInfo' (for inspection) or 'compress' (for the reverse operation). The description implies usage for extracting ZIP files but offers no context about prerequisites, error conditions, or typical scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

echoB

Return the input message (for testing)

ParametersJSON Schema
NameRequiredDescriptionDefault
messageYes

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It states the tool returns the input message, which implies a read-only, non-destructive behavior, but doesn't disclose any other traits like error handling, performance characteristics, or side effects. The description is minimal and lacks behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with a single sentence that front-loads the core functionality ('Return the input message') and adds context ('for testing'). There is zero waste, and every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose and testing context but lacks details on behavior, error cases, or integration with siblings. For a simple tool, it's complete enough but has clear gaps in guidance.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description adds meaning by explaining that the 'message' parameter is returned as output. However, it doesn't elaborate on parameter constraints, format, or examples. With 1 parameter and no schema descriptions, the description provides basic semantics but could compensate more for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with 'Return the input message' and specifies it's 'for testing', which distinguishes it from sibling tools like compress/decompress. However, it doesn't explicitly contrast with siblings beyond the testing context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context with 'for testing', suggesting this is a diagnostic tool rather than for production workflows. It doesn't provide explicit guidance on when to use versus alternatives like compress or decompress, nor does it specify prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

getZipInfoC

Get metadata information of a local ZIP file

ParametersJSON Schema
NameRequiredDescriptionDefault
inputYes
optionsNo

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states it's a read operation ('Get metadata'), implying non-destructive behavior, but lacks details on permissions, error handling, or output format. This is a significant gap for a tool with 2 parameters and no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero wasted words. It's front-loaded with the core purpose, making it easy to parse quickly, which is ideal for conciseness in tool definitions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (2 parameters, nested objects, no output schema) and lack of annotations, the description is incomplete. It doesn't cover parameter details, behavioral traits like error cases, or return values, leaving the agent with insufficient context to use the tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for undocumented parameters. It mentions 'local ZIP file' and 'metadata', hinting at the 'input' parameter, but doesn't explain the 'options' parameter or its 'password' field. This leaves half the parameters unclear, failing to add sufficient meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('metadata information of a local ZIP file'), making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'compress' or 'decompress', which operate on ZIP files differently, so it misses full sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention scenarios like needing metadata without extraction or compare to siblings like 'decompress' for content access, leaving the agent to infer usage from context alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv1.0.0
    • First observedcompress
    • First observeddecompress
    • First observedecho
    • First observedgetZipInfo

TDQS

B3/5.0

Scored across 4 tools

Disambiguation3/5

Three tools (compress, decompress, getZipInfo) are clearly distinct and cover core ZIP operations, but the 'echo' tool is unrelated to the ZIP domain and could cause confusion as it serves a generic testing purpose rather than a ZIP-specific function.

Naming Consistency3/5

The naming is mixed: 'compress' and 'decompress' use consistent verb-based names, but 'getZipInfo' uses a verb_noun pattern with camelCase, and 'echo' is a standalone verb. This creates a readable but inconsistent convention across the tool set.

Tool Count4/5

With 4 tools, the count is reasonable for a ZIP utility server, though slightly thin for comprehensive coverage. The inclusion of 'echo' reduces the effective domain-specific tools to 3, which is borderline but still functional for basic operations.

Completeness3/5

The tool set covers basic ZIP operations (compress, decompress, get metadata), but lacks advanced features like listing contents without extraction, adding/removing files from archives, or handling password-protected ZIPs. The 'echo' tool does not contribute to ZIP functionality, creating a minor gap in domain coverage.

Maintenance

ActivityStale
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    A comprehensive Model Context Protocol server that provides over 50 file and system management tools for AI models, including navigation, file operations, search, compression, and system information capabilities.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A powerful ZIP file processing tool that enables creating, extracting, listing, adding, deleting, viewing, and verifying ZIP files through MCP protocol integration with AI development environments.
    154 npm
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to perform 13 PDF operations (merge, split, compress, watermark, encrypt, and more) on local files via MCP.
    3
    -