
polarvista/xcode-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
polarvista/xcode-mcp-server는 MCP 서버 후보가 https://github.com/polarvista/xcode-mcp-server.에서 수입되었습니다
개요
polarvista/xcode-mcp-server는 MCP 서버 후보가 https://github.com/polarvista/xcode-mcp-server.에서 수입되었습니다
개요(AI 번역)
LLM 애플리케이션에서 Xcode 프로젝트를 직접 구축하는 모델 Context Protocol 서버
Xcode MCP Server는 Xcode 프로젝트를 구축 및 테스트하기위한 Model Context Protocol 인터페이스를 제공합니다. AI Assistants를 사용하여 직접 트리거 빌드, 실행 테스트, 모니터 진행 및 표준 인터페이스를 통해 액세스 로그를 활성화합니다.
특징
- 사용자 정의 계획 및 구성이있는 Xcode 프로젝트 구축
- granular 제어를 통한 단위 테스트를 실행 (특정 테스트 또는 건너뛰기 테스트)
- 코드 적용 보고서 생성
- 실시간 스트림 빌드 및 테스트 로그
- Access 상세 구축 및 테스트 보고서
- JSON 형식 출력
- 자동 로그인 지속
요구 사항
- 노드.js 16+
- Xcode 명령줄 도구
- TypeScript
- MCP 호환 클라이언트 (예 : Claude Desktop)
설치
Claude 데스크탑 사용
-
서버 시작:
-
Claude 데스크탑 설정에서:
사용 가능한 도구
프로젝트
지정된 매개 변수로 Xcode 프로젝트를 빌드합니다.
모수:
projectPath(필수): .xcodeproj 또는 .xcworkspace 경로scheme(required): 계획 이름 구축configuration(선택 사항): 구성 (Debug/Release, 디버그에 기본값)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Xcode MCP Server
A Model Context Protocol server for building Xcode projects directly from LLM applications
The Xcode MCP Server provides a Model Context Protocol interface for building and testing Xcode projects. It enables AI assistants to directly trigger builds, run tests, monitor progress, and access logs through a standardized interface.
Features
- Build Xcode projects with custom schemes and configurations
- Run unit tests with granular control (run specific tests or skip tests)
- Generate code coverage reports
- Stream build and test logs in real-time
- Access detailed build and test reports
- JSON-formatted output
- Automatic log persistence
Requirements
- Node.js 16+
- Xcode Command Line Tools
- TypeScript
- MCP-compatible client (e.g., Claude Desktop)
Installation
# Clone the repository
git clone https://github.com/PolarVista/Xcode-mcp-server.git
cd xcode-mcp-server
# Install dependencies
npm install
# Build the server
npm run build
Usage with Claude Desktop
-
Start the server:
npm run start /path/to/build/logs/directory -
In Claude Desktop settings:
"command": "node", "args": ["/path/to/the/xcode-mcp-server/build/index.js", "/path/to/your/project/folder"], "env": { "PATH": "/usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin" }
Available Tools
build_project
Builds an Xcode project with specified parameters.
Parameters:
projectPath(required): Path to the .xcodeproj or .xcworkspacescheme(required): Build scheme nameconfiguration(optional): Build configuration (Debug/Release, defaults to Debug)destination(optional): Build destination (defaults to “platform=iOS Simulator,name=iPhone 15 Pro”)
Example usage in Claude:
build_project({
projectPath: "/path/to/Project.xcodeproj",
scheme: "MyApp",
configuration: "Debug"
})
run_tests
Runs unit tests with optional filtering.
Parameters:
projectPath(required): Path to the .xcodeproj or .xcworkspacescheme(required): Test scheme nametestIdentifier(optional): Specific test to run (e.g., ‘MyTests/testExample’)skipTests(optional): Array of test identifiers to skipconfiguration(optional): Build configuration (Debug/Release, defaults to Debug)destination(optional): Test destination (defaults to “platform=iOS Simulator,name=iPhone 15 Pro”)
Example usage in Claude:
run_tests({
projectPath: "/path/to/Project.xcodeproj",
scheme: "MyAppTests",
testIdentifier: "LoginTests/testSuccessfulLogin",
skipTests: ["PerformanceTests/testLargeDataLoad"],
configuration: "Debug"
})
Logs
- All logs are stored in the specified base directory under
build-logs/ - Build operations create:
- Plain text log (
build-[timestamp].log) - JSON-formatted log (
build-[timestamp].log.json)
- Plain text log (
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →