Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@markpin/mcp

Latest version: v0.10.1

Overview

Last scanned
20 Nov 2026
Published
20 Nov 2026
npm package Publisher: gyofeel
1 Stars
0 Forks
12 Versions
1.6K Downloads
TypeScript Repo language

Scan summary

@markpin/mcp was last scanned on 20 Nov 2026 at version 0.10.1. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 12 versions; the latest was published on 20 Nov 2026.
  • Findings: 1 rule fired in version 0.10.1 (1 high). The score describes this version only.
  • Downloads: 1,603 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.10.1 LATEST 20 Nov 2026 1 rule fired
0.10.0 30 Oct 2026 No rules fired
0.9.0 12 Oct 2026 No rules fired
0.8.0 12 Oct 2026 Not shown
0.7.1 4 Oct 2026 Not shown

Rules fired in 0.10.1: 1

Findings

1 High

Findings for v0.10.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.10.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@markpin/mcp

MCP server for a Markpin folder. Markpin is a Chrome extension that saves web pages and clips as Markdown files in a folder you own — this server lets an AI client (Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Windsurf, Zed, or any other MCP client) search and read those files, and optionally edit them with your confirmation.

  • Read-only by default. Writes need --allow-write and a confirmation dialog for every change.
  • Runs locally over stdio. Nothing leaves your computer.
  • Watches the folder, so pages you save in the browser show up in the next query without a restart.

Requirements

  • Node.js 20.1 or newer (node -v).
  • The Markpin Chrome extension with storage set to Local folder or Google Drive. With Google Drive you also need Google Drive for Desktop so the folder exists on disk.

Run

npx -y @markpin/mcp --dir "<your Markpin folder>"

Options:

Flag Meaning
--dir <path> Required. The Markpin folder (the one that contains pages/). ~ is expanded.
--allow-write Registers the fourteen write tools. Without it the server is read-only.
--lang ko\|en\|ja\|es\|pt-BR\|de\|fr Language of the confirmation dialog. Default: taken from your system locale (pt* → pt-BR), otherwise en. The Markpin extension's setup guide fills this in from your Chrome language.

On success the server logs serving N pages from <dir> to stderr. stdout carries the MCP protocol, so all logs go to stderr — that line is the quickest way to check the path.

Find your Markpin folder

The folder must contain a pages/ directory. If it doesn't, the extension hasn't uploaded anything there yet — save a page in Chrome first.

Local folder — the folder you picked in Markpin settings.

  • macOS: in Finder, right-click the folder, hold ⌥ Option, choose Copy "…" as Pathname.
  • Windows: Shift + right-click the folder, choose Copy as path (remove the surrounding quotes).

Google Drive — Drive for Desktop mirrors your Drive to disk. The Markpin folder sits at the top of My Drive, whose name follows your Google account language — My Drive (en), 내 드라이브 (ko), マイドライブ (ja), Mi unidad (es), Meu Drive (pt-BR), Meine Ablage (de), Mon Drive (fr):

  • macOS: ~/Library/CloudStorage/GoogleDrive-<your email>/My Drive/Markpin
  • Windows: G:\My Drive\Markpin (the drive letter can differ — check File Explorer)

The Markpin settings page in Chrome has an MCP setup guide button that fills these paths (and --lang) in for you.

Register the server

Replace <dir> with your folder path. Add --allow-write at the end of the arguments if you want the write tools.

Claude Code
claude mcp add -s user markpin -- npx -y @markpin/mcp --dir "<dir>"

-s user registers it for every project; drop the flag to keep it to the current directory only.

Then claude mcp list should show markpin: … - ✓ Connected.

Claude Desktop

Edit the config file (Claude → Settings → Developer → Edit Config):

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

macOS:

{
  "mcpServers": {
    "markpin": {
      "command": "npx",
      "args": ["-y", "@markpin/mcp", "--dir", "<dir>"]
    }
  }
}

Windows (Claude Desktop spawns without a shell, so npx needs cmd /c; escape backslashes in the path):

{
  "mcpServers": {
    "markpin": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@markpin/mcp", "--dir", "G:\\My Drive\\Markpin"]
    }
  }
}

Restart Claude Desktop. The hammer/plug icon in the chat box lists the Markpin tools.

Cursor

Add the same JSON to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project), then enable the server in Cursor Settings → MCP.

Codex (CLI, IDE extension, ChatGPT desktop)
codex mcp add markpin -- npx -y @markpin/mcp --dir "/path/to/Markpin"

All three share ~/.codex/config.toml. Check with codex mcp list.

Gemini CLI
gemini mcp add markpin npx -- -y @markpin/mcp --dir "/path/to/Markpin"

Server flags go after -- so Gemini doesn't read them as its own options. Saved to ~/.gemini/settings.json; check with gemini mcp list.

VS Code (Copilot agent mode)

.vscode/mcp.json in the project, or the user mcp.json opened by MCP: Open User Configuration. Note the key is servers and stdio needs type:

{
  "servers": {
    "markpin": { "type": "stdio", "command": "npx", "args": ["-y", "@markpin/mcp", "--dir", "/path/to/Markpin"] }
  }
}
Windsurf

Same JSON as Claude Desktop (mcpServers) in ~/.codeium/windsurf/mcp_config.json (Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json), then refresh under Settings → MCP.

Zed

~/.config/zed/settings.json (Windows: %APPDATA%\Zed\settings.json). The key is context_servers, hand-added servers need source: "custom", and the command is nested:

{
  "context_servers": {
    "markpin": { "source": "custom", "command": { "path": "npx", "args": ["-y", "@markpin/mcp", "--dir", "/path/to/Markpin"] } }
  }
}
Any other MCP client

Anything that speaks MCP over stdio works. Paste the same command (npx) and args (-y @markpin/mcp --dir …) into that client's MCP settings. On Windows, clients that spawn without a shell need cmd /c npx … (see the Claude Desktop note above).

File format

Each page is one Markdown file. The frontmatter holds only the human-facing keys (title, url, savedAt, tags, summary, readAt, deletedAt) so note apps such as Obsidian show a clean Properties panel. Everything Markpin needs internally (id, rev, updatedAt, clips with their anchors, bookmark) lives in a one-line JSON block at the very end of the file:

<!-- markpin
{"v":2,"id":"…","rev":3,"updatedAt":"…","domain":"…","clips":[…]}
-->

Do not edit that block by hand. Files written before 0.7.0 (markpin: 1 in the frontmatter) are still read; they are rewritten in the new shape the next time anything changes them.

cards/ at the folder root holds quote-card PNGs exported by the extension (1.4.0). The server ignores that folder.

markpin.json (Markdown template)

The extension writes markpin.json at the folder root when you pick a Markdown template or turn on .trash/ in its options. This server reads it on start and on every rescan, and renders the files it writes with the same template (default or obsidian, or a custom template string), so pages saved through MCP look like the ones saved from the browser. Only the body below the frontmatter changes; the frontmatter is always Markpin's own. Moving deleted files to .trash/ is done by the extension, not by this server.

Read-only vs. --allow-write

Without --allow-write the server exposes four read tools and cannot change any file. With it, fourteen write tools are added. Every write passes three gates:

  1. The flag. You decided at registration time that writes are allowed at all.
  2. Client permission. The tools are marked non-read-only (delete_pages as destructive), so clients such as Claude Code ask before each call.
  3. Your confirmation. If the client supports MCP elicitation (Claude Code does), the server shows a dialog describing the exact change — for example "Add tag frontend to 'React Docs'?" — and writes only when you accept. The dialog also has a checkbox, Don't ask again on this connection: tick it with your confirmation and later writes on that connection (including delete_pages) are applied without the dialog and carry "gate": "trusted"; it resets when the client restarts, and the client's own permission prompts are unaffected. If the client cannot show that dialog, the result carries "gate": "client" so the assistant can tell you that the client's own prompt was the only confirmation.

When one request needs several writes — merging tags, clipping three passages — the assistant is told to use retag or batch so you confirm once with a numbered list instead of once per write.

The confirmation waits up to 10 minutes. A save_page fetch happens only after you accept, so a declined URL is never requested.

Tools

Read (always):

Tool What it does
search Full-text search over titles, content, clipped text, notes and tags. Empty query = most recent, optionally filtered by tags. bookmarked: true = only pages with a reading bookmark.
get_page One page in full by id or URL: metadata, tags, summary, content, clips with notes and colors, bookmark, file path, image paths.
list_recent Most recently updated pages. bookmarked: true = pages with a reading bookmark, newest bookmark first.
list_tags Every tag with its page count.

Write (--allow-write):

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @markpin/mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229