Provides comprehensive automation and control for Notepad++, including file operations (open, create, save), text manipulation (insert, search), tab management (list, switch, close), session management (save, load workspaces), and real-time status monitoring through Windows API integration.
Notepad++ MCP Server
π Gold Status Certified FastMCP 2.12 compatible MCP server for comprehensive Notepad++ automation, control, and code quality analysis. Enterprise production-ready with 64 passing tests, structured logging, and advanced linting capabilities.
β¨ 20 powerful tools including advanced tab/session management and code linting π§ͺ 64 comprehensive tests with real Windows API integration and 23% coverage π 5 linting tools for Python, JavaScript, JSON, and Markdown π― Enterprise production-ready with structured logging and error handling π Gold Status on Glama.ai platform (85/100 quality score)
π Installation & Setup
π¦ Option 1: DXT Installation (Recommended)
Download the latest DXT file from Releases
Open Claude Desktop
Go to Settings β Developer β MCP Servers
Drag & Drop the DXT file onto the extensions screen
Restart Claude Desktop - the server will auto-install and configure
π Option 2: Python Installation
βοΈ Claude Desktop Configuration
Add to your Claude Desktop configuration:
π§ Manual Configuration (if needed)
π Requirements
π₯οΈ System Requirements
Windows 10/11 (64-bit)
Notepad++ 8.0+ installed and accessible
Python 3.10+ with pip
pywin32 for Windows API integration
π οΈ Dependencies
FastMCP 2.12+ - MCP framework
pywin32 - Windows API bindings
psutil - System monitoring
pathlib - Path operations
π¨ Important Notes
Notepad++ must be installed on the system
Server requires Windows API access (pywin32)
First run may require Notepad++ to be started manually
π― New in v1.0: Advanced Workspace Management
π Tab Management Tools
Organize and navigate multiple open files efficiently:
List all tabs: See filenames, modification status, and active tab
Switch tabs: Jump to any tab by index (0-based)
Close tabs: Remove tabs individually or current tab
πΎ Session Management Tools
Save and restore your entire workspace:
Save sessions: Preserve all open files and cursor positions
Load sessions: Restore complete workspace state
List sessions: Browse saved workspace configurations
π‘ Usage Examples
π Project Structure
π Documentation
Complete API Documentation - Comprehensive guide
Product Requirements Document - Vision and roadmap
Configuration Examples - Integration templates
CI/CD & Glama.ai Guide - Complete CI/CD and platform optimization documentation
Glama.ai Integration Summary - Platform optimization achievements
Glama.ai GitHub App Setup - Installation and configuration guide
π οΈ Tools Overview (20 Total)
Category | Tools | Description |
File Operations | 4 | Create, open, save, and inspect files |
Text Operations | 2 | Insert and search text content |
Status & Info | 3 | Monitor system and document state |
Tab Management | 3 | Organize and navigate multiple files |
Session Management | 3 | Save and restore workspace states |
Code Quality & Linting | 5 | Analyze code for multiple file types |
Total: 20 production-ready tools with comprehensive Windows API integration and multi-linter support.
β‘ Features
π File Operations (4 tools)
open_file- Open files in Notepad++new_file- Create new filessave_file- Save current fileget_current_file_info- Get file metadata
π Text Operations (2 tools)
insert_text- Insert text at cursor positionfind_text- Search text with case sensitivity options
π Status & Information (3 tools)
get_status- Notepad++ status and window infoget_system_status- Comprehensive system diagnosticsget_help- Hierarchical help system
π Tab Management (3 tools) β¨ NEW
list_tabs- List all open tabs with metadataswitch_to_tab- Switch between tabs by indexclose_tab- Close tabs by index or current tab
πΎ Session Management (3 tools) β¨ NEW
save_session- Save workspace to named sessionload_session- Load saved sessionslist_sessions- List all saved sessions
π Code Quality & Linting (5 tools) β¨ NEW
lint_python_file- Comprehensive Python code analysis with ruff/flake8lint_javascript_file- JavaScript validation with ESLint or basic checkinglint_json_file- JSON syntax validation and structure analysislint_markdown_file- Markdown style and syntax validationget_linting_tools- Overview of available linting capabilities
π§ Core Capabilities
π― Windows Integration: Native Windows API with pywin32
β‘ FastMCP 2.12: Latest MCP framework compliance
π Structured Logging: Professional error handling
π§ͺ Comprehensive Testing: 34 tests covering all tools
π Self-Documenting: Built-in help system
π Multi-linter Support: ruff, flake8, ESLint with fallback options
π¨ Code Quality: Syntax validation for Python, JS, JSON, Markdown
π οΈ Development
π§ͺ Testing
34 comprehensive tests covering all tools including linting functionality
Real Windows API testing with actual Notepad++ integration
Demonstration script (
demonstration_test.py) tests live functionalityCI/CD ready with automated testing pipeline
Multi-linter testing with ruff, flake8, and ESLint integration
ποΈ Architecture
π― Core Components
NotepadPPController - Windows API integration layer
FastMCP Server - MCP protocol implementation
Tool Decorators - Automatic tool registration
Structured Logging - Professional error handling
π§ Integration Flow
MCP Client (Claude Desktop) β FastMCP Server
Server β NotepadPPController β Windows API
Windows API β Notepad++ Application β User Interface
π File Structure
π Troubleshooting
β Common Issues
"Notepad++ not found"
"Windows API not available"
"Server not connecting"
"Tools not appearing in Claude"
Restart Claude Desktop after configuration
Check logs in Claude developer console
Verify Notepad++ is running on the system
Run demonstration script to test functionality
π Getting Help
Run Diagnostics
Debug Mode
Manual Testing
π€ Contributing
π Development Setup
π Reporting Issues
Run demonstration script first:
python demonstration_test.pyCheck existing issues on GitHub
Include error logs and system information
Test with different Notepad++ versions if possible
π‘ Feature Requests
Check existing tools in the tools overview
Consider Windows API limitations
Test with real Notepad++ workflows
Follow FastMCP 2.12 patterns
π Changelog
v1.1.0 - Linting Tools Release β¨ NEW
β 5 comprehensive linting tools for Python, JavaScript, JSON, and Markdown
β Multi-linter support with ruff, flake8, ESLint, and fallback options
β 16 additional tests covering all linting functionality
β Enhanced DXT configuration with detailed linting tool documentation
β Total: 20 tools for complete code quality analysis
v1.0.0 - Core Release
β 15 comprehensive tools for Notepad++ automation
β Real Windows API integration with pywin32
β Advanced tab and session management
β 18 comprehensive tests with full coverage
β DXT packaging for easy installation
β Production-ready error handling and logging
Planned Features
Multi-instance support for multiple Notepad++ windows
Plugin integration for extended functionality
HTML/CSS linting tools for web development
Configuration files for custom settings
Batch operations for multiple file processing
π License
MIT - see LICENSE
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables comprehensive automation and control of Notepad++ on Windows, including file operations, text editing, tab management, and session management through 15 integrated tools. Supports advanced workspace management with the ability to save and restore complete editing sessions.