GitHub Stars
98
User Rating
Not Rated
Favorites
0
Views
41
Forks
13
Issues
0
Installation
Difficulty
IntermediateEstimated Time
10-20 minutes
Installation
Installation
Prerequisites
Please specify required software and versions:Node.js: 18.0.0 or higher
npm: 8.0.0 or higher
Ollama: Latest version
Installation Steps
1. Clone Repository
bash
git clone https://github.com/NightTrek/Ollama-mcp.git
cd Ollama-mcp
2. Install Dependencies
bash
pnpm install
3. Build the Server
bash
pnpm run build
4. Configure Claude Desktop
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"ollama": {
"command": "node",
"args": ["/path/to/ollama-server/build/index.js"],
"env": {
"OLLAMA_HOST": "http://127.0.0.1:11434"
}
}
}
}
5. Start Server
bash
npm start