What problem does it solve?
It eliminates manual setup and bridging when you want to use external Model Context Protocol (MCP) servers so their tools become immediately available inside Gengar.
Core Features & Use Cases
- MCP server discovery at startup: Reads your configured MCP servers, connects, and lists available tools automatically.
- First-class tool registration: Exposes discovered MCP tools alongside built-in tools, prefixed as mcp_{server_name}_{tool_name}, so the agent can call them naturally.
- Configurable transports (stdio or HTTP): Runs local stdio-based MCP servers via commands (e.g., npx/uvx) or connects to remote HTTP/StreamableHTTP MCP endpoints.
- Security guardrails for subprocess environments: Filters inherited environment variables for stdio subprocesses and supports explicit env injection only when required.
- Credential redaction on failures: Automatically redacts common credential-like patterns from tool error messages.
Quick Start
Add your MCP servers to ~/.gengar/config.yaml under mcp_servers, restart Gengar, then ask it to use an MCP tool (for example, “What is the current time?”) with the automatically generated mcp_{server}_{tool} prefix.