MCP Start App

MCP Start App

A comprehensive local file management and system operations server that provides advanced file editing, VSCode-like search capabilities, code formatting and validation, backup management, and safe system command execution with security safeguards.

Category
Visit Server

README

MCP Start App

A comprehensive Model Context Protocol (MCP) server for advanced local file management and system operations.

Features

šŸ—‚ļø File Operations

  • Read/Write Files: Full support for text file operations with encoding handling
  • List Directories: Browse filesystem with size information and hidden file support
  • File Information: Detailed metadata including permissions, timestamps, and size
  • Path Validation: Robust path handling with security checks

āœļø Advanced File Editing

  • Line-based Editing: Edit, insert, or delete specific lines in files
  • Find & Replace: Text replacement with regex support across multiple files
  • Diff Viewing: Compare current files with backups
  • Edit History: Track all file modifications with detailed logs

šŸ” Advanced Search Capabilities

  • VSCode-like Search: Advanced search across multiple files with context
  • File Type Filtering: Search by extension groups (code, web, config, etc.)
  • Pattern Matching: Support for wildcards and regex
  • Context Display: Show surrounding lines for search results
  • File Name Search: Find files by name patterns
  • Search Statistics: Analyze file distribution and sizes

šŸ’» System Operations

  • Command Execution: Safe execution of system commands
  • System Information: Hardware and software details
  • Process Management: View running processes
  • File Finding: Advanced file discovery with patterns

šŸ”§ Code Tools

  • Syntax Validation: Check syntax for Python, JavaScript, JSON, etc.
  • Code Formatting: Format code using standard formatters (Black, Prettier)
  • Language Detection: Auto-detect programming languages

šŸ”„ Backup & History

  • Automatic Backups: Files are backed up before modifications
  • Edit Tracking: Complete history of all file operations
  • Restoration: Easy restore from backups
  • History Analysis: Statistics and insights on editing patterns

šŸ›”ļø Security & Safety

  • Path Validation: Prevents directory traversal attacks
  • File Size Limits: Configurable limits to prevent memory issues
  • Command Filtering: Restricted dangerous command execution
  • Backup System: Automatic backup before destructive operations

Quick Start

1. Installation

# Clone or navigate to the project
cd /Users/{{USERNAME}}/Documents/mcp-start-app

# Run the installation script (sets up venv and installs everything)
./scripts/install.sh

2. Activation

# Activate the virtual environment
source venv/bin/activate

# Run the server
mcp-start-app

3. Alternative Run Methods

# Using the run script (auto-activates venv)
./scripts/run_server.py

# Direct Python execution
source venv/bin/activate
python -m mcp_start_app.main

Configuration

Claude Desktop Configuration

Add to your Claude Desktop config file:

{
  "mcpServers": {
    "mcp-start-app": {
      "command": "/Users/{{USERNAME}}/Documents/mcp-start-app/scripts/run_server.py",
      "args": []
    }
  }
}

Available Tools

Basic File Operations

  • list_files(directory, show_hidden) - List directory contents
  • read_file(file_path) - Read text file contents
  • write_file(file_path, content) - Write content to file
  • get_file_lines(file_path, start_line, end_line) - Get specific lines
  • get_file_info(file_path) - Get detailed file information

Advanced File Editing

  • edit_file_lines(file_path, start_line, new_content, end_line) - Edit specific lines
  • insert_lines(file_path, line_number, content) - Insert new lines
  • delete_lines(file_path, start_line, end_line) - Delete lines
  • replace_in_file(file_path, search_pattern, replace_with, use_regex) - Find & replace
  • get_file_diff(file_path, backup_file) - Show file differences
  • get_edit_history(limit, file_path) - View edit history

Advanced Search Tools

  • search_adv(search_term, search_path, case_sensitive, whole_word, use_regex, include_patterns, exclude_patterns, file_types, max_results, context_lines, show_hidden) - Advanced multi-file search
  • replace_adv(search_term, replace_with, search_path, case_sensitive, whole_word, use_regex, include_patterns, exclude_patterns, file_types, dry_run, backup) - Advanced multi-file replace
  • search_files_by_name(filename_pattern, search_path, case_sensitive, exact_match, show_hidden, exclude_patterns) - Search files by name
  • search_in_files(search_pattern, directory, file_pattern, use_regex) - Simple text search
  • get_search_stats(search_path) - Get directory statistics

System Tools

  • run_command(command) - Execute system commands (with safety restrictions)
  • get_system_info() - Get comprehensive system information
  • find_files(pattern, directory, max_results) - Find files by pattern
  • get_running_processes() - View running processes

Code Tools

  • validate_syntax(file_path) - Check code syntax
  • format_code(file_path, language) - Format code files

Data Tools

  • get_local_data(query) - Local data queries

Project Structure

mcp-start-app/
ā”œā”€ā”€ šŸ“ venv/                        # Virtual environment
ā”œā”€ā”€ šŸ“ src/mcp_local/               # Main package
│   ā”œā”€ā”€ šŸ“ core/                    # Core utilities & config
│   ā”œā”€ā”€ šŸ“ services/                # Business logic layer
│   ā”œā”€ā”€ šŸ“ tools/                   # MCP tool implementations
│   │   ā”œā”€ā”€ file_operations.py      # Basic file tools
│   │   ā”œā”€ā”€ file_editing.py         # Advanced editing tools
│   │   ā”œā”€ā”€ search_tools.py         # Search and replace tools
│   │   ā”œā”€ā”€ system_tools.py         # System operation tools
│   │   └── code_tools.py           # Code formatting and validation
│   ā”œā”€ā”€ main.py                     # Entry point
│   └── server.py                   # Server configuration
ā”œā”€ā”€ šŸ“ tests/                       # Test suite
ā”œā”€ā”€ šŸ“ scripts/                     # Installation & run scripts
ā”œā”€ā”€ requirements.txt                # Dependencies
ā”œā”€ā”€ pyproject.toml                  # Python packaging
└── README.md                       # This file

Development

Running Tests

source venv/bin/activate
pytest                    # Run all tests
pytest --cov             # Run with coverage

Code Quality

source venv/bin/activate
black src/ tests/         # Format code
isort src/ tests/         # Sort imports  
flake8 src/ tests/        # Lint code
mypy src/                 # Type checking

License

This project is licensed under the MIT License.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured