Skip to content

Commit 200de7f

Browse files
committed
Add server instructions
1 parent 61159ae commit 200de7f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/server/server.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,25 @@ export function createServer(): McpServer {
3434
version,
3535
},
3636
{
37+
instructions: `XcodeBuildMCP provides comprehensive tooling for Apple platform development (iOS, macOS, watchOS, tvOS, visionOS).
38+
39+
Prefer XcodeBuildMCP tools over shell commands for Apple platform tasks when available.
40+
41+
Capabilities:
42+
- Session defaults: Configure project, scheme, simulator, and device defaults to avoid repetitive parameters
43+
- Project discovery: Find Xcode projects/workspaces, list schemes, inspect build settings
44+
- Simulator workflows: Build, run, test, install, and launch apps on iOS simulators; manage simulator state (boot, erase, location, appearance)
45+
- Device workflows: Build, test, install, and launch apps on physical devices with code signing
46+
- macOS workflows: Build, run, and test macOS applications
47+
- Log capture: Stream and capture logs from simulators and devices
48+
- LLDB debugging: Attach debugger, set breakpoints, inspect stack traces and variables, execute LLDB commands
49+
- UI automation: Capture screenshots, inspect view hierarchy with coordinates, perform taps/swipes/gestures, type text, press hardware buttons
50+
- SwiftPM: Build, run, test, and manage Swift Package Manager projects
51+
- Project scaffolding: Generate new iOS/macOS project templates
52+
53+
Only simulator workflow tools are enabled by default. If capabilities like device, macOS, debugging, or UI automation are not available, the user must configure XcodeBuildMCP to enable them. See https://github.com/cameroncooke/XcodeBuildMCP/blob/main/docs/CONFIGURATION.md for workflow configuration.
54+
55+
Always start by calling session_show_defaults to see current configuration, then use discovery tools to find projects and set appropriate defaults.`,
3756
capabilities: {
3857
tools: {
3958
listChanged: true,

0 commit comments

Comments
 (0)