MCP.so
登录

Ollama MCP Chat

@godstale

关于 Ollama MCP Chat

Ollama MCP Chat is a desktop chatbot application that integrates Ollama's local LLM models with MCP (Model Context Protocol) servers

基本信息

分类

AI 与智能体

许可证

MIT

运行时

python

传输方式

stdio

发布者

godstale

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "ollama-mcp-chat": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Ollama MCP Chat?

Ollama MCP Chat is a desktop chatbot application that integrates Ollama’s local LLM models with MCP (Model Context Protocol) servers. It provides a Python / PySide6-based GUI, supports various tool calls, and allows users to freely extend capabilities via MCP servers.

How to use Ollama MCP Chat?

Clone the repository, install uv, run uv sync, install Ollama and pull a model (e.g., ollama pull qwen3:14b). Optionally configure MCP servers in mcp_config.json. Launch the GUI with uv run main.py. Type quit, exit, or bye to exit.

Key features of Ollama MCP Chat

  • Run Ollama LLM models locally for free
  • Integrate and call various tools via MCP servers
  • Manage and save chat history
  • Real-time streaming responses and tool call results
  • Intuitive desktop GUI (PySide6-based)
  • GUI support for adding, editing, and removing MCP servers

Use cases of Ollama MCP Chat

  • Local AI assistant that can invoke external tools (e.g., weather, file operations)
  • Prototype and test MCP server integrations with an Ollama backend
  • Experiment with different LLM models and tool configurations
  • Learn how to build an AI desktop application with a Python GUI

FAQ from Ollama MCP Chat

What are the system requirements?

Python 3.12 or higher, Ollama installed (for local LLM execution), and uv (recommended for package management). MCP servers can be implemented in any language.

How do I add or modify MCP servers?

Add server information to the mcp_config.json file (e.g., command, arguments, transport). The GUI also supports adding, editing, and removing MCP servers directly.

Can I chat without configuring any MCP server?

Yes, basic LLM chat works even without an MCP server configuration.

Where is my chat history stored?

All conversations are automatically saved to chat_history.json. You can load previous chats or start a new chat from the GUI.

How do I exit the application?

Type quit, exit, or bye in the program to exit.

评论

AI 与智能体 分类下的更多 MCP 服务器