notepadpp-mcp

notepadpp-mcp is a skill for Claude Code, Codex from sandraschi/notepadpp-mcp. It costs 0 tokens per session (785 once invoked), scanned A, original, MIT.

A skill for controlling Notepad++ on Windows through a Python bridge, including files, tabs, text, sessions, plugins, display settings, and code checks.

In plain words
What is it for?
Use it to open, save, search, replace, and edit text; manage tabs and saved sessions; record macros; control plugins; and lint Python, JavaScript, HTML, XML, or JSON files.
Why use it?
It lets an agent automate editor tasks without requiring the user to perform each action manually. It also supports running syntax checks for several file types.

Skill for Claude CodeCodex

Part of the notepadpp-mcp plugin — 4 skills, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sandraschi/notepadpp-mcp/notepadpp-mcp
Any agent
npx skills add sandraschi/notepadpp-mcp --skill notepadpp-mcp
Clone the repo
git clone --depth 1 https://github.com/sandraschi/notepadpp-mcp

Made for: Claude Code, Codex.

Or install notepadpp-mcp, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notepadpp-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandraschi/notepadpp-mcp/notepadpp-mcp.svg)](https://agentmods.dev/skills/sandraschi/notepadpp-mcp/notepadpp-mcp)
Your own site
<a href="https://agentmods.dev/skills/sandraschi/notepadpp-mcp/notepadpp-mcp"><img src="https://agentmods.dev/badge/skills/sandraschi/notepadpp-mcp/notepadpp-mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00785
Opus 5 $0.00000 $0.00392
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 4d ago against content hash e8eb74609075, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

notepadpp-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/notepadpp_mcp/skills/notepadpp-mcp/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Notepad++ MCP — Agent skill

Description: Automate Notepad++ on Windows via pywin32 MCP bridge. Covers file operations, macro automation, session management, plugin control, text manipulation, syntax linting, and display configuration.

Trigger Phrases

  • "Open [file] in Notepad++"
  • "Save the current tab"
  • "Replace all [pattern] with [replacement]"
  • "Run Python linter on current file"
  • "Install the JSON plugin"
  • "Close all tabs and start fresh"
  • "Find [text] in the current document"
  • "Record a macro to [action]"

Tools (Portmanteau Pattern)

  • file_ops(operation, file_path) — Open, save, close, new files. Operations: open, save, save_as, close, new, info.
  • text_ops(operation, text, ...) — Text manipulation. Operations: insert, replace, find, select_all, get_text, get_length.
  • tab_ops(operation, ...) — Tab/buffer management. Operations: list, switch, close, close_all, activate_by_index.
  • session_ops(operation, ...) — Session save/load. Operations: save_session, load_session, list_sessions.
  • linting_ops(operation, file_path) — Run linters. Operations: python, javascript, html, xml, json, custom.
  • display_ops(operation, ...) — UI display. Operations: word_wrap, show_whitespace, zoom, theme.
  • plugin_ops(operation, ...) — Plugin management. Operations: discover, install, list, run.
  • status_ops(operation) — Server health. Operations: health_check, active_tab, process_info.

Multi-step Workflows (FastMCP 3.1)

  • agentic_notepad_workflow(workflow_prompt, available_tools) — Pass a natural-language goal like "open config.py, find the DEBUG flag, and toggle it". Requires sampling (Ollama or client LLM).
  • suggest_notepad_plan(goal) — Quick plan via ctx.sample when sampling is available. Returns structured step list for manual execution.

Workflow

  1. Status check: status_ops("health_check") to confirm Notepad++ process is accessible.
  2. File target: Use file_ops("info") to see active tab. Use file_ops("open", file_path=...) to open target.
  3. Act: Apply text ops, linting, or plugin commands as needed.
  4. Save/close: file_ops("save") or file_ops("close") to persist.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 50 lines · 0 tokens per session scan A e8eb74609075

Subscribe to this mod's changes

notepadpp-mcp is a skill published in the GitHub repository sandraschi/notepadpp-mcp (5 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 785 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

unraid

This skill should be used when the user mentions Unraid, asks to check server health, monitor array or disk status, list or restart Docker containers, start or stop VMs, read system logs, check parity status, view notifications, manage API keys, configure rclone remotes, check UPS or power status, get live CPU or…

dinglebear-ai/unraid · 109 tokens

python-clean-code

Review Python code in the gsc-mcp codebase for clean code violations. Checks function size, single responsibility, type hints, naming, error handling patterns, and adherence to the project's module contracts. Use when refactoring a module or before code review.

FlorianBruniaux/google-search-console-mcp · 55 tokens

swag

This skill should be used when the user says "add proxy config", "create reverse proxy", "SWAG config", "nginx proxy", "expose service", "proxy configuration", "subdomain config", "subfolder config", "configure SWAG", "list proxy configs", "view proxy config", "edit proxy config", "remove proxy config", "check proxy…

jmagar/swag-mcp · 118 tokens

onpage-audit

Complete on-page audit of a single URL in one pass, combining heading structure, internal linking, technical meta tags, content quality and schema, then cross-checked against real Search Console data before any recommendation is made. Use when asked for a full page audit, an all-in-one check, or what to fix on a page.…

FlorianBruniaux/google-search-console-mcp · 132 tokens

internal-linking-audit

Audit internal linking on a page, weighted by where each link sits. A link in the body of a page carries far more weight than the same link in the footer or the main nav. Surfaces targets linked only from footer/nav, generic anchors, and internal nofollow. Use when asked about internal links, anchor text, link…

FlorianBruniaux/google-search-console-mcp · 137 tokens

link-equity-map

Map internal link flow across a whole site and cross it with Search Console to find the pages sitting on page two that no page body links to. Site-wide companion to internal-linking-audit, which works on a single URL. Use when asked about site architecture, orphan pages, or where to place internal links. Aussi…

FlorianBruniaux/google-search-console-mcp · 128 tokens