ollama-mcp-bridge

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

GitHub Stars

920

User Rating

Not Rated

Favorites

0

Views

7

Forks

105

Issues

17

Installation
Difficulty
Intermediate
Estimated 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. Install Ollama and required model

bash
ollama pull qwen2.5-coder:7b-instruct

2. Install MCP servers

bash
npm install -g @modelcontextprotocol/server-filesystem
npm install -g @modelcontextprotocol/server-brave-search
npm install -g @modelcontextprotocol/server-github
npm install -g @modelcontextprotocol/server-memory
npm install -g @patruff/server-flux
npm install -g @patruff/server-gmail-drive

3. Configure credentials

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

Troubleshooting

Common Issues

Issue: Server won't start Solution: Check Node.js version and reinstall dependencies. Issue: Ollama does not recognize the model Solution: Verify that the model name is correct.

Additional Resources

Author Information

0

Followers

0

Repositories

0

Gists

0

Total Contributions

Related MCPs
ollama-mcp-bridge logo

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

TypeScript
anytype-mcp logo

An MCP server enabling AI assistants to interact with Anytype - a local and collaborative wiki - to organize objects, lists, and more through natural language.

TypeScript
BifrostMCP logo

VSCode Extension with an MCP server that exposes semantic tools like Find Usages and Rename to LLMs

TypeScript