Cover image
Try Now
2025-04-14

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Servers for Coders

A powerful suite of Model Context Protocol (MCP) servers designed to enable AI assistants like Claude to interact with your local environment, execute code, and process web content.

License: MIT

MCP Servers Docker Python

Overview

This repository contains multiple Model Context Protocol (MCP) servers that dramatically extend the capabilities of AI assistants like Claude:

  1. Filesystem MCP Server - Enables secure file operations with advanced diff tracking and version control
  2. Exec MCP Server - Provides command execution and multi-language script execution in isolated environments
  3. Web Processing MCP Server - Allows web content fetching, crawling, and AI-powered content analysis

These servers work independently or together, providing AI assistants with the tools needed to perform complex tasks directly in your local environment without sacrificing security.

Servers

1. Filesystem MCP Server

A secure Python server that enables AI assistants to interact with your local files, with comprehensive features for file management and code analysis:

  • Advanced File Operations: Read and write files using multiple access methods (whole file, line ranges, keyword-based)
  • Intelligent Code Analysis: Parse and understand code structure across multiple languages
  • Version Control: Track all AI-made changes with diff-based editing and selective accept/reject functionality
  • Security-First Design: Path validation, directory restrictions, and permissions checking
  • Git Integration: Git-aware directory listings respecting .gitignore rules
  • Editor Integration: Neovim plugin for seamless workflow

Key Security Feature: Operations are strictly limited to explicitly allowed directories with full path validation.

Read more about the Filesystem MCP Server

2. Exec MCP Server

A powerful execution environment that allows AI assistants to run code and commands within isolated containers:

  • Multi-Language Support: Execute code in Python, JavaScript, Rust, Go, and Solidity
  • Smart Package Management: Auto-detect and install required dependencies across package managers
  • Execution Control: Set timeouts, redirect output streams, and handle long-running processes
  • Complete Development Environments: Pre-configured setups for multiple programming languages
  • Security Controls: Configurable execution boundaries and resource limits

Included Development Environments:

  • Python 3.12: Full data science stack (pandas, numpy, matplotlib) and dev tools (black, pytest)
  • JavaScript/TypeScript: Node.js v20 with npm and yarn
  • Rust: Complete toolchain with rustup, cargo, and extensions
  • Go 1.22.1: Standard toolchain and common libraries
  • Solidity: Foundry suite with forge, cast, and anvil

Read more about the Exec MCP Server

3. Web Processing MCP Server

A sophisticated web content retrieval and analysis system that enables AI assistants to gather and process information from the internet:

  • Flexible Content Retrieval: Fetch single pages or crawl entire websites with configurable parameters
  • Intelligent Crawling: Control depth, page limits, domain restrictions, and timeouts
  • AI-Powered Analysis: Process web content using OpenAI models with customizable instructions
  • Multiple Output Formats: Convert results to Markdown, HTML, Text, JSON, or Raw formats
  • Robust Error Handling: Gracefully manage timeouts, redirects, and connection issues
  • Content Processing: Automatic handling of large pages with size limits and truncation

Key Feature: Seamlessly combines web scraping with AI analysis for turning raw web content into structured, useful information.

Read more about the Web Processing MCP Server

Getting Started

Installation

All servers support Docker installation, which is the recommended approach for most users. Each server also has alternative installation methods documented in its individual README.

Docker Installation (Recommended)

# Clone the repository
git clone https://github.com/0kenx/mcp-servers.git
cd mcp-servers

# Build the Filesystem MCP server
cd filesystem
docker build . -t mcp/filesystem

# Build the Exec MCP server
cd ../exec
docker build . -t mcp/exec

# Build the Web MCP server
cd ../web
docker build . -t mcp/web

Configuration with Claude

To configure Claude Desktop or other Claude interfaces to use these MCP servers, add them to your configuration file:

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
          "run",
          "-i",
          "--rm",
          "--mount",
          "type=bind,src=/home/username/projects,dst=/fs",
          "mcp/filesystem",
          "/fs"
      ]
    },
    "exec": {
      "command": "docker",
      "args": [
          "run",
          "-i",
          "--rm",
          "--mount",
          "type=bind,src=/home/username/projects,dst=/fs",
          "mcp/exec",
          "/fs"
      ]
    },
    "web": {
      "command": "docker",
      "args": [
          "run",
          "-i",
          "--rm",
          "-e",
          "OPENAI_API_KEY",
          "-e",
          "BRAVE_API_KEY",
          "mcp/web"
      ],
      "env": {
        "OPENAI_API_KEY": "sk-YOUR_OPENAI_KEY",
        "BRAVE_API_KEY": "YOUR_BRAVE_KEY"
      }
    }
  }
}

Verifying Installation

After configuration, verify the servers are working properly:

  1. Start Claude and enable the MCP servers in the interface
  2. Test each server with basic commands:
    • Filesystem: Ask Claude to list files in a directory
    • Exec: Ask Claude to run a simple command like echo "Hello, World!"
    • Web: Ask Claude to fetch content from a URL

Security Considerations

These MCP servers provide powerful capabilities to AI assistants, which requires careful attention to security:

Filesystem Server

  • Path Validation: Prevents directory traversal attacks and restricts operations to allowed directories
  • Permission Checking: Respects existing system file permissions
  • No Shell Execution: Avoids command injection vulnerabilities
  • Change Tracking: All modifications are logged and can be reverted

Exec Server

  • Isolation: Consider running in a sandboxed environment or container
  • Resource Limits: Configure container resource limits to prevent abuse
  • Network Restrictions: Limit network access when executing untrusted code
  • Review Critical Commands: Exercise caution with system-modifying operations

Web Server

  • API Key Security: Protect your OpenAI API key and monitor usage
  • Domain Restrictions: Use the allowed_domains parameter to prevent unintended crawling
  • Rate Limiting: Be mindful of rate limits when crawling websites

General Recommendation: For sensitive environments, run these servers in isolated containers with minimal permissions and carefully review AI assistant actions.

Use Cases

These MCP servers enable Claude and other AI assistants to perform powerful tasks:

Software Development

  • Code analysis and refactoring across large codebases
  • Implementing features based on specifications
  • Debugging issues by running tests and analyzing logs
  • Setting up development environments and dependencies

Data Analysis

  • Retrieving, processing, and visualizing data
  • Running analysis scripts on local datasets
  • Crawling web sources to gather information
  • Generating reports from multiple sources

System Administration

  • Executing diagnostic commands and reporting issues
  • Installing and configuring software packages
  • Managing files and directories safely
  • Analyzing logs and system status

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

0kenx - GitHub

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    2 (1)
    Avatar
    user_0gWJycCI
    2025-04-18

    I've been using mcp-servers by 0kenx, and it's phenomenal! The seamless performance and reliability are top-notch for any server-related tasks. Highly recommend this for anyone looking to streamline their server operations. Check it out at https://github.com/0kenx/mcp-servers.