Skip to main content
Glama

Ollama MCP Server

by hyzhak

chat_completion

Generate text responses using OpenAI-compatible chat completion API. Supports multimodal inputs, including images, for vision-enabled AI models. Integrates locally with Ollama MCP Server for secure, private AI interactions.

Instructions

OpenAI-compatible chat completion API. Supports optional images per message for vision/multimodal models.

Input Schema

NameRequiredDescriptionDefault
messagesYes
modelYes
temperatureNo
thinkNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "messages": { "items": { "additionalProperties": false, "properties": { "content": { "type": "string" }, "images": { "items": { "type": "string" }, "type": "array" }, "role": { "enum": [ "system", "user", "assistant" ], "type": "string" } }, "required": [ "role", "content" ], "type": "object" }, "type": "array" }, "model": { "type": "string" }, "temperature": { "maximum": 2, "minimum": 0, "type": "number" }, "think": { "type": "boolean" } }, "required": [ "model", "messages" ], "type": "object" }
Install Server

Other Tools from Ollama MCP Server

Related Tools

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/hyzhak/ollama-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server