Back to Home
devdarcom icon

ollama-mcp-server

Verified Safe

by devdarcom

Overview

Provides a Model Context Protocol (MCP) server for integrating local Ollama large language models and their capabilities with other applications.

Installation

Run Command
npx ollama-mcp-server

Security Notes

The server primarily acts as an adapter, communicating via standard I/O (stdio) rather than opening network ports, which reduces direct external attack surface. It relies on the '@modelcontextprotocol/sdk' and 'ollama' client library. Input validation for tool arguments is implicitly handled by the Zod schemas from the SDK (CallToolRequestSchema), although the internal handling uses `as any`, placing trust on the Ollama client library to safely process model inputs (e.g., prompts and messages) as data rather than executable code. No 'eval' or direct 'child_process' execution is visible in the provided source. No hardcoded credentials or obvious malicious patterns found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-01

Tags

OllamaLLMMCPTypeScriptAI/ML Integration