Release v0.11.2
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
commandfield). - Improved routing for MCP servers with underscores in their names.
- Self-healing config loading: missing top-level config sections are automatically restored.