
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A Model Context Protocol server for Ollama integration offering async prompt execution, script templates, job management, and multi-agent workflows.
Ollama MCP Server is cataloged as an MCP server attributed to angrysky56. A Model Context Protocol server for Ollama integration offering async prompt execution, script templates, job management, and multi-agent workflows. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Same license terms as the MCP Python SDK. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Ollama MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the server works with any locally installed Ollama model, and a built-in prompt supports comparing multiple models.
It implements signal handling, background task tracking, automatic termination, and memory management to prevent process leaks.
README.md · 53c0f710c1a6 · 采集于 2026-11-13 10:29:59 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A comprehensive Model Context Protocol (MCP) server for Ollama integration with advanced features including script management, multi-agent workflows, and process leak prevention.
cd /path/to/ollama-mcp-server
uv venv --python 3.12 --seed
source .venv/bin/activate
uv add mcp[cli] python-dotenv
example_of_bad_ai_gen_mcp_config_do_not_use.json (Don't lol. Use the example_claude_desktop_config.json)to your Claude Desktop config file:~/.config/Claude/claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonUpdate paths in the config to match your system
Restart Claude Desktop
list_ollama_models - Show all available Ollama modelsrun_ollama_prompt - Execute prompts with any model (sync/async)get_job_status - Check job completion statuslist_jobs - View all running and completed jobscancel_job - Stop running jobssave_script - Create reusable prompt templateslist_scripts - View saved templatesget_script - Read template contentrun_script - Execute templates with variablescreate_fastagent_script - Single-agent scriptscreate_fastagent_workflow - Multi-agent workflowsrun_fastagent_script - Execute agent workflowslist_fastagent_scripts - View available workflowsrun_bash_command - Execute system commands safelyrun_workflow - Multi-step workflow executionInteractive prompts to guide common tasks:
ollama_guide - Interactive user guideollama_run_prompt - Simple prompt executionmodel_comparison - Compare multiple modelsfast_agent_workflow - Multi-agent workflowsscript_executor - Template executionbatch_processing - Multiple prompt processingiterative_refinement - Content improvement workflowsollama-mcp-server/
├── src/ollama_mcp_server/
│ └── server.py # Main server code
├── outputs/ # Generated output files
├── scripts/ # Saved script templates
├── workflows/ # Workflow definitions
├── fast-agent-scripts/ # Fast-agent Python scripts
├── prompts/ # Usage guides
│ ├── tool_usage_guide.md
│ ├── prompt_templates_guide.md
│ └── setup_guide.md
├── example_mcp_config.json # Claude Desktop config
└── README.md
cd ollama-mcp-server
uv run python -m ollama_mcp_server.server
mcp dev src/ollama_mcp_server/server.py
The server includes comprehensive process leak prevention:
Monitor health with:
ps aux | grep mcp | wc -l # Should show <10 processes
1. Use "ollama_run_prompt" prompt in Claude
2. Specify model and prompt text
3. Get immediate results
1. Use "fast_agent_workflow" prompt
2. Choose workflow type (chain/parallel/router/evaluator)
3. Define agents and initial prompt
4. Monitor execution
1. Create template with save_script
2. Use variables: {variable_name}
3. Execute with run_script
4. Pass JSON variables object
Model not found: Use list_ollama_models for exact names
Connection issues: Start Ollama with ollama serve
High process count: Server now prevents leaks automatically
Job stuck: Use cancel_job to stop problematic tasks
This project follows the same license terms as the MCP Python SDK.
Built on the Model Context Protocol and Ollama with process management patterns from MCP best practices.
Ready to get started? Check the prompts/setup_guide.md for detailed installation instructions!
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Ollama MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/ollama-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.