Ollama Hive MCP Server

by Algiras

309 downloads
Not rated
GitHub

Description

# Ollama Hive MCP Server A TypeScript-based Model Context Protocol (MCP) server that integrates with Ollama models using LangChain. This server provides tools and resources for querying local language models through a standardized MCP interface, with model-specific MCP server…

About

# Ollama Hive MCP Server A TypeScript-based Model Context Protocol (MCP) server that integrates with Ollama models using LangChain. This server provides tools and resources for querying local language models through a standardized MCP interface, with model-specific MCP server configurations. ## Features - **Model…

Details

Author
Algiras
Downloads
309
Categories
AI

- Model management: configure multiple Ollama models with per-model endpoints and settings.
- Model-specific MCP servers: each model can have its own set of MCP tools.
- Session management: conversation sessions for context continuity across queries.
- Environment variable support: override endpoints and configuration via environment variables.
- Stdio transport: standard input/output communication for seamless integration.
- Pre-loading: all models loaded at startup for quick responses.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Ollama Hive MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run directly via npx: npx ollama-hive-mcp-server. Optionally set MCP_CONFIG_PATH and environment overrides. For persistent installation, clone the repository, install dependencies, build, and start with npm start. The server exposes tools like query_model, test_model, get_model_info, and list_models.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "ollama hive mcp server": {
            "ollama-hive-mcp-server": {
                "command": "npx",
                "args": [
                    "ollama-hive-mcp-server"
                ]
            }
        }
    }
}

McpServers

{
    "ollama-hive-mcp-server": {
        "command": "npx",
        "args": [
            "ollama-hive-mcp-server"
        ]
    }
}

Ollama Hive MCP Server

A TypeScript-based Model Context Protocol (MCP) server that integrates with Ollama models using LangChain. This server provides tools and resources for querying local language models through a standardized MCP interface, with model-specific MCP server configurations.

Features

- Model Management: Configure and manage multiple Ollama models
- Model-Specific MCPs: Each model can have its own set of MCP servers
- Session Management: Conversation sessions for context continuity across multiple queries
- Environment Variable Support: Override endpoints and configuration via environment variables
- LangChain Integration: Leverage LangChain for model interactions
- Environment-based Configuration: Load configuration from MCP_CONFIG_PATH
- MCP Tools: Query models, test connectivity, and list available models
- MCP Resources: Access model configurations and metadata
- Stdio Transport: Standard input/output communication for seamless integration
- Pre-configured Models: Define models with their specific endpoints and settings
- Model Pre-loading: All models are loaded at startup for quick responses
- Performance Monitoring: Built-in response time tracking and status monitoring

Quick Start with NPX

Run the server directly with npx (no installation required):

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.