myIO
v1.7.0Read and control a myIO smart home controller: heating, lighting, blinds and energy.
Values you need
| Variable | What it is | |
|---|---|---|
MYIO_BASE_URL | required | URL of the myIO controller, e.g. http://192.168.1.178 |
MYIO_USERNAME | required | myIO user name; its permission level limits what the tools can do |
MYIO_PASSWORD | required secret | Password of the myIO user |
MYIO_WRITE | optional | Write level: state (switch only), config (also settings) or admin Default: config |
MYIO_TOOLSETS | optional | Tool groups to load, e.g. house,automation (default: all) |
MYIO_SERVERS | optional secret | Several controllers: JSON array of {name, url, username, password}; overrides the three above |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add myio-mcp -e 'MYIO_BASE_URL=<MYIO_BASE_URL>' -e 'MYIO_PASSWORD=<MYIO_PASSWORD>' -e 'MYIO_USERNAME=<MYIO_USERNAME>' -- npx -y myio-mcp@1.7.0Add to
claude_desktop_config.json{
"mcpServers": {
"myio-mcp": {
"args": [
"-y",
"myio-mcp@1.7.0"
],
"command": "npx",
"env": {
"MYIO_BASE_URL": "<MYIO_BASE_URL>",
"MYIO_PASSWORD": "<MYIO_PASSWORD>",
"MYIO_USERNAME": "<MYIO_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"myio-mcp": {
"args": [
"-y",
"myio-mcp@1.7.0"
],
"command": "npx",
"env": {
"MYIO_BASE_URL": "<MYIO_BASE_URL>",
"MYIO_PASSWORD": "<MYIO_PASSWORD>",
"MYIO_USERNAME": "<MYIO_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MYIO_BASE_URL",
"id": "myio-base-url",
"password": true,
"type": "promptString"
},
{
"description": "MYIO_PASSWORD",
"id": "myio-password",
"password": true,
"type": "promptString"
},
{
"description": "MYIO_USERNAME",
"id": "myio-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"myio-mcp": {
"args": [
"-y",
"myio-mcp@1.7.0"
],
"command": "npx",
"env": {
"MYIO_BASE_URL": "${input:myio-base-url}",
"MYIO_PASSWORD": "${input:myio-password}",
"MYIO_USERNAME": "${input:myio-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.myio-mcp]
command = "npx"
args = ["-y", "myio-mcp@1.7.0"]
env = { "MYIO_BASE_URL" = "<MYIO_BASE_URL>", "MYIO_PASSWORD" = "<MYIO_PASSWORD>", "MYIO_USERNAME" = "<MYIO_USERNAME>" }For AI agents
- Ask the user for: MYIO_BASE_URL, MYIO_USERNAME, MYIO_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: myio_servers, myio_info, myio_find, myio_list_devices, myio_read_sensors, myio_get_status, myio_output, myio_relay_on, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json