MCP.so
ログイン

Ollama MCP Server with

@angrysky56

基本情報

カテゴリ

AI とエージェント

トランスポート

stdio

作者

angrysky56

Ollama MCP Server with について

Use fast-agent to use MCP tools with local LLM, API or Claude Desktop. WIP

Ollama MCP Server with の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "ollama-mcp-server": {
      "command": "uv",
      "args": [
        "venv",
        "--python",
        "3.12",
        "--seed"
      ]
    }
  }
}

Ollama MCP Server with のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What are the prerequisites?

Python 3.8+ with the `uv` package manager, Ollama installed and running, and Claude Desktop for MCP integration.

2

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.

3

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.

4

How do I troubleshoot a stuck job?

Use the `cancel_job` tool to stop problematic tasks.

5

How do I connect to Ollama?

Ollama must be running locally; use `ollama serve` if needed. List available models with `list_ollama_models`.

コメント

「AI とエージェント」の他のコンテンツ