MCP client for ollama
MCP server by jonigl Verified · gh:jonigl
MCP Client for Ollama (ollmcp) is a terminal app that connects local Ollama models to one or more MCP servers. It is for users who want to run local LLMs with MCP tools and manage them without writing code.
Install MCP client for ollama
Built from the published package, never by AI.
claude mcp add mcp-client-for-ollama -- uvx mcp-client-for-ollamaRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-client-for-ollama": {
"args": [
"mcp-client-for-ollama"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP client for ollama in Claude Desktop
{
"mcpServers": {
"mcp-client-for-ollama": {
"args": [
"mcp-client-for-ollama"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-client-for-ollama": {
"args": [
"mcp-client-for-ollama"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-client-for-ollama -- uvx mcp-client-for-ollama{
"mcpServers": {
"mcp-client-for-ollama": {
"args": [
"mcp-client-for-ollama"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP client for ollama in Antigravity CLI
gemini mcp add mcp-client-for-ollama uvx mcp-client-for-ollamaGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-client-for-ollama block.
About
ollmcp is an interactive terminal application (TUI) that connects Ollama LLMs to Model Context Protocol (MCP) servers. It supports the core MCP primitives: tools, prompts and resources. It can connect to several servers at once using STDIO, SSE or Streamable HTTP, and it can hot-reload servers during development.
During a session, users can switch between installed Ollama models, adjust model parameters, edit the system prompt, and enable or disable tools or whole servers. Agent mode runs repeated tool calls with a configurable loop limit, and Human-in-the-Loop controls let users approve tool executions before they run. The project is aimed at developers, testers and anyone who wants to build, test or explore MCP servers with local models.
Written from the project's README and checked against it.
Tools it gives your assistant
Agent modeRuns iterative tool execution when a model requests multiple tool calls, with a configurable loop limit.Multi-server supportConnects to multiple MCP servers at the same time.Prompts and resourcesBrowses, invokes and reads MCP prompts and resources from connected servers.Human-in-the-loopLets users review and approve tool executions before they run.Model switchingSwitches between any installed Ollama model without restarting.Thinking modeShows reasoning output for supported models such as gpt-oss, deepseek-r1 and qwen3.Streaming responsesShows model output in real time as it is generated.Server reloadingHot-reloads MCP servers during development without restarting the client.
What you need
- Python 3.11 or newer
- Ollama running locally
- UV package manager
Try asking
- Use the connected MCP server to list the files in my project folder
- Switch to a different installed Ollama model and summarize this file
- Run the filesystem tool and ask me to approve each call before it runs
Good to know
- Requires Python 3.11 or newer.
- Thinking mode is available for supported models only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP client for ollama
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
MCP client for ollama: common questions
Does ollmcp work with Ollama models?
Yes. It connects to Ollama models, including Ollama Cloud models for tool calling, and lets you switch between installed models during a session.
Which MCP server transports are supported?
The source says ollmcp supports STDIO, SSE and Streamable HTTP server connections.
Can I approve tool calls before they run?
Yes. Human-in-the-Loop (HIL) tool execution lets you review and approve tool executions before they run.
How do I install MCP client for ollama?
In Claude Code run claude mcp add mcp-client-for-ollama -- uvx mcp-client-for-ollama. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP client for ollama the official server?
MCP client for ollama is published by gh:jonigl from its verified domain in the official MCP Registry.
Is MCP client for ollama free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP client for ollama safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP client for ollama?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does MCP client for ollama work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
