Skip to main content
Glama
README.md
# Nemeton MCP Server

[![Swift](https://img.shields.io/badge/Swift-5.9+-orange.svg)](https://swift.org)
[![Platform](https://img.shields.io/badge/platform-macOS%2015%2B-blue.svg)](https://apple.com/macos)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![MCP](https://img.shields.io/badge/protocol-MCP-purple.svg)](https://modelcontextprotocol.io)
[![juergenkoller-software/nemeton-mcp MCP server](https://glama.ai/mcp/servers/juergenkoller-software/nemeton-mcp/badges/score.svg)](https://glama.ai/mcp/servers/juergenkoller-software/nemeton-mcp)

**Control native macOS virtual machines from Claude Desktop, Claude Code, Cursor, or any MCP client.**

This is the official [Model Context Protocol](https://modelcontextprotocol.io) bridge for [**Nemeton**](https://juergenkoller.software/en/nemeton/?mtm_source=mcp&mtm_medium=agent&mtm_campaign=nemeton-mcp&mtm_content=github-readme) — a native macOS app that gives every AI agent its own isolated macOS VM on your company's Macs, built on Apple's `Virtualization.framework` (no Parallels, no VMware).

> **You need the Nemeton app installed and running.** This MCP server is a thin stdio→HTTP bridge — the actual VM logic lives in the app. Get Nemeton at [juergenkoller.software/en/nemeton](https://juergenkoller.software/en/nemeton/?mtm_source=mcp&mtm_medium=agent&mtm_campaign=nemeton-mcp&mtm_content=github-readme).

---

## What you can do

> "Claude, start a fresh macOS VM, take a snapshot, open the app in the VM and fill in the form. If anything goes wrong, roll back to the snapshot."

> "Claude, spin up an Ubuntu 24.04 VM with 4 CPUs and 8 GB RAM, install Docker over SSH, and tell me when it's ready."

The MCP server exposes **more than 200 tools**. A selection by category:

| Category | Tools |
|---|---|
| **VM Lifecycle** | `list_vms`, `get_vm`, `create_vm`, `update_vm`, `clone_vm`, `delete_vm`, `reorder_vms`, `stop_all` |
| **VM Control** | `start_vm`, `stop_vm`, `force_stop_vm`, `pause_vm`, `resume_vm`, `suspend_vm`, `get_suspend_status` |
| **Snapshots** (CoW on APFS) | `list_snapshots`, `create_snapshot`, `restore_snapshot`, `delete_snapshot` |
| **Console** | `send_console`, `read_console`, `console_execute`, `take_screenshot` |
| **Networking & Files** | `vm_ip`, `ssh_execute`, `file_upload`, `file_download`, `file_list` |
| **GUI Control** | `gui_launch`, `gui_windows`, `vscode_command`, `select_vm` |
| **Apps in the VM** | `vm_launch_app`, `vm_get_apps`, `vm_click_element`, `vm_input_type`, `vm_get_ax_tree` |
| **Dialogs** | `vm_dialogs`, `vm_dialog_answer` |
| **Clipboard Bridge** | `clipboard_read`, `clipboard_write` |
| **Host Info** | `get_host_info`, `get_metrics` |
| **Storage** | `resize_disk`, `export_vm`, `import_vm` |
| **Linux distros** | `list_distros` (Ubuntu, Debian, Fedora, Alpine, openSUSE, Rocky Linux, Arch Linux — automatic download, or your own ISO) |
| **Display** | `fullscreen_enter`, `fullscreen_exit`, `fullscreen_toggle` |
| **Webhooks** | `list_webhooks`, `register_webhook`, `delete_webhook` |
| **Runtime** | `vm_runtime`, `vm_errors`, `list_downloads` |

Each tool returns structured JSON with VM state, snapshot metadata, console output, or operation result. The full list is announced by the app on `tools/list` after `initialize`.

---

## Installation

### Prerequisites

1. **macOS 15 (Sequoia) or later** — Nemeton's own requirement. macOS VMs need a Mac with Apple silicon; Linux VMs run on Apple silicon (ARM64) and Intel Macs (x86_64).
2. **Nemeton app installed and running** — [get it here](https://juergenkoller.software/en/nemeton/?mtm_source=mcp&mtm_medium=agent&mtm_campaign=nemeton-mcp&mtm_content=github-readme).
3. **Swift 5.9+** (Xcode 15+) to build the bridge from source.

### Build from source

```bash
git clone https://github.com/juergenkoller-software/nemeton-mcp.git
cd nemeton-mcp
swift build -c release
# Binary: .build/release/NemetonMCP
```

### Pre-built binary

There is no pre-built macOS binary; build from source as shown above. The binary attached to [Releases](https://github.com/juergenkoller-software/nemeton-mcp/releases) is a static Linux x86_64 build for container-based MCP registries such as Glama; it does not run on macOS.

---

## Configuration

### Claude Desktop

Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "nemeton": {
      "command": "/path/to/NemetonMCP",
      "env": {
        "NEMETON_PORT": "22100",
        "NEMETON_TOKEN": "your-token-here"
      }
    }
  }
}
```

Get `NEMETON_TOKEN` from **Nemeton → Settings → API & Integrations**.

### Claude Code

Add to `~/.claude/mcp.json` (or via `claude mcp add`):

```bash
claude mcp add nemeton /path/to/NemetonMCP \
  --env NEMETON_PORT=22100 \
  --env NEMETON_TOKEN=your-token-here
```

### Cursor / other MCP clients

Same pattern: configure `NemetonMCP` as a stdio MCP server with the two environment variables above.

---

## How it works

```
┌────────────────┐  JSON-RPC stdio   ┌────────────────┐  HTTP+Bearer   ┌────────────────┐
│  Claude/Cursor │ ───────────────►  │  NemetonMCP    │ ─────────────► │  Nemeton.app   │
│  (MCP client)  │ ◄───────────────  │   (this repo)  │ ◄───────────── │  (port 22100)  │
└────────────────┘                   └────────────────┘                └────────────────┘
```

The bridge reads JSON-RPC 2.0 requests from `stdin`, forwards them to Nemeton's local HTTP server at `127.0.0.1:22100/mcp`, and writes responses back to `stdout`. All authentication, VM logic, and tool dispatch happens inside the Nemeton app.

This split lets us keep the MCP wire format open-source (so you can audit it, fork it, or run it through any sandboxing layer you prefer) while the VM internals stay in the app.

---

## Environment variables

| Variable | Default | Description |
|---|---|---|
| `NEMETON_PORT` | `22100` | Port of Nemeton's local HTTP server |
| `NEMETON_TOKEN` | _(none)_ | Bearer token from Nemeton Settings (required for write operations) |

Errors and trace logs are written to `stderr` so they don't pollute the JSON-RPC stdout channel.

---

## About Nemeton

Nemeton gives every AI agent its own isolated macOS VM on your own Macs, so agents work in-house and never touch your work Mac. Built for companies. Highlights:

- **Isolated** — each agent runs in its own macOS VM on your hardware
- **Targeted** — via MCP the agent gets exactly the tools the task needs
- **Visible** — you see every step and approve what the agent may not do on its own
- **Linux VMs too** — Ubuntu, Debian, Fedora, Arch and more, controlled via MCP, REST and SSH (the in-guest app and dialog tools are for macOS VMs)
- **CoW snapshots on APFS** — save VM states without wasting disk
- **REST API with webhooks** for your own automation
- **MCP server** (this repo) for Claude and other AI agents
- **Local AI option** — run Nemeton's assistant on a local model via Ollama
- **Native performance** — uses Apple's framework directly, no QEMU overhead

Nemeton is in beta and a free download. Companies use the annual subscription “Nemeton for Business”: EUR 249 net per Mac and year, 15% less from 10 Macs. → **[Nemeton for companies](https://juergenkoller.software/en/nemeton/?mtm_source=mcp&mtm_medium=agent&mtm_campaign=nemeton-mcp&mtm_content=github-readme)** · [Download in the store](https://store.juergenkoller.software/en/apps/nemeton?mtm_source=mcp&mtm_medium=agent&mtm_campaign=nemeton-mcp&mtm_content=github-readme)

---

## License

MIT — see [LICENSE](LICENSE). The bridge is open source; the Nemeton app itself is commercial.

## Issues & support

- **Bridge bugs:** [open an issue](https://github.com/juergenkoller-software/nemeton-mcp/issues)
- **App support:** [support@juergenkoller.software](mailto:support@juergenkoller.software)

Built by [Jürgen Koller Software GmbH](https://juergenkoller.software).

TDQS

C2.9/5.0

Scored across 49 tools

Disambiguation3/5

Most tools map cleanly to distinct VM operations, but several overlapping mechanisms create ambiguity: console_execute vs ssh_execute vs send_console all involve running or sending commands into a VM, and fullscreen_enter/fullscreen_exit/fullscreen_toggle are largely redundant. An agent must read descriptions carefully to avoid picking the wrong execution path.

Naming Consistency3/5

The dominant pattern is verb_noun in snake_case (list_vms, create_snapshot, register_webhook), but there are inconsistent exceptions: vm_ip, vm_runtime, and vm_errors lack verbs, fullscreen_enter/fullscreen_exit/fullscreen_toggle invert the verb/noun order, and console_execute reverses the typical verb-first style. The names are readable but not fully predictable.

Tool Count2/5

49 tools is well beyond the 25-tool threshold and includes many micro-actions such as fullscreen_enter/fullscreen_exit/fullscreen_toggle, select_vm, and clipboard_read/write that could be combined or left to client-side wrappers. The broad VM-management scope justifies a large API, but as an MCP surface it is heavy and harder for agents to navigate.

Completeness5/5

The tool set covers the full VM lifecycle: create/get/update/clone/delete, power and suspend states, snapshots, console/SSH access, file transfer, GUI interaction, host metrics, disk resize, export/import, distros, and webhooks. There are no obvious dead ends or missing core operations for managing VMs on macOS. It is arguably more complete than needed, but not incomplete.

Maintenance

ActivityNo data
ResponsivenessOutdated data