Skip to main content
MCP Server

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

Share
974 stars TypeScript MIT Updated: 2026-06-02

Send to Your Agent

Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.

Install the Ollama Mcp Bridge MCP server for me.

Server: Ollama Mcp Bridge
Description: Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Install command: npm install patruff/ollama-mcp-bridge

Environment variables needed:
- Set: `BRAVE_API_KEY` for Brave Search (required)
- Set: `GITHUB_PERSONAL_ACCESS_TOKEN` for GitHub (required)
- Set: `REPLICATE_API_TOKEN` for Flux (required)
- Run: Gmail/Drive MCP auth: `node path/to/gmail-drive/index.js auth` (required)
- For: example node C:\Users\patru\AppData\Roaming\npm\node_modules\@patruff\server-gmail-drive\dist\index.js auth (required)

GitHub: https://github.com/patruff/ollama-mcp-bridge

Please install this MCP server and confirm when ready.

Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.

Quick Install

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

  1. Open Claude Desktop app
  2. Go to Settings → Developer → Edit Config
  3. Paste the config below into the file
  4. Restart Claude Desktop
{
  "mcpServers": {
    "ollama-mcp-bridge": {
      "command": "npm",
      "args": [
        "install",
        "patruff/ollama-mcp-bridge"
      ],
      "env": {
        "Set": "value",
        "Run": "value",
        "For": "value"
      }
    }
  }
}

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json

Installation Methods

npm Install via npm
npm install patruff/ollama-mcp-bridge

Tools (3)

Email

operations: Detected by email addresses and keywords

Drive

operations: Detected by file/folder keywords

Search

operations: Contextually routed to appropriate search tool

Environment Variables

Set Required

`BRAVE_API_KEY` for Brave Search

Example: value
Set Required

`GITHUB_PERSONAL_ACCESS_TOKEN` for GitHub

Example: value
Set Required

`REPLICATE_API_TOKEN` for Flux

Example: value
Run Required

Gmail/Drive MCP auth: `node path/to/gmail-drive/index.js auth`

Example: value
For Required

example node C:\Users\patru\AppData\Roaming\npm\node_modules\@patruff\server-gmail-drive\dist\index.js auth

Example: value

Compatibility

Claude Desktop
Cursor
Cline
VS Code
Devin (formerly Windsurf)

About

MCP-LLM Bridge

Overview

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

Tools

  • Email: operations: Detected by email addresses and keywords
  • Drive: operations: Detected by file/folder keywords
  • Search: operations: Contextually routed to appropriate search tool

Environment Variables

  • Set: BRAVE_API_KEY for Brave Search (Required)
  • Set: GITHUB_PERSONAL_ACCESS_TOKEN for GitHub (Required)
  • Set: REPLICATE_API_TOKEN for Flux (Required)
  • Run: Gmail/Drive MCP auth: node path/to/gmail-drive/index.js auth (Required)
  • For: example node C:\Users\patru\AppData\Roaming\npm\node_modules@patruff\server-gmail-drive\dist\index.js auth (Required)

Installation

NPM

npm install patruff/ollama-mcp-bridge

Related Resources

Mcp

MCP Server

Catalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered data access and tool integration

MCP Tool Orchestrator

Prompt

Design and orchestrate complex multi-tool workflows using the Model Context Protocol (MCP). Build intelligent agent systems that coordinate multiple MCP servers for sophisticated automation tasks.

MCP Client Developer

Skill

Build Model Context Protocol clients to connect AI assistants with external tools and data sources. Master the protocol for seamless AI-tool integration.

MCP

Glossary

MCP stands for Model Context Protocol. It is an open standard that lets AI clients connect to external tools, data sources, and prompts through a single, consistent interface. Anthropic introduced MCP in late 2024, and it has since been adopted by Claude Desktop, Cursor, Cline, VS Code, Windsurf, and a growing list of community clients. An MCP server is a small program that exposes three things: tools the model can call, resources the client can read, and prompts that help users accomplish common tasks. An MCP client discovers those capabilities and decides when to invoke them. Transport is usually stdio for local servers or Server-Sent Events for remote ones. For developers, MCP removes the need to build a custom integration for every API. You write one server, and any compatible client can use it. For users, it means AI assistants can securely access files, databases, SaaS tools, and web services without each client reinventing the wheel.

MCP Registry Server

MCP Server

Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.

Compare LLM Pricing

This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.