End-of-Life was decided upon based on these dependencies:
- Python 3.12 (October 2028)
+
+## Use with as an MCP Skill with llama-ui
+
+Install with `mcp` support:
+
+ pip install -e ".[llm]"
+
+Set hostname as `MY_IP` environment variable, and run:
+
+Run:
+
+ MY_IP=192.168.68.0
+ python skill.py
+
+In Lamma UI, click `MCP Servers` / `+ Add New Server`.
+
+ 192.168.68.0:9000
+
from fastmcp import FastMCP
from matrix_shop_bot.db import Data
+import os
+MY_IP=os.environ.get('MY_IP')
mcp = FastMCP("Shop Bot")
@mcp.tool
# return Data().list_purchases(store)
if __name__ == "__main__":
- mcp.run(transport="http", host="127.0.0.1", port=9000)
+ mcp.run(transport="http", host=MY_IP, port=9000)