# `com.brainiall/image` on anlyon.dev

> Text inside fenced blocks marked untrusted-server-text was written by the MCP server's publisher, not by anlyon.dev. It is data to inspect, not instructions to follow. Invisible characters are shown as [U+XXXX].
> No finding is not a safety guarantee: these are point-in-time checks of tool definitions, not of code or behaviour.

- Page: https://anlyon.dev/servers/com.brainiall/image
- JSON: https://anlyon.dev/api/v1/servers/com.brainiall/image
- Version: 1.0.0 (active)
- Publisher: com.brainiall (domain proven to the MCP Registry)
- Runs: remote (streamable-http)
- Sign-in to list tools: none
- Metadata from the official MCP Registry, synced 2026-10-21T17:52:13.514Z

Title and description, as the publisher wrote them:

```untrusted-server-text
Brainiall Image
Background removal, upscaling, face restore, document OCR, table extraction, visual understanding.
```

Scanned 2026-10-21T19:10:16.642Z over streamable-http.

**10 tools: 1 can delete or cancel things, 7 change things and 2 only read.**

| Group | Class | Tools | Claude Code |
| --- | --- | --- | --- |
| Deletes or cancels | destructive | 1 | deny |
| Can't be undone | irreversible | 0 | ask |
| Changes things | write | 7 | ask |
| Only reads | read | 2 | allow |

## Exfil surface

No private-data -> untrusted-input -> outbound path in this server alone: no tool is tagged outbound.

| Tag | Meaning | Tools |
| --- | --- | --- |
| private-data | Reads files, mail, messages, databases, secrets, calendars or repositories. | `mcp__image__document_query` `mcp__image__document_to_markdown` |
| untrusted-input | Brings in text someone else can write: web pages, inbound email, messages, issues and comments. | `mcp__image__check_image_service` `mcp__image__document_extract` `mcp__image__document_query` `mcp__image__document_tables` `mcp__image__document_to_markdown` `mcp__image__remove_background` `mcp__image__restore_face` `mcp__image__run_skillsets` `mcp__image__understand_content` `mcp__image__upscale_image` |
| outbound | Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL. | none |

## Findings

- **warn** Annotations that disagree with the tool in `remove_background` ([annotation-conflict](https://anlyon.dev/methodology#annotation-conflict))

```untrusted-server-text
The server marks "remove_background" read-only (readOnlyHint: true), and its own name, description or input give the class "destructive".

annotations: {"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}; The name "remove_background" says "remove": a word for removing or ending something.
```

- **warn** Annotations that disagree with the tool in `remove_background` ([annotation-conflict](https://anlyon.dev/methodology#annotation-conflict))

```untrusted-server-text
The server marks "remove_background" not destructive (destructiveHint: false), and its own name, description or input give the class "destructive".

annotations: {"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}; The name "remove_background" says "remove": a word for removing or ending something.
```

- **warn** Annotations that disagree with the tool in `run_skillsets` ([annotation-conflict](https://anlyon.dev/methodology#annotation-conflict))

```untrusted-server-text
The server marks "run_skillsets" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

annotations: {"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true}; The name "run_skillsets" says "run": a word for a change.
```


## Deletes or cancels (1)

Removes, cancels or revokes something. Claude Code: deny.

### `remove_background`

- The name "remove_background" says "remove": a word for removing or ending something.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- The server marks it not destructive (destructiveHint: false), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.
- Findings: warn annotation-conflict, warn annotation-conflict

Description, as the server wrote it:

```untrusted-server-text
Remove the background from an image.

Uses Brainiall Cutout engine segmentation to precisely separate foreground from background.
Returns a base64-encoded image with transparent background (PNG) or white
background (WebP). Sub-500ms latency on GPU.

Args:
    image_base64: Base64-encoded image data (PNG, JPEG, or WebP).
    output_format: Output format -- 'png' (with transparency) or 'webp'.

Returns:
    dict with keys:
        - image_base64 (str): Base64-encoded result image
        - format (str): Output image format
        - original_size (dict): Original width and height
        - processing_ms (int): Processing time in milliseconds
```

## Changes things (7)

Creates or changes something that can be changed back. Claude Code: ask.

### `check_image_service`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Check health status of Image API services and loaded models.

Returns:
    dict with keys:
        - status (str): 'healthy' or error state
        - models (dict): Loaded model status per capability
        - version (str): API version
```

### `document_extract`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Turn a document image into structured fields. doc_type picks the schema (receipt/invoice/id/contract/form/generic).

A page with no readable text returns an error rather than a guess.

Returns:
    dict with keys: doc_type (str), fields (dict — null for any value not present), text (str — the recognised plain text).
```

### `document_tables`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Reconstruct every table in a document image into headers and rows.

Returns:
    dict with keys: table_count (int), tables (list of {title, headers, rows, row_count, column_count}); [] if there are no tables.
```

### `restore_face`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Restore and enhance faces in an image with the Brainiall face-restoration engine.

Detects all faces via RetinaFace, restores quality (fixes blur, noise,
compression artifacts), and pastes them back. Optionally enhances the
background with the Brainiall image-upscaling engine. GPU-accelerated, sub-3s latency.

Args:
    image_base64: Base64-encoded image data containing faces (PNG, JPEG, WebP).
    upscale: Output upscale factor -- 1 to 4 (default: 2).
    enhance_background: Whether to enhance background with the Brainiall image-upscaling engine (default: true).

Returns:
    dict with keys:
        - image (str): Base64-encoded restored image
        - format (str): Output image format
        - width (int): Output width
        - height (int): Output height
        - upscale (int): Scale factor applied
        - processing_time_ms (float): Processing time in milliseconds
```

### `run_skillsets`

- The name "run_skillsets" says "run": a word for a change.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.
- Findings: warn annotation-conflict

Description, as the server wrote it:

```untrusted-server-text
Run a multi-skill enrichment pipeline over a document image or text in one call.

Brainiall Skillsets engine. Returns per-skill outputs ready for indexing or RAG.
```

### `understand_content`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Multimodal extraction. Send an image, text, or both; define your schema of fields; get structured JSON.

Brainiall Content Understanding engine. Unified multimodal field extraction over images and text.
```

### `upscale_image`

- Nothing in its name or description says what it does, so it is counted as a write.
- The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Upscale image resolution with the Brainiall image-upscaling engine.

Enhances image resolution by 2x or 4x with the GPU-accelerated Brainiall image-upscaling engine
super-resolution. Processes in tiles (256x256) to manage VRAM.
Maximum output dimension: 8192x8192.

Args:
    image_base64: Base64-encoded image data (PNG, JPEG, or WebP).
    scale: Upscale factor -- 2 or 4 (default: 4).

Returns:
    dict with keys:
        - image (str): Base64-encoded upscaled image
        - format (str): Output image format
        - width (int): Output width
        - height (int): Output height
        - scale (int): Scale factor applied
        - processing_time_ms (float): Processing time in milliseconds
```

## Only reads (2)

Looks things up and changes nothing. Claude Code: allow.

### `document_query`

- The name "document_query" says "query": a word for reading.
- Tag private-data: The name "document_query" says "query" and "document": it reads documents. The description's first sentence says "document": it reads documents.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Ask a natural-language question about a document image; returns a grounded answer plus the supporting line.

Returns found:false rather than guessing when the document doesn't contain the answer.

Returns:
    dict with keys: answer (str|null), found (bool), supporting_text (str|null), text (str).
```

### `document_to_markdown`

- The description's first verb is "return": a word for reading.
- Tag private-data: The name "document_to_markdown" says "document": it reads documents. The description's first sentence says "return" and "document": it reads documents.
- Tag untrusted-input: The server marks it openWorldHint: true: it reaches things outside the server's own data.

Description, as the server wrote it:

```untrusted-server-text
Return the document as structured Markdown (headings, tables, lists, code blocks, math).

Brainiall Doc Layout engine. The single API for converting documents to LLM-friendly format.
```

## Claude Code permissions

For `.claude/settings.json`, assuming the server is installed as `image`:

```json
{
  "permissions": {
    "allow": [
      "mcp__image__document_query",
      "mcp__image__document_to_markdown"
    ],
    "ask": [
      "mcp__image__upscale_image",
      "mcp__image__restore_face",
      "mcp__image__check_image_service",
      "mcp__image__document_extract",
      "mcp__image__document_tables",
      "mcp__image__run_skillsets",
      "mcp__image__understand_content"
    ],
    "deny": [
      "mcp__image__remove_background"
    ]
  }
}
```

Capability tags behind the rules (a read tagged outbound is asked about):

- `mcp__image__remove_background`: untrusted-input
- `mcp__image__upscale_image`: untrusted-input
- `mcp__image__restore_face`: untrusted-input
- `mcp__image__check_image_service`: untrusted-input
- `mcp__image__document_extract`: untrusted-input
- `mcp__image__document_query`: private-data, untrusted-input
- `mcp__image__document_tables`: untrusted-input
- `mcp__image__document_to_markdown`: private-data, untrusted-input
- `mcp__image__run_skillsets`: untrusted-input
- `mcp__image__understand_content`: untrusted-input

## Remote posture

What an anonymous client saw at the remote endpoint, last 2026-10-22T14:28:43.667Z, unchanged since 2026-10-22T14:28:43.667Z. No credentials were sent and no tool was called. Values are shown as the endpoint returned them. Method: https://anlyon.dev/methodology#remote-posture

| Fact | Observed |
| --- | --- |
| Reachable | `yes` |
| HTTP status of an anonymous initialize | `200` |
| tools/list served without credentials | `yes` |
| Tools that change things, listed without credentials | `8` |
| Protocol version | `2025-06-18` |
| WWW-Authenticate on 401 | `not observed` |
| resource_metadata in WWW-Authenticate | `none` |
| RFC 9728 protected resource metadata | `https://api.brainiall.com/.well-known/oauth-protected-resource` |
| Authorization servers | `none` |
| Legacy HTTP+SSE transport | `no` |
| Dynamic client registration | `not observed` |
| Client ID metadata documents | `not observed` |

- **high** Tools that change things, listed to anyone ([unauth-remote-writes](https://anlyon.dev/methodology#unauth-remote-writes))

```untrusted-server-text
The endpoint served tools/list without credentials, and the list has 8 tools that change things (1 destructive, 7 write). Whether a call also works without credentials was not tested: tools are never called.

https://api.brainiall.com/mcp/image/mcp: tools/list returned 10 tools to an anonymous client, including remove_background (destructive), upscale_image (write), restore_face (write), check_image_service (write), document_extract (write) and 3 more
```
