Skip to main content
Glama

Notepad++ MCP Server

Makefileโ€ข2.42 kB
# Notepad++ MCP Server - Development Makefile # Compatible with Windows (using PowerShell) and Unix-like systems .PHONY: help install install-dev test lint format type-check build clean test-install validate-mcpb build-mcpb all # Default target help: @echo "Notepad++ MCP Server - Development Commands" @echo "==========================================" @echo "install-dev - Install development dependencies" @echo "test - Run tests with coverage" @echo "lint - Run linting checks" @echo "format - Format code with black and isort" @echo "type-check - Run type checking with mypy" @echo "build - Build Python package" @echo "build-mcpb - Build MCPB package" @echo "validate-mcpb - Validate MCPB configuration" @echo "test-install - Test installation in clean environment" @echo "clean - Clean build artifacts" @echo "all - Run all checks and builds" # Install development dependencies install-dev: python -m pip install --upgrade pip pip install -e .[dev] # Run tests with coverage test: python -m pytest -v --cov=src/notepadpp_mcp --cov-report=term-missing --cov-report=html --cov-report=xml # Run linting checks lint: python -m black --check src/ tests/ python -m isort --check-only src/ tests/ # Format code format: python -m black src/ tests/ python -m isort src/ tests/ # Run type checking type-check: python -m mypy src/ # Build Python package build: python -m build # Build MCPB package build-mcpb: mcpb pack # Validate MCPB configuration validate-mcpb: mcpb validate # Test installation in clean environment test-install: python dev.py test-install # Clean build artifacts clean: rm -rf build/ rm -rf dist/ rm -rf *.egg-info/ rm -rf htmlcov/ rm -rf .coverage rm -rf .pytest_cache/ rm -rf .mypy_cache/ find . -type d -name __pycache__ -exec rm -rf {} + find . -type f -name "*.pyc" -delete # Run all checks and builds all: lint type-check test build validate-mcpb build-mcpb # Windows-specific targets (using PowerShell) ifeq ($(OS),Windows_NT) clean: powershell -Command "Remove-Item -Recurse -Force build, dist, *.egg-info, htmlcov, .coverage, .pytest_cache, .mypy_cache -ErrorAction SilentlyContinue" powershell -Command "Get-ChildItem -Recurse -Directory -Name __pycache__ | Remove-Item -Recurse -Force" powershell -Command "Get-ChildItem -Recurse -Filter *.pyc | Remove-Item -Force" endif

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandraschi/notepadpp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server