
vincentf305/mcp-server-ollama
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP-сервер для подключения Claude Desktop к серверу Ollama LLM
Обзор
Сервер протокола управления моделью, который позволяет Claude Desktop общаться с сервером Ollama LLM. 1. Clone the repository 2. Copy .env.example to .env and configure as needed 3. Установите зависимости: требования pip install -r. txt Отредактируйте файл claude desktop config.json со следующим содержимым, измените Path-to-mcp-сервер на Path of this repo:
Обзор (машинный перевод)
Сервер протокола управления моделью, который позволяет Claude Desktop общаться с сервером Ollama LLM.
Настройка
- Клонировать хранилище
- Копировать
.env.exampleв.envи настраивать по мере необходимости - Установить зависимости:
pip install -r requirements.txt
Использование с Claude Desktop
Редактируйте файл claude_desktop_config.json со следующим содержимым, меняйте Path-to-mcp-сервер на Path of this repo:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
MCP Server for Ollama
A Model Control Protocol server that allows Claude Desktop to communicate with Ollama LLM server.
Setup
- Clone the repository
- Copy
.env.exampleto.envand configure as needed - Install dependencies:
pip install -r requirements.txt
Using with Claude Desktop
Edit the claude_desktop_config.json file with the following content, change path-to-mcp-server to the path of this repo:
{
"mcpServers": {
"ollama-server": {
"command": "python",
"args": ["-m", "src.mcp_server.server"],
"env": {
"PYTHONPATH": "path-to-mcp-server"
}
}
}
}
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"ollama-server": {
"command": "python",
"args": ["-m", "src.mcp_server.server"],
"env": {
"PYTHONPATH": "path-to-mcp-server"
}
}
}
}