ampio-mcp-agent 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +43 -0
  2. package/README.md +24 -2
  3. package/agent.mjs +24693 -0
  4. package/package.json +31 -4
package/LICENSE ADDED
@@ -0,0 +1,43 @@
1
+ Ampio MCP — Proprietary Software License
2
+
3
+ Copyright (c) 2026 aii-gee. All rights reserved.
4
+
5
+ This software, including its source code, object code, the Ampio MCP server, the agent (also as
6
+ published in the npm package "ampio-mcp-agent" and the container image "ampio-mcp-agent"),
7
+ documentation and related files (the "Software"), is the confidential property of aii-gee
8
+ (the "Licensor"). It is licensed, not sold.
9
+
10
+ 1. Agent. You may install and run unmodified copies of the agent, as published by the Licensor,
11
+ solely to connect Ampio installations that you own or are authorised to manage to the Ampio MCP
12
+ service operated by the Licensor, for as long as you hold an account for that service.
13
+
14
+ 2. Service. Use of the hosted Ampio MCP service is governed by its terms of service. No right to
15
+ run, host or offer the server part of the Software, or any part of the service, is granted.
16
+
17
+ 3. Restrictions. Except as expressly permitted in section 1, you may not, in whole or in part:
18
+ (a) copy, modify, translate or create derivative works of the Software;
19
+ (b) distribute, sublicense, sell, rent, lease, lend or otherwise make the Software available to
20
+ any third party, or use it to provide services to third parties;
21
+ (c) decompile, disassemble or reverse engineer the Software, or attempt to derive its source
22
+ code, except to the extent that applicable law expressly permits it despite this restriction;
23
+ (d) remove or alter any copyright, licence or proprietary notice;
24
+ (e) use the Software to build a competing product or service.
25
+
26
+ 4. Ownership. The Licensor retains all right, title and interest in the Software, including all
27
+ intellectual property rights. All rights not expressly granted are reserved.
28
+
29
+ 5. Termination. This licence ends automatically if you breach it or when your access to the Ampio
30
+ MCP service ends. You must then stop using the Software and delete all copies.
31
+
32
+ 6. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
33
+ INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34
+ NON-INFRINGEMENT.
35
+
36
+ 7. Limitation of liability. TO THE EXTENT PERMITTED BY LAW, THE LICENSOR SHALL NOT BE LIABLE FOR
37
+ ANY DAMAGES ARISING FROM THE USE OF OR INABILITY TO USE THE SOFTWARE, INCLUDING DAMAGE TO OR
38
+ MALFUNCTION OF ANY INSTALLATION THE SOFTWARE IS CONNECTED TO.
39
+
40
+ 8. Governing law. This licence is governed by the laws of Poland; the courts competent for the
41
+ Licensor's seat have jurisdiction.
42
+
43
+ Licensing enquiries: https://mcp.ampio.aiigee.pl
package/README.md CHANGED
@@ -1,3 +1,25 @@
1
- # Temporary Holding Version
1
+ # ampio-mcp-agent
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The agent of [Ampio MCP](https://mcp.ampio.aiigee.pl): run it on the network of an Ampio installation and Claude can read and program its logic. It connects to the M-SERV over MQTT and keeps one outbound connection to the Ampio MCP server — no open ports. It relays only the requests the server is allowed to make; MQTT (and Node-RED) credentials stay with it.
4
+
5
+ Requires Node.js 24 or newer. The Docker image `ghcr.io/aii-gee/ampio-mcp-agent` is the same agent.
6
+
7
+ ```
8
+ SERVER_URL=https://mcp.ampio.aiigee.pl \
9
+ AGENT_NAME=ampio-agent-home AGENT_LANG=en \
10
+ MQTT_HOST=192.168.1.50 MQTT_USER=admin MQTT_PASSWORD=... \
11
+ npx -y ampio-mcp-agent
12
+ ```
13
+
14
+ On first start it prints a pairing code: enter it in the panel (*Add installation*). Its token is kept in `~/.ampio-mcp-agent/agent-token` (`TOKEN_FILE` to change). Keep it running as a service (systemd, pm2, …).
15
+
16
+ | variable | |
17
+ |---|---|
18
+ | `SERVER_URL` | the Ampio MCP server |
19
+ | `MQTT_HOST`, `MQTT_USER`, `MQTT_PASSWORD` | the M-SERV's MQTT broker |
20
+ | `AGENT_NAME` | shown in the panel (default: the host name) |
21
+ | `AGENT_LANG` | `en` or `pl`: the agent's messages and the language Claude names things in for this installation |
22
+ | `NODERED_URL` | Node-RED (default `http://MQTT_HOST:1880`; `off` turns the connector off); `NODERED_TOKEN`, or `NODERED_USER` + `NODERED_PASSWORD` with adminAuth |
23
+ | `TOKEN_FILE` | where the agent token is kept |
24
+
25
+ License: proprietary, all rights reserved — see LICENSE. You may run this agent only to connect installations you own or manage to the Ampio MCP service.