ipsw-mcp-server
Integrates with Apple firmware infrastructure and catalogs to verify TSS signing status, resolve Apple hardware identifiers, fetch IPSW metadata and CDN URLs, download official restore images, and generate device restoration pipelines.
Provides tools for iOS firmware management, including finding signed IPSW builds, checking signing availability, downloading and verifying restore images, and preparing restore commands for iPhone and iPad devices.
Supports macOS firmware management by resolving Mac board identifiers and querying IPSW restoration images and signing metadata for Apple Mac hardware.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Apple IPSW & Firmware Restoration MCP Server πβ‘
The Model Context Protocol (MCP) server for Apple iOS, iPadOS, and macOS firmware management, real-time TSS signing status verification, hardware model resolution, and autonomous device restoration.
Designed specifically for AI coding assistants and autonomous agents (Claude Desktop, Cursor, Antigravity, Cline, OpenCode) to query, verify, download, and stage official Apple IPSW restore images without manual human intervention.
π Why This MCP Server?
When AI agents are tasked with troubleshooting, recovering, or restoring iPhones and Apple devices, they hit three major roadblocks:
Unsigned Firmware Traps: Apple regularly closes TSS signing windows. Flashing an unsigned IPSW results in an immediate restoration failure.
Cryptic Hardware Identifiers: Users know their phone as "iPhone 15 Pro" or back-cover "A2848", but Apple firmware requires the board identifier ("iPhone16,1").
Multi-Gigabyte Context Bloat: Raw IPSW catalogs consume 50,000+ characters of context window.
ipsw-mcp-server solves this out-of-the-box:
π‘οΈ Real-Time TSS Signing Verification: Queries Apple TSS status via the official
ipsw.meAPI v4 before taking any action.π Hardware Model Resolver: Translates regulatory A-numbers (
A2848βiPhone16,1) and marketing names to restoration boards instantly.β‘ Resumable Apple CDN Stream Downloader: Downloads 7β10 GB
.ipswimages with HTTP Range resumption and automated SHA-1 integrity checks.πΎ Host Disk Budgeter: Validates host disk headroom before downloading massive firmware images to prevent host out-of-space crashes.
π§ Context-Compacted Outputs: Built-in token compaction saves 80β95% context tokens, keeping agent interactions lightning-fast.
π Zero External Dependencies: Built-in JSON-RPC 2.0 stdio server runs on standard Python 3.9+ without needing external packages.
Related MCP server: Apple Docs MCP
ποΈ Architecture
flowchart LR
subgraph Host ["AI Agent Environment"]
Agent["Autonomous Agent\n(Claude / Cursor / Antigravity)"]
Config["MCP Client Config\n(JSON-RPC stdio)"]
end
subgraph MCP ["ipsw-mcp-server"]
Server["server.py\n(FastMCP + Stdio Fallback)"]
Compactor["token_compactor.py\n(Context Saver)"]
Client["ipsw_client.py\n(IPSW.me API v4)"]
Bridge["backup_bridge.py\n(MobileSync Inspector)"]
end
subgraph AppleCloud ["Apple Infrastructure"]
TSS["Apple TSS / IPSW.me\n(Signing Status)"]
CDN["Apple Production CDN\n(appldnld.apple.com)"]
end
subgraph DeviceBus ["Target Hardware"]
USB["USB Bus / DFU Mode\n(idevicerestore / cfgutil)"]
iPhone["Target Apple Device\n(iPhone / iPad / Mac)"]
end
Agent <--> Config
Config <--> Server
Server --- Compactor
Server --- Client
Server --- Bridge
Client <--> TSS
Client --> CDN
Server -. Command Pipeline .-> USB
USB --> iPhoneβ‘ Quick Start & Configuration
1. Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"apple-ipsw": {
"command": "python3",
"args": ["/path/to/ipsw-mcp-server/server.py"],
"env": {
"IPSW_DOWNLOAD_DIR": "~/Downloads/IPSW"
}
}
}
}2. Cursor (.cursor/mcp.json)
{
"mcpServers": {
"apple-ipsw": {
"command": "python3",
"args": ["/path/to/ipsw-mcp-server/server.py"]
}
}
}3. VS Code / Cline / Roo Code / Antigravity
Configure standard stdio transport:
Command:
python3Arguments:
["/path/to/ipsw-mcp-server/server.py"]
π οΈ Exposed MCP Tools
Tool Name | Parameters | Description |
|
| Search Apple hardware to find internal board identifiers (e.g. |
|
| Convert back-case |
|
| Query active Apple TSS signing status. Returns builds that can be restored today. |
|
| Fetch Apple CDN URL, SHA-1 checksum, file size, and upload timestamp. |
|
| List firmware restoration images across all Apple models for a given iOS/iPadOS release. |
|
| Stream-download official Apple |
|
| Compute SHA-1/MD5 checksums and emit ready-to-run |
| (none) | Scan USB bus for connected iPhones/iPads in Normal, Recovery, or DFU mode. |
|
| Match local MobileSync backups with signed IPSWs to verify forward compatibility. |
|
| Audit host disk buffer (download + 12 GB staging + safety margin) before starting. |
|
| Generate validated step-by-step restoration command sequence for this specific device. |
π‘ Example Agent Prompts
Once configured in your AI agent, you can ask natural language questions:
"What iOS versions are currently signed for my iPhone 14 Pro (A2650)?"
"Download the latest signed IPSW for iPhone15,2 to my downloads folder and verify its SHA1 checksum."
"Check if my local iPhone backup can be restored onto iOS 18.1.1 without triggering an OS upgrade."
"Do I have enough disk space on this Mac to stage an IPSW restore for my connected iPad?"
"Generate an idevicerestore command sequence to re-flash this iPhone in DFU mode."
π§ͺ Testing & Verification
Run the built-in self-test (zero configuration required):
python3 server.py --selftestRun comprehensive offline unit test suite:
pytest -vπ¦ Zero-Dependency Architecture
Unlike MCP servers that require sprawling node packages or complex Docker setups, ipsw-mcp-server is written in clean, modern Python using the standard library.
Works seamlessly with
python3oruv.Compatible with Python 3.9, 3.10, 3.11, 3.12, and 3.13.
Cross-platform support across macOS, Windows, and Linux.
π Related Projects
ios-system-data-cleaner: Autonomous zero-lockout iOS storage reclamation engine and cache bloat purger.
IPSW.me: Community Apple firmware downloads API.
libimobiledevice: Cross-platform protocol library to communicate with iOS devices natively.
π License
MIT License Β© 2026 Vladislav Ekimtcov.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
App Store Connect operator for AI agents: icons, TestFlight builds, listings, IAP, rejection fixes.
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Let your AI agent control real iPhones: screenshots, tap, swipe, type and open apps.
Reach your own computers from any AI app: files, search, commands, approvals and outage alerts.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides AI agents with instant access to official Apple developer documentation, Swift programming guides, design guidelines, and Apple Developer YouTube content including WWDC sessions. Uses advanced RAG technology with semantic search and AI reranking to deliver accurate, contextual answers for Apple platform development.7-
- AlicenseAqualityDmaintenanceProvides access to Apple's official developer documentation, frameworks, APIs, and WWDC session transcripts across all Apple platforms. It enables AI assistants to search technical guides, sample code, and platform compatibility information using natural language queries.181,052 npm1,384MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to manage Apple App Store Connect through the official API, including apps, metadata, reviews, TestFlight, provisioning, users, and reports.MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to manage App Store Connect apps, including registering bundle IDs, uploading metadata and screenshots, setting age ratings, managing TestFlight groups and testers, and submitting apps for review.MIT