IM

ihacksubhodip/mobile-automation-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

32 stars 8 forks 质量 63 趋势 11Apache-2.0

一台基于FastMCP 2.0构建的生产准备iOS自动化MCP服务器,采用干净的模块化架构和完整的平台隔离。

概览

采用FastMCP 2.0和简洁架构构建的现代iOS自动化服务器 一台基于FastMCP 2.0构建的生产准备iOS自动化MCP服务器,具备完全平台隔离功能。准备好跨平台扩展,iOS专用和共享组件被妥善分离。 :移动自动化iOS MCP服务器运行中 - 🚀 - 现代Python首选MCP实现 - 🌐 - 已准备好支持Railway、Heroku或其他平台 - 📱 - Appium + WebDriverAgent集成 - 🏗️ - 完整的平台隔离和SOLID原则 - 🔄 - 未来Android及其他平台的共享工具 - 🎨 - 带表情符号的彩色控制台输出 - 🔧 - 全程完整的类型提示 - 🔌 - 插件式工具系统带模块化配置 - 📦 - DRY原则与共享工具 在铁路上使用托管版本——无需本地设置: 1. - macOS(iOS自动化必备)- Python 3.11+ - UV(推荐)或pip - Xcode搭配iOS模拟器 - Node。

概述(AI 翻译)

采用FastMCP 2.0和简洁架构构建的现代iOS自动化服务器

一台基于FastMCP 2.0构建的iOS自动化MCP服务器,具备干净的模块化架构,实现完整的平台隔离。准备好跨平台扩展,iOS专用和共享组件得到妥善分离。

📺 演示视频

** 🎬 观看完整演示**:移动自动化iOS MCP服务器运行

✨ 特色

  • 🚀 FastMCP 2.0 - 现代以 Python 为先的 MCP 实现
  • 🌐 云部署 - 准备用于铁路、Heroku或其他平台
  • 📱 Real iOS Automation - Appium + WebDriverAgent 集成
  • 🏗️ 清洁模块化架构 - 完整的平台隔离与SOLID原则
  • 🔄 跨平台准备 - 面向未来Android或其他平台的共享工具
  • 🎨 美丽的日志 - 带表情符号的彩色控制台输出
  • 🔧 类型安全 - 全书中详尽的类型提示
  • 🔌 可扩展 - 带有模块化配置的插件式工具系统
  • 📦 零代码重复 - 带有共享工具的 DRY 原则

🚀 快速启动

选项1:远程服务器(推荐)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Mobile automation iOS MCP server

Modern iOS automation server built with FastMCP 2.0 and clean architecture

A production-ready iOS automation MCP server built with FastMCP 2.0, featuring clean modular architecture with complete platform segregation. Ready for cross-platform expansion with iOS-specific and shared components properly separated.

📺 Demo Video

🎬 Watch the Complete Demo: Mobile automation iOS MCP server in Action

✨ Features

  • 🚀 FastMCP 2.0 - Modern Python-first MCP implementation
  • 🌐 Cloud Deployment - Ready for Railway, Heroku, or other platforms
  • 📱 Real iOS Automation - Appium + WebDriverAgent integration
  • 🏗️ Clean Modular Architecture - Complete platform segregation & SOLID principles
  • 🔄 Cross-Platform Ready - Shared utilities for future Android/other platforms
  • 🎨 Beautiful Logging - Colored console output with emojis
  • 🔧 Type-Safe - Comprehensive type hints throughout
  • 🔌 Extensible - Plugin-style tool system with modular configuration
  • 📦 Zero Code Duplication - DRY principles with shared utilities

🚀 Quick Start

Use the hosted version on Railway - no local setup required:

{
  "mcpServers": {
    "ios-automation-railway": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp-server-demo-production.up.railway.app/sse/"
      ]
    }
  }
}

Option 2: Local Development

  1. Prerequisites

    • macOS (required for iOS automation)
    • Python 3.11+
    • uv (recommended) or pip
    • Xcode with iOS Simulator
    • Node.js (for Appium)
  2. Installation

    git clone https://github.com/iHackSubhodip/mcp-server-demo.git
    cd mcp-server-demo
    
    # Using uv (recommended)
    uv sync
    
    # Or using pip (legacy)
    pip install -e .
    
  3. Claude Desktop Configuration

    {
      "mcpServers": {
        "ios-automation-local": {
          "command": "uv",
          "args": ["run", "python", "mobile-automation-mcp-server/fastmcp_server.py"],
          "cwd": "/path/to/mcp-server-demo"
        }
      }
    }
    

🏗️ Architecture

在 GitHub 查看完整 README

安装

npx -y mcp-remote https://mcp-server-demo-production.up.railway.app/sse/
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ios-automation-railway": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp-server-demo-production.up.railway.app/sse/" ] } } }