MCP Ollama Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_BASE_URL | No | Ollama API endpoint | http://localhost:11434 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ollama_generateC | Generate a response from an Ollama model |
| ollama_chatB | Chat with an Ollama model (maintains conversation context) |
| ollama_listB | List available Ollama models |
| ollama_pullC | Pull/download a model from Ollama registry |
| ollama_deleteC | Delete a model from local storage |
| ollama_infoC | Get detailed information about a model |
| ollama_embeddingsC | Generate embeddings using an Ollama model |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool maps to a clearly distinct action: lifecycle operations (pull, delete, info, list) versus inference operations (generate, chat, embeddings). The only potentially confusable pair, generate vs chat, is explicitly differentiated by the 'maintains conversation context' note. An agent can select correctly from names alone.
Every tool uses the identical ollama_<verb> snake_case pattern with no deviations or mixed conventions. Names are short, predictable, and self-describing.
Seven tools is well within the ideal 3-15 range and covers both model management and inference without redundancy. No tool feels like filler or a near-duplicate of another.
The surface covers the full model lifecycle (pull, list, info, delete) plus all three primary inference modes (generate, chat, embeddings), which is solid core coverage. Minor gaps exist: no way to list running/loaded models, create a model from a Modelfile, copy, or push, but these are edge workflows agents can largely work around.