What problem does it solve?
Monika cannot natively use tools provided by external MCP servers, forcing users to manually bridge commands or write adapters.
Core Features & Use Cases
- Automatic discovery: At startup Monika reads the
mcp_servers configuration, connects to each server, and lists available tools.
- Native registration: Discovered tools become first‑class Monika commands prefixed with
mcp_{server}_{tool}.
- Multi‑transport support: Works with stdio (command‑based) and HTTP/StreamableHTTP servers.
- Secure environment: Filters subprocess environment variables and redacts credentials in error messages.
- Resilient connections: Handles reconnection with exponential backoff and graceful shutdown.
Use case: A developer adds a filesystem MCP server to access files on a remote machine; the tools appear instantly as mcp_filesystem_read_file etc., allowing the agent to manipulate remote files without custom code.
Quick Start
Ask Monika to add a MCP server called time and then request the current time using the tool mcp_time_get_current_time.