
emgeee/mcp-ollama
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
emgeee/mcp-ollama는 MCP 서버 후보가 https://github.com/emgeee/mcp-ollama.에서 가져온
개요
emgeee/mcp-ollama는 MCP 서버 후보가 https://github.com/emgeee/mcp-ollama.에서 가져온
개요(AI 번역)
Claude Desktop 또는 기타 MCP 클라이언트와 Ollama를 통합하기위한 모델 Context Protocol (MCP) 서버.
요구 사항
- Python 3.10 이상
- Ollama 설치 및 실행 (https://ollama.com/download)]
- 적어도 하나의 모델은 Ollama (예 :,
ollama pull llama2)
Claude 데스크탑 구성
macOS에서 Claude 데스크톱 구성 (~/Library/Application Support/Claude/claude_desktop_config.json]에 추가, %APPDATA%\Claude\claude_desktop_config.json] Windows에서:
개발
개발 모드에서 설치:
MCP 검사기를 가진 시험:
특징
서버는 4개의 주요 도구를 제공합니다:
list_models- 모든 다운로드 Ollama 모델 목록show_model- 특정 모델에 대한 자세한 정보를 얻으십시오.ask_model- 지정된 모델에 대한 질문
라이센스
·
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
MCP Ollama
A Model Context Protocol (MCP) server for integrating Ollama with Claude Desktop or other MCP clients.
Requirements
- Python 3.10 or higher
- Ollama installed and running (https://ollama.com/download)
- At least one model pulled with Ollama (e.g.,
ollama pull llama2)
Configure Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"ollama": {
"command": "uvx",
"args": [
"mcp-ollama"
]
}
}
}
Development
Install in development mode:
git clone https://github.com/yourusername/mcp-ollama.git
cd mcp-ollama
uv sync
Test with MCP Inspector:
mcp dev src/mcp_ollama/server.py
Features
The server provides four main tools:
list_models- List all downloaded Ollama modelsshow_model- Get detailed information about a specific modelask_model- Ask a question to a specified model
License
MIT
설치
uvx mcp-ollama설정
{
"mcpServers": {
"ollama": {
"command": "uvx",
"args": [
"mcp-ollama"
]
}
}
}