Sponsored by Deepsite.site

Python MCP Server

Created By
sisovin10 months ago
The **python-mcp-server** project is a Flask-based web server designed to interact with Minecraft, likely as part of a larger system for managing Minecraft servers, plugins, or player data.
Content

Python MCP Server

The python-mcp-server project is a Flask-based web server designed to interact with Minecraft, likely as part of a larger system for managing Minecraft servers, plugins, or player data. Below’s a detailed overview:


Project Overview

Purpose

  • Acts as a backend server for Minecraft-related applications (e.g., user authentication, server management, or plugin integration).
  • Provides a web interface (HTML/Jinja2 templates) and API endpoints (Flask routes) to interact with Minecraft services.

Key Features

  1. User Authentication

    • Login/logout functionality (likely for server admins or players).
    • Uses Flask sessions or JWT (check server/utils/auth.py).
  2. Database Integration

    • SQLAlchemy models (server/database/models.py) to store user data, server settings, or player stats.
    • SQLite/PostgreSQL likely used (check server/config.py).
  3. Web Interface

    • Serves HTML pages (e.g., home.html, login.html) with CSS/JS assets.
    • Uses Jinja2 templating for dynamic content.
  4. API Endpoints

    • Flask routes (in main.py or separate blueprints) to handle:
      • Player data fetching.
      • Server commands (e.g., starting/stopping Minecraft instances).
  5. Testing

    • Unit tests (tests/) for auth, database, and utilities.

Technology Stack

ComponentTechnology
BackendPython + Flask
DatabaseSQLAlchemy (SQLite/PostgreSQL)
FrontendHTML5, CSS3, JavaScript (vanilla)
TemplatingJinja2
Testingpytest/unittest

Use Cases

  1. Minecraft Server Dashboard
    • Admins can log in to monitor/manage servers via a web interface.
  2. Player Stats Tracker
    • Stores and displays player achievements, ranks, etc.
  3. Plugin Backend
    • Integrates with Minecraft plugins (e.g., for economy, permissions).

How to Run

  1. Install dependencies:
    pip install -r requirements.txt
    
  2. Configure the server:
    • Set secrets in server/config.py.
  3. Start the Flask app:
    python server/main.py
    
  4. Access the web interface at http://localhost:5000.

Missing Pieces (Likely Extended Elsewhere)

  • Minecraft Plugin: This repo is only the server; a Spigot/Bukkit plugin would communicate with it.
  • Real-time Features: No WebSocket/Socket.IO usage (would need Redis or similar for scaling).

Task Generation

Overview

The task generation feature allows you to automatically generate tasks for coding plans based on the project structure. This can be useful for planning and organizing your development work.

How to Use

  1. Ensure you have the necessary dependencies installed:
    pip install -r requirements.txt
    
  2. Use the task generator script to generate tasks:
    python server/task_generator.py
    

Dependencies

  • OpenAI library (added to requirements.txt)
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Tavily Mcp
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
Serper MCP ServerA Serper MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server