jihongboo/dsh-apple-mode
Xcode AI integration mode for DeepSeek Harness (dsh) — an agent preset + installer that gives your DSH session
An Xcode AI integration mode for DSH: an agent preset plus installer that gives selected sessions the full Xcode AI stack. Picking Apple Mode when creating a session yields 26 mcpxcode* tools via Apple's official mcpbridge (project I/O, search, targets and build settings, scheme/destination/test-plan switching, diagnostics, StringCatalog localization, windows), ten Apple platform skills (SwiftUI, App Intents, security hardening, bounds safety, …) generated locally from your own Xcode, and an Xcode Intelligence–style Swift-first persona adapted from Apple's IDEIntelligenceChat prompt templates. Build/run/test still happen from the terminal via xcodebuild.
Install
dsh plugin --profile web add "github:jihongboo/dsh-apple-mode"Alternative README install path (the global-bundle channel). The primary documented path is to clone the repo and run ./install.sh, which detects your Xcode installs (letting you pick which provides mcpbridge), installs the apple agent preset into ~/.dsh/.agent-presets/apple/ and generates the 10 Xcode AI skills locally via xcrun agent skills export into ~/.agents/skills/. The bundle form wires the Xcode MCP server into every session of the profile. Use one install path, not both: each registers serverName: xcode, and a duplicate server name fails the later instance at load.
Compatibility
macOS only, with DSH (npx @deepseek-ai/dsh web) and Xcode 26+ (it provides mcpbridge and xcrun agent skills export). To use the MCP tools, Xcode must be running with the target project open and you must click Allow on the MCP access dialog. Routing the 26 Xcode MCP tool schemas (~6k+ tokens/request) globally would tax every session, which is why the preset/mode packaging is recommended instead.
Details
- Repo: jihongboo/dsh-apple-mode
- Category: Coding & Development
- Stars: 1
- Version: GitHub main (README-documented; not published to npm)
- Last push: 2026-08-13
- First seen: 2026-08-13
Recent updates
README documents the three-layer mapping (execute = dsh-mcp-client mounted inside the preset, knowledge = dsh-skill-filesystem, behavior = the agent preset) and why the MCP server is mounted inside a preset rather than globally: it keeps ~26 large tool schemas out of sessions that do not opt in. It also explains that skills are generated at install time rather than vendored, to avoid redistributing Apple-authored content.
FAQ
- How do I install dsh-apple-mode?
- Clone the repo and run ./install.sh (the documented primary path), or install the global bundle with dsh plugin --profile web add "github:jihongboo/dsh-apple-mode". Use only one of the two — both register the xcode MCP server name.
- Why is Apple Mode a preset instead of always-on MCP?
- Mounting the Xcode MCP server globally puts ~26 large tool schemas (~6k+ tokens/request) into every session; packaging it as a preset keeps that cost only in sessions where you pick Apple Mode.
- The mcpxcode* tools fail — what is missing?
- Xcode must be running with the project/workspace open, and on first connection you must click Allow (允许) on Xcode's MCP access dialog; until then tool calls are rejected.