Skip to main content
Glama
MCP Ollama Server

MCP Ollama Server

by emgeee

MCP 올라마

Ollama를 Claude Desktop이나 다른 MCP 클라이언트와 통합하기 위한 MCP(Model Context Protocol) 서버입니다.

요구 사항

  • Python 3.10 이상

  • Ollama 설치 및 실행 중( https://ollama.com/download )

  • Ollama로 끌어온 모델이 최소 하나 이상 있음(예: ollama pull llama2 )

Claude Desktop 구성

Claude Desktop 구성에 다음을 추가합니다(macOS에서는 ~/Library/Application Support/Claude/claude_desktop_config.json , Windows에서는 %APPDATA%\Claude\claude_desktop_config.json ):

지엑스피1

개발

개발 모드로 설치:

git clone https://github.com/yourusername/mcp-ollama.git
cd mcp-ollama
uv sync

MCP Inspector로 테스트:

mcp dev src/mcp_ollama/server.py

Related MCP server: MCP Ollama

특징

서버는 4가지 주요 도구를 제공합니다.

  • list_models - 다운로드된 모든 Ollama 모델 나열

  • show_model - 특정 모델에 대한 자세한 정보를 가져옵니다.

  • ask_model - 지정된 모델에 질문하기

특허

MIT

Available Tools

3 tools
ask_modelA

Ask a question to a specific Ollama model

Args:
    model: Name of the model to use (e.g., 'llama2')
    question: The question to ask the model

Inputs: model (required), question (required).

list_modelsA

List all downloaded Ollama models

Inputs: no named parameters.

show_modelA

Get detailed information about a specific model

Args:
    name: Name of the model to show information about

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. 'ask_model' queries a model, 'list_models' enumerates available models, and 'show_model' provides metadata about a specific model. An agent can easily distinguish between these three distinct operations.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case. 'ask_model', 'list_models', and 'show_model' maintain perfect naming consistency throughout the set, making them predictable and readable.

    Tool Count3/5

    With only 3 tools, the server feels somewhat thin for interacting with Ollama models. While the tools cover basic operations, additional functionality like model management (e.g., pull, delete) or conversation history would be expected for a more complete surface.

    Completeness4/5

    The tools provide good coverage for core Ollama interactions: querying models, listing them, and getting details. However, there are minor gaps in model management operations (e.g., pulling new models, deleting models) that agents might need to work around for full lifecycle coverage.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables seamless integration between Ollama's local LLM models and MCP-compatible applications, supporting model management and chat interactions.
      13
      817 npm
      180
      AGPL 3.0
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP-compatible clients to access local or cloud LLMs, manage and run models, generate completions and embeddings, chat with tool/function support, and use web search/fetch through Ollama Cloud.
      817 npm
      AGPL 3.0