Machina
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Machinasend an iMessage to Mom saying I'll be late"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Machina
AI's home on your Mac.
Give AI agents remote access to iMessage, Notes, Reminders, Contacts, and more. Installed and maintained by Claude Code - not bash scripts.
Cloud AI ──MCP over HTTP──▶ Machina ──▶ Your Mac's capabilitiesThe Problem
AI agents can think, reason, and plan - but they can't act. They can't send you an iMessage. They can't check your calendar. They can't control your Mac.
Existing solutions are fragmented: separate MCP servers for each capability, local-only access, traditional installers that break on edge cases.
The Solution
Machina provides:
MCP Gateway - Standard MCP server exposing all Mac capabilities
Remote Access - Cloud AI agents can reach your Mac via Tailscale
AI-Native Installation - Claude reads the knowledge, adapts to your system, installs everything
Self-Maintaining - Automated updates, health checks, auto-recovery
Installation
Prerequisites
You need:
macOS (Apple Silicon or Intel)
Tailscale - Sign up and install (free tier works)
Claude Code - The AI-native installer
Optional:
Homebrew (Claude will install if needed)
Node.js 22+ (Claude will install if needed)
Quick Start
Important: Run this setup from the Mac's Terminal app or via VNC, not over SSH. macOS permission prompts require GUI access.
# 1. Clone the repo
git clone https://github.com/TechNickAI/machina ~/machina
cd ~/machina
# 2. Start Claude Code (bypass mode required for automation)
claude --permission-mode=bypassPermissionsThen run: /machina
Claude will:
✅ Verify prerequisites (Tailscale, macOS version, Node.js)
🔐 Trigger all permission prompts at once (approve them all)
📦 Install dependencies
🔑 Generate authentication token
🚀 Start the MCP gateway
🌐 Configure Tailscale HTTPS access
🧪 Test with actual iMessage/Notes queries
📋 Give you an MCP config to copy/paste
That's it. 5-10 minutes. No bash scripts. No debugging. Claude adapts to your system.
The AI-Native Installer
This is Machina's key innovation.
Traditional installers follow deterministic steps and break on edge cases. Machina's knowledge/ folder contains goals and verification criteria. Claude reads it, understands the goal, assesses your system, adapts, and achieves the desired state.
Traditional Installer | AI-Native Installer |
Assumes deterministic environment | Adapts to your actual system |
Breaks on edge cases | Debugs and fixes issues |
User googles errors | Claude resolves errors |
One-size-fits-all | Asks what you want |
Why this works:
Claude can assess: "Is Homebrew installed? What permissions are granted?"
Claude can adapt: "Node.js not found - installing it first"
Claude can debug: "AppleScript permission error - checking System Preferences"
Claude can verify: "Sending test message to confirm iMessage works"
Claude can ask: "Do you want WhatsApp? This requires QR authentication."
Capabilities
Capability | Implementation | Status |
iMessage | Direct SQLite + AppleScript | ✅ Ready |
Notes | AppleScript | ✅ Ready |
Reminders | AppleScript | ✅ Ready |
Contacts | AppleScript | ✅ Ready |
Baileys library + SQLite (optional, needs QR) | ✅ Ready |
All operations use the progressive disclosure pattern - one machina tool with dot-notation operations:
// Discover all available operations
machina(action='describe')
// Specific operation details
machina(action='describe', params={operation: 'whatsapp.send'})
// Execute an operation
machina(action='whatsapp.chats', params={limit: 5})
machina(action='messages.send', params={to: 'Mom', body: 'Hi!'})Architecture
graph TB
AI[Cloud AI Agent<br/>Claude, Carmenta, etc.]
TS[Tailscale Network<br/>Encrypted tunnel]
GW[Machina Gateway<br/>:9900]
subgraph "Your Mac"
GW
AS[AppleScript Engine]
DB[(Messages DB<br/>SQLite)]
WA[WhatsApp Service<br/>:9901]
WADB[(WhatsApp DB<br/>SQLite)]
subgraph "macOS Apps"
MSG[Messages]
NOTES[Notes]
REM[Reminders]
CONT[Contacts]
end
end
AI -->|MCP over HTTPS<br/>Bearer token| TS
TS -->|Port 9900| GW
GW -->|Direct SQLite| DB
GW -->|AppleScript| AS
GW -->|HTTP/SQLite| WA
WA -->|Baileys| WADB
AS --> MSG
AS --> NOTES
AS --> REM
AS --> CONT
style AI fill:#e1f5ff
style TS fill:#fff3cd
style GW fill:#d4edda
style AS fill:#f8d7da
style WA fill:#dcf8c6Key points:
Progressive disclosure: One
machinatool, operations discovered on-demandDirect access: SQLite for Messages/WhatsApp (faster), AppleScript for others
Secure: Tailscale encrypted tunnel + bearer token auth
Simple: Single Node.js process + optional WhatsApp service
Updates
cd ~/machina && claude --permission-mode=bypassPermissionsRun: /machina (same command - it detects you're already installed and checks for updates)
Or trigger remotely via the system_update MCP operation.
Requirements
macOS (Apple Silicon or Intel)
Tailscale (for remote access)
Willingness to grant Automation permissions
Philosophy
The knowledge folder IS the installer.
Machina embodies a new paradigm: AI-native software. Instead of writing bash scripts that break, we write knowledge that Claude reads and executes. Claude adapts, debugs, and verifies. Humans approve and oversee.
This pattern should spread. Fork this. Learn from it. Apply it to your own projects.
License
MIT
Built for Carmenta - AI that actually cares.
This server cannot be installed
Maintenance
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/TechNickAI/machina'
If you have feedback or need assistance with the MCP directory API, please join our Discord server