Ios MCP logo

Ios MCP

Community
witchan

iOS MCP: MCP management tool for jailbroken iPhones, enabling developers and AI agents to inspect and control devices.

Publisherwitchan
Repositoryios-mcp
LanguageObjective-C
Forks
105
Stars
662
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Ios MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    662 stars and 105 forks from the linked repository.

iOS MCP

中文 | English

iOS MCP 是一个运行在越狱 iPhone 上的 MCP (Model Context Protocol) 服务器,让 AI 代理(Claude、Codex、Cursor 等)能够直接操控 iOS 设备。

功能概览

类别工具说明
触控手势tap_screen swipe_screen long_press double_tap drag_and_drop精确屏幕坐标操作,支持路径拖动
硬件按键press_home press_power press_volume_up press_volume_down toggle_mute wake_and_homeHID 模拟物理按键,锁屏/熄屏唤醒
文字输入input_text type_text press_key剪贴板快速输入 / HID 逐字模拟 / 特殊键
截图screenshot get_screen_infoBase64 JPEG 截图、屏幕尺寸与方向
App 管理launch_app kill_app list_apps list_running_apps get_frontmost_app get_app_info install_app uninstall_app启动/关闭 App,安装/卸载 App 或 DEB,查询 App 沙盒/容器路径与 entitlements
无障碍 / 元素操作get_ui_elements get_element_at_point tap_element wait_for_element wait_for_disappear ocr_screen describe_screen获取 UI 节点树、坐标元素查询,按文本/标签点击元素、等待元素出现或消失,屏幕 OCR 文字识别与定位、聚合屏幕快照
剪贴板get_clipboard set_clipboard读写剪贴板内容
文件系统list_dir read_file write_file目录列举、文件读写(支持文本与二进制)
日志get_syslog get_crash_logs read_crash_log全 App 实时系统日志、崩溃日志列举与读取
设备控制get_brightness set_brightness get_volume set_volume亮度、音量
设备信息get_device_info型号、iOS 版本、电池、存储、内存、越狱方式
URLopen_url打开链接或 URL Scheme
Shellrun_command执行 Shell 命令

共 46 个 MCP 工具,覆盖 iOS 设备自动化与逆向调试的主要场景。

运行要求

  • 越狱 iOS 设备

安装说明

支持环境

越狱类型支持系统版本包架构
rootfuliOS 13 - iOS 18iphoneos-arm
rootlessiOS 15 - iOS 18iphoneos-arm64
roothideiOS 15 - iOS 18iphoneos-arm64e

安装方式

方式一:从 Release 页面下载安装包

请根据越狱类型选择上表对应架构的 deb 包。

手动安装时请注意以下依赖:

  • mobilesubstrate/ElleKit
  • preferenceloader

方式二:通过 Cydia / Sileo 直接安装

可在以下包管理器中直接搜索并安装:

  • Cydia
  • Sileo

搜索名称:

  • iOS MCP

安装完成后建议执行以下检查

  1. 重启一次 SpringBoard
  2. 浏览器访问:
text
http://设备IP:8090/health
  1. 返回以下内容表示服务启动正常:
json
{"status":"ok","server":"ios-mcp","version":"1.2.5","protocolVersion":"2025-11-25","supportedProtocolVersions":["2025-11-25","2025-06-18","2025-03-26"]}

使用

安装后打开设备「设置」→「iOS MCP」,启动服务后点击「复制并分享 MCP 提示词片段」,将其粘贴到你的 AI 提示词中即可。

安全说明

  • MCP 服务无内置认证,建议仅在局域网环境下使用
  • MCP 协议默认支持 2025-11-25,并兼容 2025-06-18、2025-03-26;HTTP 响应会返回 MCP-Protocol-Version
  • 锁屏或熄屏时,服务端会拦截点击、滑动、输入、启动 App、Shell 等交互/写入类工具,只放行状态查询、截图和唤醒恢复类工具
  • run_command 工具可执行任意 Shell 命令,请谨慎使用
  • read_file / write_file / download_file 可读写 MCP 服务进程权限范围内的设备路径,与 run_command 风险等级一致,请仅在可信网络使用
  • get_syslog 通过 mcp-logreader(签 com.apple.private.logging.stream entitlement)读取全 App 实时日志,可能包含敏感信息,请仅在可信网络使用
  • mcp-root 提供受限 root 提权能力,仅允许包内工具、受限 chmod/launchctl、无参数 id,以及受限 dpkg -i|--install|--unpack <绝对路径.deb>、dpkg -s|-r|--remove|--purge <package-id>;它不是通用 sudo

社区交流

iOS MCP 已经聚集了不少开发者和用户持续交流,目前已建立多个微信交流群。

微信交流群(8群开放中)公众号
1群:已满2群:已满3群:已满4群:已满5群:已满6群:已满7群:已满8群:开放中小陈iOS逆向与安全

8群二维码如已过期,请添加微信 witchan028 或关注公众号 小陈iOS逆向与安全 获取最新入群方式。

欢迎添加微信或关注公众号,获取最新动态与入群方式。

  • 微信:witchan028
  • 邮箱:witchan028@126.com

作者

witchan

许可

本项目自有代码使用 MIT License,详见 LICENSE。

使用、修改、分发或合并本项目自有源码及其重要部分时,应保留版权声明和许可证文本。NOTICE 提供项目出处和免责说明。

本项目按 “AS IS” 方式提供,不提供任何明示或暗示担保。因使用、修改、分发、部署或运行本项目导致的设备异常、数据丢失、服务中断、账号风险、系统损坏、安全问题、商业损失或其他直接/间接影响,作者不承担责任。

项目中包含的第三方组件(如 AppSync Unified、appinst、ldid、OpenSSL、libplist、libzip)遵循各自的开源协议,详见 THIRD_PARTY_NOTICES.md。

Use Ios MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Ios MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Ios MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Ios MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ios-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Ios MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Ios MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Ios MCP to help me with this task?
Ios MCP
Sure. I read it.
Here is what I found using Ios MCP.

Frequently asked questions

What is the Ios MCP MCP server used for?

Ios MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Ios MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Ios MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Ios MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Ios MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Ios MCP MCP to TypingMind?

Ios MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Ios MCP MCP provide in TypingMind?

Ios MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Ios MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Ios MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇