Skip to content

Commit 3099967

Browse files
authored
Merge pull request #14 from baryhuang/update_doc
update README
2 parents 5371f51 + 45c508c commit 3099967

File tree

1 file changed

+20
-46
lines changed

1 file changed

+20
-46
lines changed

README.md

Lines changed: 20 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -141,59 +141,33 @@ The server provides Remote MacOs functionality through MCP tools.
141141

142142
### Tools Specifications
143143

144-
The server provides four main tools for remote MacOS control:
144+
The server provides the following tools for remote macOS control:
145145

146146
#### remote_macos_get_screen
147-
Get a screenshot of the remote desktop. Example:
148-
```json
149-
{
150-
"host": "remote-macos-hostname-or-ip",
151-
"port": 5900,
152-
"password": "remote-macos-password",
153-
"username": "remote-macos-username",
154-
"encryption": "prefer_on"
155-
}
156-
```
147+
Connect to a remote macOS machine and get a screenshot of the remote desktop. Uses environment variables for connection details.
157148

158149
#### remote_macos_send_keys
159-
Send keyboard input. Example:
160-
```json
161-
{
162-
"host": "remote-macos-hostname-or-ip",
163-
"password": "remote-macos-password",
164-
"text": "Hello world!",
165-
"special_key": "enter",
166-
"key_combination": "cmd+c"
167-
}
168-
```
150+
Send keyboard input to a remote macOS machine. Uses environment variables for connection details.
169151

170-
#### remote_macos_send_mouse
171-
Send mouse input. Example:
172-
```json
173-
{
174-
"host": "remote-macos-hostname-or-ip",
175-
"password": "remote-macos-password",
176-
"x": 500,
177-
"y": 300,
178-
"button": 1,
179-
"action": "click"
180-
}
181-
```
152+
#### remote_macos_mouse_move
153+
Move the mouse cursor to specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details.
182154

183-
#### remote_macos_scale_coordinates
184-
Scale coordinates between different screen sizes. Example:
185-
```json
186-
{
187-
"host": "remote-macos-hostname-or-ip",
188-
"password": "remote-macos-password",
189-
"source_width": 1366,
190-
"source_height": 768,
191-
"x": 500,
192-
"y": 300
193-
}
194-
```
155+
#### remote_macos_mouse_click
156+
Perform a mouse click at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details.
157+
158+
#### remote_macos_mouse_double_click
159+
Perform a mouse double-click at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details.
160+
161+
#### remote_macos_mouse_scroll
162+
Perform a mouse scroll at specified coordinates on a remote macOS machine, with automatic coordinate scaling. Uses environment variables for connection details.
163+
164+
#### remote_macos_open_application
165+
Opens/activates an application and returns its PID for further interactions.
166+
167+
#### remote_macos_mouse_drag_n_drop
168+
Perform a mouse drag operation from start point and drop to end point on a remote macOS machine, with automatic coordinate scaling.
195169

196-
All tools support Apple Authentication (protocol 30) and require at minimum a host and password.
170+
All tools use the environment variables configured during setup instead of requiring connection parameters.
197171

198172
## Limitations
199173

0 commit comments

Comments
 (0)