- DelphiTools - https://www.delphitools.info -

DWScript MCP server samples

Recently added a small DWScript-MCP [1] repository with MCP (Model Context Protocol) [2] samples for DWScript.

This showcases how you can deploy a custom MCP server with basically nothing else than the DWSWebServer.exe. That’s less than 8 MB, a couple small script files and no dependencies… and it can even run under Linux with Wine!

Two tools are currently included:

The MCP server has been tested under LMStudio [3] (using an SSE channel) and a custom LLM client we have at work (using only POST request).

Interestingly enough even small models understand raw METAR (down to the tiny Qwen-0.6B). Larger models know the aerodromes closest to major cities, and will pick the correct METAR station when asked about weather conditions, will be able to convert to metric units, etc.