Skip to content

Release v0.11.2

Choose a tag to compare

@github-actions github-actions released this 05 Mar 23:29
· 39 commits to main since this release

v0.11.2 — MCP tool support

This release introduces MCP (Model Context Protocol) tool calling, allowing whai to connect to local MCP servers and use their tools (files, APIs, databases, etc.).

Highlights

  • MCP tool integration: discover and use tools from locally configured MCP servers (~/.config/whai/mcp.json).
  • Per-server approval controls: configure whether a server’s tools require confirmation via requires_approval (default: true).
  • Easy opt-out: disable MCP per run with --no-mcp, or persistently with:
    [mcp]
    enabled = false

Fixes & improvements

  • More reliable MCP initialization, tool discovery, and shutdown/cleanup.
  • Better error messages when an MCP server fails to start or can’t list tools.
  • More robust tool-call parsing in streaming responses (including tools without a command field).
  • Improved routing for MCP servers with underscores in their names.
  • Self-healing config loading: missing top-level config sections are automatically restored.