MCP HubMCP Hub
ggozad

oterm

by: ggozad

the terminal client for Ollama

1726created 10/10/2023
Visit
Terminal
Ollama

📌Overview

Purpose: Provide a user-friendly terminal client for interacting with Ollama models directly from the command line.

Overview:
oterm is a cross-platform terminal application designed to streamline the use of Ollama AI models without the need for additional servers or frontends. It enables intuitive chat-based interactions, customizable sessions, and easy access to different language models—all within a simple terminal interface.

Key Features:

  • Simple Terminal UI: Launch and interact with AI models directly by running oterm, eliminating the need for external servers or graphical interfaces.
  • Cross-Platform Support: Compatible with Linux, macOS, and Windows across most terminal emulators.
  • Persistent Multi-Session Chats: Supports multiple chat sessions, each with customizable system prompts and parameters, all stored persistently using SQLite.
  • Model Context Protocol (MCP) Integration: Enables use of MCP tools and prompts, supporting enhanced model functionalities including external tool access.
  • Flexible Model Use: Works with all models pulled via Ollama or user-created custom models.
  • Customization & Extensibility: Easily adjust system prompts, parameters, and integrate tools or custom commands, tailoring the experience to various workflows.

oterm

Terminal client for Ollama.

Features

  • Simple terminal UI—just type oterm in your terminal.
  • Supports Linux, MacOS, and Windows.
  • Multiple persistent chat sessions, stored with system prompts and parameter customizations in sqlite.
  • Integration with Model Context Protocol (MCP) tools and prompts.
  • Use any Ollama models or your own custom models.
  • Easily customize model prompts and parameters.
  • Tools integration for providing external information to the model.

Installation

uvx oterm

See Installation for more details.

Documentation

oterm Documentation

What's New

  • MCP Sampling.
  • SSE & WebSocket transports for MCP servers.
  • In-app log viewer for debugging and troubleshooting.
  • Sixel graphics support for displaying images in the terminal.
  • Model Context Protocol (MCP) tools and prompts.
  • Custom terminal commands—each is a chat, customizable and tool-integrated.

License

This project is licensed under the MIT License.