Using MCP (Model Context Protocol)
What MCP is and when to use it
MCP is a standard way for outside AI tools — Claude Desktop, an IDE assistant, or any other MCP-capable client — to call eisy-ai's tools directly, over the network, without going through eisy-ai's chat window or its LLM at all. The client's own AI does the thinking; eisy-ai simply provides the tools (device control, status, routines, plugin authoring, and so on).
Use it if you'd rather drive your eisy from a tool you already work in. If you just want to chat with eisy-ai in eisy-ui, you don't need MCP, and it stays off by default.
Prerequisites
mcp_serverset totruein eisy-ai's configuration (see 3.3).- Your eisy's own username and password. MCP clients sign in with the same credentials that already protect eisy's web UI and REST API, using a standard OAuth 2.1 login. There is no unauthenticated access and no separate "MCP password" to create.
- "Allow API Access" enabled for the eisy-ai plugin. This is a one-time setting on eisy-ai's own configuration screen in eisy-ui (it is not part of the JSON configuration). MCP's sign-in needs a direct connection to the eisy that bypasses the normal plugin relay, and this permission is what allows it. Without it, sign-in can never complete no matter how many times you retry; eisy-ai's log will say "ISY access not authorized."
- No LLM API key is needed. MCP tool access works even if you haven't configured one.
Turn it on
- Open eisy-ai's Configuration tab (as in 1.2) and change
"mcp_server": falseto"mcp_server": true. It must be the literal valuetrue; anything else, or leaving it out, keeps MCP off. - Enable Allow API Access for eisy-ai on that same screen.
- Click Save Changes, then restart the eisy-ai plugin.
Turning this on opens a network port (8260) on your eisy. It's protected by your eisy login, but once a client signs in it gets the same tool access a logged-in chat session has — including running commands on the host and full device control. Only connect clients you trust.
Connect a client
Claude Desktop is used as the example; other MCP clients follow the same pattern.
- Add a remote MCP server pointing at your eisy, for example
https://eisy.local:8260/mcp. - The client discovers and registers itself automatically, then shows a login form. Sign in with your eisy's username and password.
- Once signed in, every tool from the profiles you have enabled (
unified,plugin_authoring, or both) is available to that client.
Your eisy uses its own TLS certificate, so a client may warn about it the first time you connect.
What's deliberately unavailable
Over MCP, deleting a device or a plugin only ever returns a preview — it is never actually carried out, no matter what confirmation the client sends. If you really want to delete something, do it in eisy-ui or through eisy-ai's own chat, which asks you to confirm.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| The client can't connect at all | mcp_server isn't exactly true, or you haven't restarted eisy-ai since changing it. |
| The login form appears but sign-in never completes; the log says "ISY access not authorized" | Allow API Access isn't enabled for the eisy-ai plugin (see 3.2). |
| Login is rejected | Use your eisy's own username and password, the same ones as eisy-ui. |
| eisy-ai's chat shows a notice about running in "MCP-only mode" | Expected: mcp_server is on but no LLM API key is configured. MCP works fully; add a key and restart if you also want web chat and plugin authoring. |