Oh My Sage MCP
Manage Mi Home gateway automation rules through natural-language requests in MCP-compatible agents.
Install Oh My Sage MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"oh-my-sage-mcp": {
"command": "npx",
"args": [
"-y",
"oh-my-sage-mcp"
],
"env": {
"GATEWAY_URL": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
npx -y oh-my-sage-mcpNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Create Mi Home automation rules from natural-language requests
- Patch a single node without rewriting unrelated rule content
- Find rules that reference a device or variable
- Inspect execution logs to diagnose a failed automation
- Validate graph structure and device capabilities before writing
Key features
- Connects to a local Mi Home central gateway
- Exposes 32 tools for devices, rules, logs, drafts, and variables
- Validates graph structure and MIOT device capabilities before writes
- Supports incremental rule patches with read hashes
- Provides stdio and persistent HTTP deployment options
- Supports temporary batched drafts for larger graphs
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 3d ago via OSV.dev · oh-my-sage-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Oh My Sage MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Oh My Sage MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/oh-my-sage-mcp)<a href="https://allmcps.com/mcp/oh-my-sage-mcp"><img src="https://allmcps.com/api/badge/oh-my-sage-mcp?style=directory" alt="Oh My Sage MCP on AllMCPs" /></a>