Ollama MCP Server with
@angrysky56
关于 Ollama MCP Server with
Use fast-agent to use MCP tools with local LLM, API or Claude Desktop. WIP
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ollama-mcp-server": {
"command": "uv",
"args": [
"venv",
"--python",
"3.12",
"--seed"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Ollama MCP Server?
Ollama MCP Server is a comprehensive Model Context Protocol (MCP) server for integrating Ollama with advanced features including script management, multi-agent workflows, and process leak prevention. It enables Claude Desktop to interact with locally installed Ollama models through MCP tools.
How to use Ollama MCP Server?
Install with Python 3.8+ and the uv package manager, then configure Claude Desktop using the provided example config file. After updating paths and restarting Claude Desktop, invoke tools like list_ollama_models or run_ollama_prompt directly from the Claude interface.
Key features of Ollama MCP Server
- Async job management for long-running tasks
- Script templates with variable substitution
- Multi-agent workflows: chain, parallel, router, evaluator
- Process leak prevention and resource cleanup
- Comprehensive job tracking and monitoring
- Support for any locally installed Ollama model
Use cases of Ollama MCP Server
- Execute prompts with any Ollama model synchronously or asynchronously
- Create and run reusable prompt templates with variables
- Coordinate multi-agent workflows like chain or parallel
- Compare multiple models side by side
- Batch process multiple prompts efficiently
FAQ from Ollama MCP Server
What are the prerequisites?
Python 3.8+ with the uv package manager, Ollama installed and running, and Claude Desktop for MCP integration.
How do I install the Ollama MCP Server?
Create a virtual environment, add mcp[cli] and python-dotenv, then configure Claude Desktop with the provided example config file and update paths.
What does the server do for process management?
It includes signal handling, background task tracking, resource cleanup, and automatic process termination to prevent process leaks.
How do I troubleshoot a stuck job?
Use the cancel_job tool to stop problematic tasks.
How do I connect to Ollama?
Ollama must be running locally; use ollama serve if needed. List available models with list_ollama_models.
AI 与智能体 分类下的更多 MCP 服务器
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
1MCP - One MCP Server for All
1mcp-appA unified Model Context Protocol server implementation that aggregates multiple MCP servers into one.
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
评论