Harness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved preferences.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add for-ollama -- uvx ollmcp~/.codex/config.toml
[mcp_servers.for-ollama]
command = "uvx"
args = ["ollmcp"]
# codex mcp add for-ollama -- uvx ollmcp~/.cursor/mcp.json
{
"mcpServers": {
"for-ollama": {
"command": "uvx",
"args": [
"ollmcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"for-ollama": {
"type": "stdio",
"command": "uvx",
"args": [
"ollmcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"for-ollama": {
"command": "uvx",
"args": [
"ollmcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"for-ollama": {
"command": "uvx",
"args": [
"ollmcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"for-ollama": {
"command": "uvx",
"args": [
"ollmcp"
]
}
}
}