Back to Home
flexnst icon

ollama-mcp-example

Verified Safe

by flexnst

Overview

Sets up a local LLM environment with Ollama, a web UI (Open-WebUI), and integrates Model Context Protocol (MCP) tools for enhanced LLM capabilities, such as web content retrieval.

Installation

Run Command
make init

Environment Variables

  • FETCH_USER_AGENT

Security Notes

The project leverages Docker for service isolation. However, several services are configured with broad `*` for CORS origins (`OLLAMA_ORIGINS: '*'`, `CORS_ORIGINS=*`, `--allow-origin=*`). While common for local development, this poses a security risk if the environment is exposed publicly. The `WEBUI_SECRET_KEY` for Open-WebUI is explicitly set to an empty string, which should be configured with a strong secret in a production environment for proper session management and security. No 'eval' or apparent malicious patterns were found in the provided code.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassLow
Avg Tokens750
Stars0
Forks0
Last Update2025-12-09

Tags

OllamaMCPLLMDockerOpen-WebUI