Skip to content

v2.1.3 - FastMCP Compatibility, Faster Startup & Shared HTTP Transport

Choose a tag to compare

@4R9UN 4R9UN released this 09 May 16:04
· 8 commits to main since this release

Modernizes startup behavior and MCP client configuration while keeping the public tool contract stable.

Release Date: May 9, 2026
Author: Arjun Trivedi
Email: arjuntrivedi42@yahoo.com
Repository: https://github.com/4R9UN/mcp-kql-server

🚀 What's New in v2.1.3

1. Faster MCP Startup

  • sentence_transformers is now imported lazily, only when semantic embeddings are needed.
  • Startup update checks are opt in via --check-updates or MCP_KQL_CHECK_FOR_UPDATES=true.
  • Azure CLI auth is deferred by default so MCP tool discovery does not block on interactive login.

2. FastMCP Compatibility

  • Runtime dependency range is now fastmcp>=2.14.7,<4.0.0.
  • Transport settings are passed through mcp.run(...), which is compatible with FastMCP v2 and v3 patterns.
  • Latest FastMCP v3 import compatibility was validated in an isolated environment.

3. Shared HTTP Transport

  • Added CLI and environment support for stdio, http, streamable-http, and sse transports.
  • http is normalized to modern streamable HTTP.
  • --stateless-http supports shared or multi worker deployments.

4. Multi Instance Local Memory

  • SQLite connections now use WAL mode, synchronous=NORMAL, and MCP_KQL_SQLITE_BUSY_TIMEOUT_MS.
  • This reduces database lock failures when multiple stdio MCP instances share the same memory DB.

5. Documentation Cleanup

  • README was simplified and now focuses on install, MCP settings, shared HTTP mode, runtime options, tools, security, and troubleshooting.
  • Removed noisy diagrams, repeated release details, demo clutter, and stale configuration snippets from the main README.

🛡️ Compatibility

  • Public MCP tool names and return contract remain unchanged.
  • Stdio remains the default transport.
  • Shared HTTP mode is additive.

📦 Install

pip install --upgrade mcp-kql-server==2.1.3

📝 Documentation update — recommended MCP launch command

The recommended MCP client configuration now uses the Python module entry point:

"command": "python",
"args": ["-m", "mcp_kql_server"]

This works on every platform where Python is on PATH and does not depend on the location of the mcp-kql-server console script. The console script is still installed by pip and remains fully supported (no breaking change). Windows users should still prefer "command": "py", "args": ["-3", "-m", "mcp_kql_server"] and macOS/Linux users "command": "python3" when python is ambiguous on PATH. See README.md and docs/troubleshooting.md for the updated snippets.