Skip to content

MCP server for connecting Claude Desktop to Ollama LLM server

Notifications You must be signed in to change notification settings

vincentf305/mcp-server-ollama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Server for Ollama

A Model Control Protocol server that allows Claude Desktop to communicate with Ollama LLM server.

Setup

  1. Clone the repository
  2. Copy .env.example to .env and configure as needed
  3. Install dependencies: pip install -r requirements.txt
  4. Run server: python -m src.mcp_server.server

Docker

Building and Running

docker build -t mcp-server-ollama .

Using with Claude Desktop

Edit the claude_desktop_config.json file with the following content:

{
  "mcpServers": {
    "ollama-server": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp-server-ollama"]
    }
  }
}

About

MCP server for connecting Claude Desktop to Ollama LLM server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published