go_computer_use_mcp_server
Enables desktop automation capabilities for Codeium's Windsurf IDE, allowing mouse control, keyboard input, screen operations, window management, and system utilities through MCP integration.
Supports installation and operation on Debian-based systems with specific package dependencies for X11, clipboard, bitmap, and event hook functionality required for desktop automation.
Supports installation and operation on Fedora-based systems with specific package dependencies for X11, clipboard, bitmap, and event hook functionality required for desktop automation.
Provides desktop automation capabilities on Linux systems with X11 support, including display environment configuration and platform-specific dependencies for mouse, keyboard, and screen operations.
Supports desktop automation on macOS systems, including configuration for Claude Desktop integration and platform-specific functionality for mouse, keyboard, and window management.
Enables running the server via npx with Node.js 18+, providing the primary distribution method for the desktop automation MCP server across various AI tools and platforms.
Provides desktop automation capabilities for OpenAI's Codex, enabling mouse control, keyboard input, screen operations, window management, and system utilities through MCP integration.
Supports installation and operation on Ubuntu systems with specific package dependencies for X11, clipboard, bitmap, and event hook functionality required for desktop automation.
go_computer_use_mcp_server
This server is intended to run as atrusted local MCP tool.
It currently provides broad local desktop control and is not sandboxed by default.
Do not expose it to untrusted networks, users, or agents without additional security controls.
MCP (Model Context Protocol) server in Go for computer automation. Uses robotgo library for desktop automation.
Features
Mouse control: movement, clicks, dragging, scrolling
Keyboard control: key presses, text input, hotkeys
Screen operations: screenshots, pixel color, display information
Window management: move, resize, minimize/maximize
Process management: list processes, search, terminate
System utilities: system info, dialogs, delays
Quick Start with npx
The easiest way to run the server is via npx (requires Node.js 18+):
# Run with stdio transport (for MCP clients)
npx go-computer-use-mcp-server -t stdio
# Run with SSE transport
npx go-computer-use-mcp-server -t sse -h 0.0.0.0 -p 8080Integration with AI Tools
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Claude Code
Using CLI command:
claude mcp add computer-use -- npx -y go-computer-use-mcp-server -t stdioclaude mcp add --transport stdio \
--env DISPLAY="$DISPLAY" \
--env XAUTHORITY="${XAUTHORITY:-$HOME/.Xauthority}" \
computer-use -- \
npx -y go-computer-use-mcp-server -t stdioOr add manually to your project's .mcp.json file:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}OpenCode
Add to your opencode.jsonc configuration file:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"computer-use": {
"type": "local",
"command": ["npx", "-y", "go-computer-use-mcp-server", "-t", "stdio"],
"enabled": true
}
}
}Codex (OpenAI)
Using CLI command:
codex mcp add computer-use -- npx -y go-computer-use-mcp-server -t stdioOr add to ~/.codex/config.toml:
[mcp_servers.computer-use]
command = "npx"
args = ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
env_vars = ["DISPLAY", "XAUTHORITY"]Cursor
Add to your Cursor MCP configuration. Go to Cursor Settings > Features > MCP Servers and add:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Windsurf
Add to ~/.codeium/mcp_config.json or via Settings > Cascade > MCP Servers > Add Server:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"]
}
}
}Cline (VS Code Extension)
Click the MCP Servers icon in Cline panel, select "Configure" tab, then "Configure MCP Servers" to edit cline_mcp_settings.json:
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": ["-y", "go-computer-use-mcp-server", "-t", "stdio"],
"disabled": false
}
}
}Generic MCP Client
For any MCP-compatible client, use:
npx -y go-computer-use-mcp-server -t stdioInstallation from Source
Requirements
Go 1.21+
GCC compiler
X11 libraries (Linux)
Ubuntu/Debian
# Go (if not installed)
sudo snap install go --classic
# GCC
sudo apt install gcc libc6-dev
# X11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard support
sudo apt install xsel xclip
# Bitmap support (for image operations)
sudo apt install libpng++-dev
# Event hook support
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-devOne-liner:
sudo apt install gcc libc6-dev libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-devFedora
# GCC (if not installed)
sudo dnf install gcc
# X11
sudo dnf install libX11-devel libXtst-devel
# Clipboard support
sudo dnf install xsel xclip
# Bitmap support
sudo dnf install libpng-devel
# Event hook support
sudo dnf install libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-develOne-liner:
sudo dnf install gcc libX11-devel libXtst-devel xsel xclip libpng-devel libxkbcommon-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-develBuild
# Download dependencies
make deps
# Build for current platform
make build
# Build for all platforms
make build-allRunning (from source)
SSE transport (default)
./go_computer_use_mcp_server -t sse -h 0.0.0.0 -p 8080Stdio transport
./go_computer_use_mcp_server -t stdioCommand line arguments
Argument | Description | Default |
| Transport: |
|
| Host for SSE server |
|
| Port for SSE server |
|
Available Tools
Mouse Control (12 tools)
Tool | Description |
| Move cursor to absolute coordinates |
| Smooth cursor movement (human-like) |
| Relative cursor movement |
| Get current cursor position |
| Mouse click |
| Move and click |
| Press/release mouse button |
| Drag operation |
| Smooth drag operation |
| Scroll |
| Scroll in direction |
| Smooth scroll |
Keyboard Control (7 tools)
Tool | Description |
| Key press (with modifiers) |
| Press/release key |
| Type text (UTF-8) |
| Type text with delay |
| Read clipboard |
| Write to clipboard |
| Paste via clipboard |
Screen Operations (7 tools)
Tool | Description |
| Get screen size |
| Number of monitors |
| Monitor bounds |
| Screen capture (returns MCP ImageContent) |
| Capture and save to file |
| Pixel color at coordinates |
| Pixel color under cursor |
Window Management (9 tools)
Tool | Description |
| Active window information |
| Window title |
| Window bounds |
| Activate window |
| Move window |
| Resize window |
| Minimize window |
| Maximize window |
| Close window |
Process Management (6 tools)
Tool | Description |
| List all processes |
| Find processes by name |
| Get process name by PID |
| Check if process exists |
| Kill process |
| Run command |
System Utilities (3 tools)
Tool | Description |
| System information |
| Sleep/delay |
| Show dialog |
Usage Examples
Move mouse and click
{
"tool": "mouse_click_at",
"arguments": {
"x": 100,
"y": 200,
"button": "left",
"double": false
}
}Type text
{
"tool": "type_text",
"arguments": {
"text": "Hello, World!",
"delay": 50
}
}Hotkeys
{
"tool": "key_tap",
"arguments": {
"key": "c",
"modifiers": ["ctrl"]
}
}Screen capture
{
"tool": "screen_capture",
"arguments": {
"x": 0,
"y": 0,
"width": 800,
"height": 600
}
}Supported Keys
Letters and numbers
a-z, A-Z, 0-9
Function keys
f1-f24
Navigation
up, down, left, right, home, end, pageup, pagedown
Special keys
backspace, delete, enter, tab, escape, space, insert, capslock
Modifiers
alt, ctrl, shift, cmd (or command)
Multimedia
audio_mute, audio_vol_down, audio_vol_up, audio_play, audio_stop, audio_pause
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hightemp/go_computer_use_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server