# io.github.zp130221/pdfedit-mcp (npm · @niubai/pdfedit-mcp)

Edit text inside existing PDFs: replace, delete, redact, insert, fill forms; original fonts kept.

- Trust score: 77/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-18

## Components

- remote · `pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev`: 63/100, [markdown](https://verifymcp.io/servers/zp130221-pdfedit-mcp/pdfedit-mcp-remote.md), [page](https://verifymcp.io/servers/zp130221-pdfedit-mcp/pdfedit-mcp-remote)
- npm · `@niubai/pdfedit-mcp`: 77/100 (this document), [markdown](https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp.md), [page](https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp)

## Channel facts

- Registry: `npm`
- Package: `@niubai/pdfedit-mcp`
- Version: `0.1.5`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-18.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 0 of 3 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to zp130221/pdfedit-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 980 tokens (~196/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 7/100
  - Stability observed for 2 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 85/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 56% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the io.github.zp130221/pdfedit-mcp server?

io.github.zp130221/pdfedit-mcp runs locally as an npm package, launched with npx -y @niubai/pdfedit-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add zp130221-pdfedit-mcp -- npx -y @niubai/pdfedit-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "zp130221-pdfedit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@niubai/pdfedit-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "zp130221-pdfedit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@niubai/pdfedit-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add zp130221-pdfedit-mcp -- npx -y @niubai/pdfedit-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "zp130221-pdfedit-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@niubai/pdfedit-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add zp130221-pdfedit-mcp --command npx --arg -y --arg @niubai/pdfedit-mcp
```

### Hermes

```yaml
mcp_servers:
  zp130221-pdfedit-mcp:
    command: "npx"
    args: ["-y", "@niubai/pdfedit-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "zp130221-pdfedit-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@niubai/pdfedit-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add zp130221-pdfedit-mcp -t stdio -c npx -a -y @niubai/pdfedit-mcp
```

### Other

```json
{
  "mcpServers": {
    "zp130221-pdfedit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@niubai/pdfedit-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-18 (score 77, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-17 (score 62, +13)

- [security regression] Malware scan: pass → unverified
- [security improvement] Injection markers: unverified → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Stability: unverified → 0.03
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Tool coverage: 56
- [functional] First check of Schema quality: good
- [functional] First check of Schema quality: fail
- [functional] First check of Destructive annotations: pass
- [functional] First check of Schema quality: fail
- [functional] Package version: 0.1.4 → 0.1.5

### 2026-10-16 (score 49)

First indexed and scored.

## MCP tools (5)

### `pdf_edit` (~296 tokens)

Edit a PDF

Edit the text of an existing PDF in place: replace, delete, redact, insert, or fill form fields, keeping the original layout, fonts and everything you did not point at. `edits[]` is taken exactly as the API takes it (`op`, `scope`, `match`, `fit`), and the result carries up to 3 before/after previews of the pages that changed. To change text on one page only, set `scope.pages`; to pick one of several identical matches, use `scope.after` with nearby text or `scope.occurrence`. Use `op: 'redact'` when the text must be unrecoverable.

Input parameters:

- `edits` (array, required): The edits to apply, in order, exactly as `POST /v1/edit` takes them.
- `file` (string, required): The PDF: an absolute (or ~) local path, which this server uploads for you, an https:// URL the API fetches, or an `f_…` file id from an earlier call.
- `options` (object)
- `output_path` (string): Where to write the edited PDF (stdio mode only). Default: `<name>.edited.pdf` next to the input, or `<name>.edited.2.pdf`, `.3.pdf`, ... when that exists; an earlier result is never overwritten.
- `password` (string): The document open password, when it has one.

### `pdf_batch` (~233 tokens)

Batch-edit a PDF template

Apply the same edits to one template PDF once per record, producing one output document per record — a mail merge over an existing PDF. Returns a `job_id`: call `pdf_job` with it for the per-record results. To change text on one page only, set `scope.pages`; to pick one of several identical matches, use `scope.after` with nearby text or `scope.occurrence`. Use `op: 'redact'` when the text must be unrecoverable.

Input parameters:

- `edits` (array, required): The edits applied to each record, with `{field}` placeholders filled from it.
- `file` (string, required): The PDF: an absolute (or ~) local path, which this server uploads for you, an https:// URL the API fetches, or an `f_…` file id from an earlier call. Used as the template for every record.
- `options` (object)
- `password` (string)
- `records` (array): One object per output document.
- `records_url` (string): A CSV or JSONL file of records, instead of `records`.

### `pdf_find` (~214 tokens)

Read the text of a PDF

Read the text of a PDF: every span with its page, position, font and span id, optionally filtered by `query` (the same four `match` modes an edit uses) and `pages`, over the `content`, `forms` and `annotations` layers. Paginated: pass the returned `next_cursor` back as `cursor` for the next page. Use it before `pdf_edit` to check what a document actually says and to pick the `scope` that selects the match you mean.

Input parameters:

- `cursor` (string|null)
- `file` (string, required): The PDF: an absolute (or ~) local path, which this server uploads for you, an https:// URL the API fetches, or an `f_…` file id from an earlier call.
- `layers` (array)
- `limit` (integer): (default: 200)
- `match` (object)
- `pages`
- `password` (string)
- `query` (string|null)

### `pdf_preview` (~138 tokens)

Render a PDF page

Render one page of a PDF as a PNG image block, optionally cropped to `region` and with rectangles drawn over `highlight`. Use it to see a page before editing it, or to check the result afterwards.

Input parameters:

- `file` (string, required): The PDF: an absolute (or ~) local path, which this server uploads for you, an https:// URL the API fetches, or an `f_…` file id from an earlier call.
- `highlight`
- `page` (integer): (default: 1)
- `password` (string)
- `region`
- `scale`: (default: 2)

### `pdf_job` (~99 tokens)

Job result

The result of an async edit or a batch, by `job_id`: the same body `pdf_edit` returns once the job is done, plus `progress` while it is still queued or running, and `records` for a batch.

Input parameters:

- `job_id` (string, required): The `job_id` an async edit or a batch returned.
- `output_path` (string): Where to write the finished document (stdio mode, single-document jobs only).

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp#diagnostics

## Score history

- 2026-10-18: 77
- 2026-10-17: 62
- 2026-10-16: 49

## Common questions

### What is the io.github.zp130221/pdfedit-mcp server?

io.github.zp130221/pdfedit-mcp is listed in the public MCP registry as io.github.zp130221/pdfedit-mcp. Edit text inside existing PDFs: replace, delete, redact, insert, fill forms; original fonts kept. This page covers its npm package (@niubai/pdfedit-mcp).

### Is the io.github.zp130221/pdfedit-mcp server safe to use?

io.github.zp130221/pdfedit-mcp scores 77 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 18 October 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.zp130221/pdfedit-mcp server expose?

io.github.zp130221/pdfedit-mcp exposes 5 tools: pdf_edit, pdf_batch, pdf_find, pdf_preview, pdf_job. Their descriptions and schemas cost roughly 980 tokens of context every time the server is loaded.

### Is the io.github.zp130221/pdfedit-mcp server still maintained?

io.github.zp130221/pdfedit-mcp is still listed as active in the MCP registry. We last reached this channel on 18 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.zp130221/pdfedit-mcp server under?

io.github.zp130221/pdfedit-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@niubai/pdfedit-mcp
- Socket report: https://socket.dev/npm/package/@niubai/pdfedit-mcp
- Repository: https://github.com/zp130221/pdfedit-mcp
- Website: https://api.niubai.vip/
- Changelog RSS feed: https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp.json
- HTML version of this page: https://verifymcp.io/servers/zp130221-pdfedit-mcp/niubai-pdfedit-mcp
