# ZIP magic-byte check, file discarded

> ZIP magic-byte check, file discarded is an MCP server for files and documents. Checks whether a file's leading bytes match a ZIP signature, then discards the file. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/sadri-dridi/named-mcp-utilities
- **MCP Registry name:** io.github.sadri-dridi/zip-magic
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-18

## About

This MCP server looks at the opening bytes of a file to decide whether they carry the ZIP magic number, and returns that result without keeping the file. The registry entry and repository name both describe the file as discarded after the check.

It is one of a set of small, single-purpose MCP utilities published under the same author. It is exposed as a remote streamable-HTTP endpoint, so an MCP client can connect to it without installing anything locally.

It suits agents and developers who need a quick type check on uploaded or downloaded archives before passing them to other steps, without storing the content.

## Features

- **ZIP signature detection:** Reports whether the leading bytes of a file match the ZIP magic number.
- **No file retention:** The registry entry states the file is discarded after the check.
- **Remote MCP endpoint:** Served over streamable HTTP, so MCP clients can connect by URL.

## Good for

- Screening uploaded files to see if they are ZIP archives before unpacking
- Letting an agent confirm a download is a ZIP before further processing
- Adding a lightweight file-type gate to an MCP-based workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http zip-magic https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "zip-magic": {
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "zip-magic": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "zip-magic": {
      "serverUrl": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zip-magic": {
      "type": "http",
      "url": "https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp"
    }
  }
}
```

## FAQ

### Does the server keep the files it checks?

The registry entry and repository name say the file is discarded after the check.

### How do I connect to it?

The registry lists a streamable-HTTP remote endpoint for the MCP server.

### How do I add ZIP magic-byte check, file discarded to Claude Code?

Run this command in your terminal: claude mcp add --transport http zip-magic https://agent-observatory-sensor.nolimit-observatory.workers.dev/s/zip-magic/mcp

### What are the best alternatives to ZIP magic-byte check, file discarded?

The closest alternatives to ZIP magic-byte check, file discarded are WebP magic-byte check, file discarded, WebM EBML check, file discarded and WAV RIFF check, file discarded.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [WebP magic-byte check, file discarded](https://ai-powered.com/mcp/webp-magic-byte-check-file-discarded): WebP magic-byte check, file discarded is an MCP server for files and documents.
- [WebM EBML check, file discarded](https://ai-powered.com/mcp/webm-ebml-check-file-discarded): WebM EBML check, file discarded is an MCP server for files and documents.
- [WAV RIFF check, file discarded](https://ai-powered.com/mcp/wav-riff-check-file-discarded-2): WAV RIFF check, file discarded is an MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/zip-magic-byte-check-file-discarded
