Ollama MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Server port | 3456 |
| OLLAMA_API | 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_chatA | Chat with a model using conversation messages. Supports system messages, multi-turn conversations, tool calling, and generation options. |
| ollama_copyC | Copy a model. Creates a duplicate of an existing model with a new name. |
| ollama_createB | Create a new model with structured parameters. Allows customization of model behavior, system prompts, and templates. |
| ollama_deleteB | Delete a model from local storage. Removes the model and frees up disk space. |
| ollama_embedA | Generate embeddings for text input. Returns numerical vector representations. |
| ollama_generateA | Generate completion from a prompt. Simpler than chat, useful for single-turn completions. |
| ollama_listA | List all available Ollama models installed locally. Returns model names, sizes, and modification dates. |
| ollama_psB | List running models. Shows which models are currently loaded in memory. |
| ollama_pullB | Pull a model from the Ollama registry. Downloads the model to make it available locally. |
| ollama_pushB | Push a model to the Ollama registry. Uploads a local model to make it available remotely. |
| ollama_showA | Show detailed information about a specific model including modelfile, parameters, and architecture details. |
| ollama_web_fetchA | Fetch a web page by URL using Ollama's web fetch API. Returns the page title, content, and links. Requires OLLAMA_API_KEY environment variable. |
| ollama_web_searchA | Perform a web search using Ollama's web search API. Augments models with latest information to reduce hallucinations. Requires OLLAMA_API_KEY environment variable. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rawveg/ollama-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server