M

Myio MCP

by SmarthomeNinja · io.github.SmarthomeNinja/myio-mcp

Control a myIO smart home controller over the local network: heating zones, lights, blinds, sensors and energy, timers, scenes, logs and diagnostics; every command is read back, and a write level limits what the AI may change.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-smarthomeninja-myio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "myio-mcp"
      ],
      "env": {
        "MYIO_BASE_URL": "<VALUE>",
        "MYIO_USERNAME": "<VALUE>",
        "MYIO_PASSWORD": "<YOUR_VALUE>",
        "MYIO_WRITE": "config",
        "MYIO_TOOLSETS": "<VALUE>",
        "MYIO_SERVERS": "<YOUR_VALUE>",
        "MYIO_NAME": "<VALUE>",
        "MYIO_STDIO": "<VALUE>",
        "MYIO_HTTP_HOST": "<VALUE>",
        "MYIO_HTTP_PORT": "<VALUE>",
        "MYIO_HTTP_TOKEN": "<VALUE>",
        "MYIO_MIN_GAP_MS": "<VALUE>",
        "MYIO_TIMEOUT_MS": "<VALUE>",
        "MYIO_INSECURE_PARSER": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MYIO_BASE_URL Yes Controller URL, e.g. http://192.168.1.178 (port 80 by default).
MYIO_USERNAME Yes HTTP Basic auth user name. The account's permission level limits what the tools can do.
MYIO_PASSWORD secret Yes HTTP Basic auth password for the myIO user.
MYIO_WRITE No Write level: state (outputs, thermostat targets, usens, run flows / scripts, SG mode), config (default; also names, timers, scenes, structures, input/output configuration, thermostat sensor binding, Flow / script files, integration settings), admin (also users, permissions, system files, network, Cloud keys, restart / OTA). Default: config
MYIO_TOOLSETS No Tool groups to load (core, legacy, house, config, automation, diag, integrations, expanders), default all. Example: house,automation or all,-legacy,-expanders.
MYIO_SERVERS secret No Several controllers as a JSON array, e.g. [{"name":"Ground floor","url":"http://192.168.1.178","username":"admin","password":"..."}, ...]. Overrides MYIO_BASE_URL, MYIO_USERNAME and MYIO_PASSWORD; tools take server: "<name>".
MYIO_NAME No Label used in replies (default: the host).
MYIO_STDIO No 0 or 1 to force stdio on or off. By default stdio runs when started under an MCP client; a terminal start serves only HTTP.
MYIO_HTTP_HOST No Optional bind address for the Streamable HTTP transport. Defaults to 127.0.0.1; any other address requires MYIO_HTTP_TOKEN (minimum 16 characters) or the server refuses to start.
MYIO_HTTP_PORT No Optional port for the Streamable HTTP transport. When set, the server also answers MCP over Streamable HTTP at /mcp.
MYIO_HTTP_TOKEN No Bearer token for the Streamable HTTP transport. Every request needs Authorization: Bearer <token>.
MYIO_MIN_GAP_MS No Minimum pause between two requests to one controller in milliseconds, default 150. A Due refuses request bursts.
MYIO_TIMEOUT_MS No HTTP timeout in milliseconds, default 10000.
MYIO_INSECURE_PARSER No 0 enables the strict Node HTTP parser. The default is lenient, because the firmware writes its headers by hand.

Similar servers