MCP Ollama Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
list_models

List all downloaded Ollama models

show_model

Get detailed information about a specific model

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

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