# WebP magic-byte check, file discarded

> WebP magic-byte check, file discarded is an MCP server for files and documents. Remote MCP utility that checks whether a file has WebP magic bytes, then discards it. 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/webp-magic
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

This server is one entry in a collection of small, single-purpose MCP utilities published under the sadri-dridi registry namespace. Its job is narrow: it inspects the leading magic bytes of a supplied file to judge whether it is a WebP image, and the registry description says the file is discarded afterwards.

It is offered as a remote streamable-http endpoint hosted on a Cloudflare Workers domain, so there is nothing to install locally. The repository README describes the collection as public MCP servers aimed at autonomous clients, each with its own intake. It does not document the tool names, parameters or response format for this server.

The same repository also lists many sibling servers, including ID-format and calendar checks, as well as servers that route agents to an advertising service. This one belongs to the format-check group.

## Features

- **WebP magic-byte check:** Tests a file's leading bytes to see whether they match the WebP signature.
- **File discarded after check:** The registry description states the submitted file is not kept once the check is done.
- **Remote streamable-http:** Connects over a hosted streamable-http endpoint, so no local package is required.
- **Registry-named server:** Published in the official MCP registry as io.github.sadri-dridi/webp-magic.

## Good for

- Let an agent confirm that a downloaded file is really a WebP image
- Validate file type by signature before further image processing
- Add a lightweight format check to an autonomous client workflow

## Install

### Claude Code (Terminal)

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

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

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

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

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

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

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

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

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

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

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

## FAQ

### How do I connect to this server?

Use the streamable-http remote URL listed in the registry entry; no package is published for local install.

### What happens to the file I submit?

The registry description says the file is discarded after the magic-byte check.

### Who publishes it?

It is published under the sadri-dridi namespace as part of the named-mcp-utilities repository on GitHub.

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

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

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

The closest alternatives to WebP magic-byte check, file discarded are WebM EBML check, file discarded, ZIP magic-byte check, file discarded, Windows-1252 C1 band, input discarded, WAV RIFF check, file discarded and WKB endian marker, bytes 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

- [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.
- [ZIP magic-byte check, file discarded](https://ai-powered.com/mcp/zip-magic-byte-check-file-discarded): ZIP magic-byte check, file discarded is an MCP server for files and documents.
- [Windows-1252 C1 band, input discarded](https://ai-powered.com/mcp/windows-1252-c1-band-input-discarded): Windows-1252 C1 band, input discarded is an MCP server for developer tools.
- [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.
- [WKB endian marker, bytes discarded](https://ai-powered.com/mcp/wkb-endian-marker-bytes-discarded): WKB endian marker, bytes discarded is an MCP server for developer tools.
- [Unicode word charset, value discarded](https://ai-powered.com/mcp/unicode-word-charset-value-discarded): Unicode word charset, value discarded is an MCP server for developer tools.
- [Whitespace word count, text discarded](https://ai-powered.com/mcp/whitespace-word-count-text-discarded): Whitespace word count, text discarded is an MCP server for developer tools.
- [WASM magic version, bytes discarded](https://ai-powered.com/mcp/wasm-magic-version-bytes-discarded): WASM magic version, bytes discarded is an MCP server for developer tools.

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