ollama-mcp-bridge

patruff
858
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

Overview

ollama-mcp-bridge Introduction

ollama-mcp-bridge is a TypeScript implementation that connects local Large Language Models (LLMs) via Ollama to Model Context Protocol (MCP) servers, enabling open-source models to utilize various tools and capabilities similar to Claude.

How to Use

To use ollama-mcp-bridge, first install Ollama and the required model using the command 'ollama pull qwen2.5-coder:7b-instruct'. Then, install the necessary MCP servers with npm commands for filesystem operations, Brave search, GitHub, and other integrations.

Key Features

Key features include multi-MCP support with dynamic tool routing, structured output validation for tool calls, automatic tool detection from user prompts, robust process management for Ollama, and detailed logging and error handling.

Where to Use

ollama-mcp-bridge can be used in various fields such as AI development, software engineering, data analysis, and any application requiring integration of local LLMs with external tools and services.

Use Cases

Use cases include creating powerful local AI assistants that can perform filesystem operations, conduct web searches, interact with GitHub, manage emails and files on Google Drive, and generate images.

Content