The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
An open-source AI agent that brings the power of Gemini directly into your terminal.
Ggoogle-geminiยทabout 2 months ago
npx @google/gemini-cli
Supports Claude Code, Mcp
Shows active maintenance signals
Carries strong trust indicators from repository metadata
772 GitHub stars recorded
Ai
Command Line Tool
Open Issues
19
Last Commit
Jul 9, 2026
Language
Python
License
MIT
Author
jonigl
Maintainer Reach
โ
Install Type
pip
Homepage
โ
Install ollmcp via pip, add an MCP server, and run the client:
# Install ollmcp via uv
uv tool install --upgrade ollmcp
# or via pip
pip install --upgrade ollmcp
# Add an MCP server (example: playwright stdio server)
ollmcp mcp add playwright -- npx @playwright/mcp@latest
# Run the client (check optional flags with `ollmcp --help`)
ollmcp # once running, use /help for interactive commands
๐ค Agent Mode: Iterative tool execution when models request multiple tool calls, with a configurable loop limit and interactive choices when the limit is reached (continue, wrap up, or abort)
๐ Multi-Server Support: Connect to multiple MCP servers simultaneously
๐ Multiple Transport Types: Supports STDIO, SSE, and Streamable HTTP server connections
๐ MCP Prompts Support: Browse, invoke, and manage prompts from MCP servers with argument collection, preview, and safe rollback
๐ฆ MCP Resources Support: Browse and read contextual data from MCP servers including files, documents, and structured data
โ๏ธ Ollama Cloud Support: Works seamlessly with Ollama Cloud models for tool calling, enabling access to powerful cloud-hosted models while using local MCP tools
๐ Multiple LLM Providers: Use Ollama (default) or OpenAI-compatible providers (OpenAI, OpenRouter, DeepSeek, etc.), with connection settings remembered per provider
๐จ Rich Terminal Interface: Interactive console UI with modern styling
๐ Streaming Responses: View model outputs in real-time as they're generated
๐ Answer Display Modes: Switch between Plain, Markdown, Both, or Markdown (blocks) response views while streaming
๐ ๏ธ Tool Management: Enable/disable specific tools or entire servers during chat sessions
๐งโ๐ป Human-in-the-Loop (HIL): Review and approve tool executions before they run for enhanced control and safety
๐ฎ Advanced Model Configuration: Fine-tune 15+ model parameters including context window size, temperature, sampling, repetition control, and more
๐ฌ System Prompt Customization: Define and edit the system prompt to control model behavior and persona
๐ง Context Window Control: Adjust the context window size (num_ctx) to handle longer conversations and complex tasks
๐จ Enhanced Tool Display: Beautiful, structured visualization of tool executions with JSON syntax highlighting
๐ง Context Management: Control conversation memory with configurable retention settings
๐ค Thinking Mode: Advanced reasoning capabilities with visible thought processes for supported models (e.g., gpt-oss, deepseek-r1, qwen3, etc.)
๐ช Reasoning Effort Levels: Set reasoning effort to auto, minimal, low, medium, high, or xhigh for supported models
๐ผ๏ธ Vision Tool Support: Images returned by tools are automatically forwarded to vision-capable models
๐ฃ๏ธ Cross-Language Support: Seamlessly work with both Python and JavaScript MCP servers
๐ History Management: View full conversation history, export to JSON for backup/analysis, and import previous sessions for continuity
๐ Auto-Discovery: Automatically find and use Claude's existing MCP server configurations
๐ Dynamic Model Switching: Switch between any installed Ollama model without restarting
๐พ Configuration Persistence: Save and load tool preferences and model settings between sessions
๐ Server Reloading: Hot-reload MCP servers during development without restarting the client
โจ Fuzzy Autocomplete: Interactive, arrow-key command autocomplete with descriptions
๐ท๏ธ Dynamic Prompt: Shows current model, thinking mode, and enabled tools
๐ Performance Metrics: Detailed model performance data after each query, including duration timings and token counts
๐ Plug-and-Play: Works immediately with standard MCP-compliant tool servers
๐ Update Notifications: Automatically detects when a new version is available
๐ฅ๏ธ Modern CLI with Typer: Grouped options, shell autocompletion, and improved help output
โน๏ธ Abort Generation: You can abort model generation at any time by pressing 'a' during response streaming
[!WARNING]
Avoid pip install --break-system-packages ollmcp. It works, but it installs into the system Python and can break packages your OS depends on.