Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the Node.js image as the base image
FROM node:18-alpine AS builder

# Set the working directory inside the Docker image
WORKDIR /app

# Copy package.json and package-lock.json to the working directory
COPY package.json package-lock.json ./

# Install the dependencies
RUN npm install

# Copy the rest of the application source code to the working directory
COPY src ./src
COPY tsconfig.json ./

# Build the TypeScript code
RUN npm run build

# Use a smaller Node.js image for the final release
FROM node:18-alpine AS release

# Set the working directory
WORKDIR /app

# Copy the built application from the builder stage
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/package.json /app/package-lock.json /app/node_modules ./

# Define the environment variable if necessary (adjust according to the app's requirements)
ENV NODE_ENV=production

# Define the command to run the application
ENTRYPOINT ["node", "dist/src/index.js"]
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# iOS Simulator MCP Server

[![smithery badge](https://smithery.ai/badge/@joshuarileydev/simulator-mcp-server)](https://smithery.ai/server/@joshuarileydev/simulator-mcp-server)

A Model Context Protocol (MCP) server that provides programmatic control over iOS simulators. This server implements the MCP specification to expose simulator functionality through a standardized interface.

## Features
Expand All @@ -10,6 +12,16 @@ A Model Context Protocol (MCP) server that provides programmatic control over iO
- Launch installed apps by bundle ID

## Installation

### Installing via Smithery

To install iOS Simulator Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@joshuarileydev/simulator-mcp-server):

```bash
npx -y @smithery/cli install @joshuarileydev/simulator-mcp-server --client claude
```

### Manual Installation
Add the following to your Claude Config JSON file
```
{
Expand All @@ -23,4 +35,4 @@ Add the following to your Claude Config JSON file
}
}
}
```
```
12 changes: 12 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
properties: {}
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({command: 'node', args: ['dist/src/index.js'], env: {}})