Open WebUI

Change of plan - let's ditch the known IDE and enter the rabbit hole ...

With my own silicon 🧠, I decided to create my own coding AI solution to stay within my budget for tokens per month. The initial ideal was to use the existing setup to create the new one - but with solutions like LiteLLM, Pydantic & Open WebUI I decided to try if the M4 can help to realise the AI framework I have in mind.

After some configuration I've a test setup ready:

Code Omega - AI Development Framework
Code Omega . AI Development Framework

But as I do not want to work in the sandbox, we'll need to create a bride to our file system. Time to learn something new: how to create an MCP server with python.

# Initialize a new project and navigate into it
uv init mcp-file-server
cd mcp-file-server

# Add the official mcp library with CLI extras
uv add "mcp[cli]"

The dummy server code:

from mcp.server.fastmcp import FastMCP

# 1. Initialize the FastMCP server instance
mcp = FastMCP("Demo Server")

# 2. Add a Tool (Functions the LLM can execute)
@mcp.tool()
def add_numbers(a: int, b: int) -> int:
    """Adds two numbers together dynamically."""
    return a + b

# 3. Add a Resource (Static or dynamic data the LLM can fetch as context)
@mcp.resource("greetings://{name}")
def get_greeting(name: str) -> str:
    """Provides a personalized greeting resource."""
    return f"Hello, {name}! This data was fetched straight from the MCP server."

if __name__ == "__main__":
    # Run using local stdio by default (perfect for Claude Desktop or Claude Code)
    mcp.run()

stdio (standard input/output) transport is for the this test only; we'll need to use SSE (Server-Sent Events) over HTTP for the implementation (Phase 1).

MCP Inspector

Related post

openHAB

🚀 openHAB 5.2 is HERE!

openHAB has rolled out version 5.2, and it's a massive testament to the power of its global community! This release focuses heavily on extending user-facing features while maintaining stability for smooth upgrades from previous major versions.

openHAB Chat Interface

The biggest highlight is the new LLM-based Chat interface in the Main UI. openHAB now allows you to interact with your smart home using natural language—no more rigid sentence matching! By integrating AI services like Gemini or OpenAI, users can have back-and-forth conversations (e.g., "Make the living room cozy?") and receive dynamic card renderings right in the chat feed.

This release also introduces a robust Item Permission Model to ensure that sensitive devices, like smart locks or alarms, can be protected from LLM access.

Thanks to 141 contributors and over 3,000 commits, openHAB 5.2 delivers a smarter, more capable, and secure smart home experience!

Read the full story here: OpenHAB 5.2 Release Blog Post