Xcode MCP Server
by r-huijts
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PROJECTS_BASE_DIR | Yes | The base directory path to your Xcode projects |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
set_projects_base_dir | Set the base directory where Xcode projects are stored |
set_project_path | Explicitly set the path to the Xcode project to work with |
get_active_project | Get information about the currently active Xcode project |
read_file | Read contents of a file in the Xcode project |
write_file | Write or update contents of a file in the Xcode project |
list_project_files | List all files in an Xcode project |
analyze_file | Analyze source file for issues and suggestions |
build_project | Build the current Xcode project |
run_tests | Run tests for the current Xcode project |