3 days ago
MCP 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
Overview
go-computer-use-mcp-server is an open-source cross-platform computer-use MCP server written in Go.
It enables MCP clients to interact with the local computer through tools for:
- 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
The server is designed for local desktop automation on Windows, macOS, and Linux and is distributed as an npm package, so it can be started easily with npx.
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 8080
Server Config
{
"mcpServers": {
"computer-use": {
"command": "npx",
"args": [
"-y",
"go-computer-use-mcp-server",
"-t",
"stdio"
]
}
}
}