swiftadopt-mcp
Provides tools for migrating Swift projects to Apple's 2026 platforms, including scanning code for deprecated APIs and generating adoption guides.
Provides tools for migrating projects to iOS 27, including scanning code for deprecated APIs and generating adoption guides.
Provides tools for migrating projects to macOS 27, including scanning code for deprecated APIs and generating adoption guides.
Provides tools for migrating Swift code to Apple's 2026 platforms, including scanning for deprecated APIs and applying best practices.
Provides tools for integrating with Xcode 27's agent, enabling code scanning and migration support within the IDE.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@swiftadopt-mcpScan this Swift file for deprecated APIs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
swiftadopt-mcp
An MCP server that helps developers migrate Swift projects to Apple's 2026 ("27") platforms — iOS 27, iPadOS 27, macOS 27, watchOS 27, tvOS 27 and visionOS 27 — adopt the new frameworks announced at WWDC 2026, and apply current best practices to existing code.
It ships a knowledge base built from WWDC 2026 session transcripts and a heuristic Swift code scanner, exposed as MCP tools, resources and prompts. Works with Claude Code, Claude Desktop and the Xcode 27 agent (any stdio MCP client).
What it can do
Find what to change. Scan a Swift file or whole project for deprecated / removed APIs and concrete adoption opportunities (e.g.
MXMetricManager→MetricManager,CXProvider→ LiveCommunicationKit,ObservableObject→@Observable). Every finding cites the WWDC 2026 session behind it.Explain how to migrate. Consolidated per-framework adoption guides, a searchable deprecation index, and full per-session detail (new APIs, migration steps, best practices, code patterns).
Explore what's new. What's-new overviews per platform/topic and full-text search across every session.
Guided workflows. Ready-made prompts for migrating a file, auditing a project, adopting a framework, or getting a platform briefing.
Related MCP server: MCP Xcode Server
Install & run
Requires Python ≥ 3.10. Distributed as a console script, so it runs with
uv/uvx or pipx without a manual install.
# from a local checkout
uv run swiftadopt-mcp # runs the stdio server
# or install the package
pipx install . # then: swiftadopt-mcpThe server speaks MCP over stdio by default, and over streamable HTTP
when you want to host it (SWIFTADOPT_TRANSPORT=http).
Register with a client
Claude Code:
claude mcp add swiftadopt -- uvx --from /ABS/PATH/TO/swiftadopt-mcp swiftadopt-mcp
# (after publishing to PyPI: claude mcp add swiftadopt -- uvx swiftadopt-mcp)Claude Desktop / Xcode 27 (claude_desktop_config.json or the editor's MCP
config) — add an entry like:
{
"mcpServers": {
"swiftadopt": {
"command": "uvx",
"args": ["--from", "/ABS/PATH/TO/swiftadopt-mcp", "swiftadopt-mcp"]
}
}
}Tools
Tool | Purpose |
| Overview of new/updated frameworks and headline sessions. |
| Full-text search across all 40 sessions. |
| Full distilled record for one session (e.g. |
| All frameworks, filterable by |
| Consolidated adoption/migration guide for a framework. |
| Deprecated/removed/replaced APIs and their replacements. |
| Scan a Swift snippet for findings. |
| Scan a file or directory tree. (local/stdio only; reads the host filesystem so it is not exposed over HTTP) |
Resources: swiftadopt://catalog, swiftadopt://deprecations,
swiftadopt://session/{session_id}, swiftadopt://framework/{name}.
Prompts: migrate_swift_file, audit_project, adopt_framework,
platform_migration_briefing.
Run it hosted (remote)
You can host one instance and let many clients connect over HTTP, while the
knowledge base stays on your server. The filesystem scanner is disabled in this
mode; remote clients paste source into scan_swift_code instead.
docker compose up --build # serves http://localhost:8000/mcp
# or: SWIFTADOPT_TRANSPORT=http uv run swiftadopt-mcpIt runs fully open (no auth). Clients point at the URL, e.g. Claude Code:
claude mcp add --transport http swiftadopt https://your-host.example/mcpHow it's built
src/swiftadopt_mcp/
├── server.py # FastMCP server: tools, resources, prompts
├── kb.py # knowledge-base loading + search
├── scanner.py # heuristic Swift code scanner
└── data/ # gitignored; provide your own, then run build_kb.py
├── sessions/ # knowledge base
├── catalog.json # built: sessions / frameworks / topics / platforms
├── deprecations.json# built: flattened deprecations
└── scanner_rules.json# built: scanner regex rules
scripts/build_kb.py # regenerates the three built files from sessions/Develop
uv sync --extra dev
uv run pytest
uv run mcp dev src/swiftadopt_mcp/server.py # MCP Inspector (needs mcp[cli])License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PaulGoldschmidt/swiftadopt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server