探索
Ollama MCP Bridge WebUI

Ollama MCP Bridge WebUI

一个连接本地LLM与MCP服务器的TypeScript桥梁项目,提供Web界面使开源模型能使用类似Claude的工具能力,支持文件系统、网络搜索和复杂推理等功能。
2.5分
3
2025-04-28 17:40:27
概述
安装
内容详情
替代品

What is Ollama-MCP Bridge?

The Ollama-MCP Bridge is a TypeScript application that connects locally running language models (through Ollama) with various Model Context Protocol (MCP) servers. It provides a web interface that allows you to interact with open-source AI models while giving them access to powerful tools like filesystem operations, web search, and reasoning capabilities - similar to what commercial AI assistants offer.

How to use the Bridge?

After installation, you can access the web interface where you can chat with your local AI model. The system will automatically determine when to use tools like file access or web search based on your questions. You don't need to manually select tools - the AI will handle this intelligently.

Use Cases

Ideal for: 1) Privacy-conscious users who want AI assistance without cloud services, 2) Developers needing local AI with tool access, 3) Researchers experimenting with open-source models, 4) Anyone wanting to extend local AI capabilities with web search and file access.

Key Features

Multi-MCP IntegrationConnect and use multiple MCP servers simultaneously for different capabilities
Automatic Tool DetectionThe system intelligently selects the right tool based on your queries without manual intervention
Web InterfaceClean, user-friendly interface with collapsible tool descriptions and conversation history
Comprehensive ToolsetIncludes filesystem access, web search (via Brave), and advanced reasoning capabilities
Local OperationRuns entirely on your hardware with optional internet connectivity only for web searches

Pros and Cons

Advantages
Privacy: Your data stays on your local machine
Flexibility: Combine different tools as needed
Cost-effective: No API fees for local model use
Customizable: Adjust configuration to your needs
Offline capable: Most features work without internet
Limitations
Requires decent hardware to run local models effectively
Web search requires a Brave API key (free tier available)
Local models may be less capable than commercial cloud options
Initial setup requires some technical knowledge

Getting Started

Automatic InstallationRun the automatic installation script for easiest setup
Manual SetupIf you prefer manual control, follow these steps:
ConfigurationEdit the bridge_config.json and .env files to customize your setup
Running the BridgeStart the bridge and access the web interface

Example Uses

Research AssistanceFind and summarize recent information on a topic
File ManagementWork with local files through natural language
Complex Problem SolvingBreak down multi-step problems

Frequently Asked Questions

1
What models are supported?Any model that runs in Ollama. The default is Qwen, but you can configure others in bridge_config.json.
2
Do I need programming knowledge to use this?Basic setup requires some technical skills, but the web interface is designed for non-technical users once running.
3
How do I get a Brave API key?Sign up at brave.com/search/api - there's a free tier available for personal use.
4
Can I add my own tools?Yes, you can develop custom MCP servers and add them to the configuration.
5
Where are files stored?All files are kept in the workspace directory (../workspace by default) on your local machine.

Additional Resources

Ollama DocumentationOfficial documentation for Ollama
Model Context ProtocolMCP GitHub repository
Brave Search APISign up for Brave Search API keys
Qwen Model InfoDetails about the Qwen language models
精选MCP服务推荐
Duckduckgo MCP Server
已认证
DuckDuckGo搜索MCP服务器,为Claude等LLM提供网页搜索和内容抓取服务
Python
208
4.3分
Firecrawl MCP Server
Firecrawl MCP Server是一个集成Firecrawl网页抓取能力的模型上下文协议服务器,提供丰富的网页抓取、搜索和内容提取功能。
TypeScript
2,954
5分
Figma Context MCP
Framelink Figma MCP Server是一个为AI编程工具(如Cursor)提供Figma设计数据访问的服务器,通过简化Figma API响应,帮助AI更准确地实现设计到代码的一键转换。
TypeScript
6,098
4.5分
Exa Web Search
已认证
Exa MCP Server是一个为AI助手(如Claude)提供网络搜索功能的服务器,通过Exa AI搜索API实现实时、安全的网络信息获取。
TypeScript
1,426
5分
Edgeone Pages MCP Server
EdgeOne Pages MCP是一个通过MCP协议快速部署HTML内容到EdgeOne Pages并获取公开URL的服务
TypeScript
88
4.8分
Baidu Map
已认证
百度地图MCP Server是国内首个兼容MCP协议的地图服务,提供地理编码、路线规划等10个标准化API接口,支持Python和Typescript快速接入,赋能智能体实现地图相关功能。
Python
322
4.5分
Minimax MCP Server
MiniMax Model Context Protocol (MCP) 是一个官方服务器,支持与强大的文本转语音、视频/图像生成API交互,适用于多种客户端工具如Claude Desktop、Cursor等。
Python
362
4.8分
Context7
Context7 MCP是一个为AI编程助手提供实时、版本特定文档和代码示例的服务,通过Model Context Protocol直接集成到提示中,解决LLM使用过时信息的问题。
TypeScript
4,852
4.7分
安装
复制以下命令到你的Client进行配置
{
  "mcpServers": {
    "filesystem": {
      "command": "node",
      "args": [
        "To/Your/Directory/Ollama-MCP-Bridge-WebUI/node_modules/@modelcontextprotocol/server-filesystem/dist/index.js",
        "To/Your/Directory/Ollama-MCP-Bridge-WebUI/../workspace"
      ],
      "allowedDirectory": "To/Your/Directory/Ollama-MCP-Bridge-WebUI/../workspace"
    },
    "brave-search": {
      "command": "node",
      "args": [
        "To/Your/Directory/Ollama-MCP-Bridge-WebUI/node_modules/@modelcontextprotocol/server-brave-search/dist/index.js"
      ],
      "env": {
        "BRAVE_API_KEY": "$BRAVE_API_KEY"
      }
    },
    "sequential-thinking": {
      "command": "node",
      "args": [
        "To/Your/Directory/Ollama-MCP-Bridge-WebUI/node_modules/@modelcontextprotocol/server-sequential-thinking/dist/index.js"
      ]
    }
  },
  "llm": {
    "model": "qwen2.5-coder:7b-instruct-q4_K_M",
    "baseUrl": "http://localhost:11434",
    "apiKey": "ollama",
    "temperature": 0.7,
    "maxTokens": 8000
  },
  "systemPrompt": "You are a helpful assistant that can use various tools to help answer questions. You have access to three main tool groups: 1) Filesystem operations - for working with files and directories, 2) Brave search - for finding information on the web, 3) Sequential thinking for complex problem-solving. When a user asks a question that requires external information, real-time data, or file manipulation, you should use a tool rather than guessing or using only your pre-trained knowledge."
}
注意:您的密钥属于敏感信息,请勿与任何人分享。