Ollama MCP Bridge 标志

Ollama MCP Bridge

社区
jonigl

Extend the Ollama API with dynamic AI tool integration from multiple MCP (Model Context Protocol) servers. Fully compatible, transparent, and developer-friendly, ideal for building powerful local LLM applications, AI agents, and custom chatbots

发布者jonigl
代码仓库ollama-mcp-bridge
语言Python
复刻数
38
星标数
100
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Ollama MCP Bridge 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 100 个星标和 38 个复刻。

Ollama MCP Bridge

PyPI - Package Version CI Test Publish Publish Python 3.10+ License

📖 Full documentation: https://jonigl.github.io/ollama-mcp-bridge/

Installation, configuration reference, architecture notes and a code reference, all searchable.

Table of Contents

Features

  • 🚀 Pre-loaded Servers: All MCP servers are connected at startup from JSON configuration
  • 📝 JSON Configuration: Configure multiple servers with complex commands and environments
  • 🌐 Multiple Transport Types: Connect to MCP servers via stdio (local processes), HTTP (StreamableHTTP), or SSE
  • 🎯 Tool Filtering: Filter tools per server with include/exclude modes for fine-grained control
  • 🧩 Config Variable Expansion: Supports ${env:VAR_NAME} and ${workspaceFolder} in config strings
  • 🔗 Tool Integration: Automatic tool call processing and response integration
  • 🔄 Multi-Round Tool Execution: Automatically loops through multiple rounds of tool calls until completion
  • 🛡️ Configurable Tool Limits: Set maximum tool execution rounds to prevent excessive tool calls
  • 🛠️ All Tools Available: Ollama can use any tool from any connected server simultaneously
  • 🔌 Complete API Compatibility: /api/chat adds tools while all other Ollama API endpoints are transparently proxied
  • 🔧 Configurable Ollama: Specify custom Ollama server URL via CLI (supports local and cloud models)
  • 🔐 Optional Upstream Headers: Send fixed custom headers (e.g. an API key) with every request to the upstream server
  • ☁️ Cloud Model Support: Works with Ollama cloud models
  • 🔄 Version Check: Automatic check for newer versions with upgrade instructions
  • 🌊 Streaming Responses: Supports incremental streaming of responses to clients
  • 🤔 Thinking Mode: Proxies intermediate "thinking" messages from Ollama and MCP tools
  • ⚡️ FastAPI Backend: Modern async API with automatic documentation
  • 🏗️ Modular Architecture: Clean separation into CLI, API, and MCP management modules
  • 💻 Typer CLI: Clean command-line interface with configurable options
  • 📊 Structured Logging: Uses loguru for comprehensive logging
  • 📦 PyPI Package: Easily installable via pip or uv from PyPI
  • 🗣️ System Prompt Configuration: Allows setting a system prompt for the assistant's behavior
  • 🐳 Multi-Arch Docker Images ✨ NEW: Pre-built linux/amd64 and linux/arm64 images published to GitHub Container Registry on every release

Requirements

  • Python >= 3.10.15
  • Ollama server running (local or remote)
  • MCP server configuration file with at least one MCP server defined (see below for example)

Installation

You can install ollama-mcp-bridge in several ways, depending on your preference:

Quick Start

Install instantly with uvx:

bash
uvx ollama-mcp-bridge

Or, install from PyPI with pip

bash
pip install --upgrade ollama-mcp-bridge

Or, run with Docker Compose

bash
docker compose up

This uses the included docker-compose.yml file which:

  • Builds the bridge from source using the Dockerfile
  • Connects to Ollama running on the host machine (host.docker.internal:11434)
  • Maps the configuration file from ./mcp-config.json (includes mock weather server for demo)
  • Exposes port 8000 on the host
  • Allows all CORS origins (configurable via CORS_ORIGINS environment variable)
  • Supports configurable Ollama request timeouts via OLLAMA_PROXY_TIMEOUT

[!TIP] To skip the local build and use the pre-built image from GitHub Container Registry instead, replace the build: block in docker-compose.yml with:

yaml
image: ghcr.io/jonigl/ollama-mcp-bridge:latest

Or, run with Docker only

[!NOTE] ✨ NEW: Pre-built multi-arch Docker images (linux/amd64 and linux/arm64) are now published automatically to the GitHub Container Registry on every release. No local build required!

Pre-built multi-arch images (linux/amd64 and linux/arm64) are published to the GitHub Container Registry on every release. Available tags:

  • latest — most recent stable release
  • vX.Y.Z — specific version (e.g. v0.10.0)
  • sha-<commit> — exact commit SHA build
bash
docker run -p 8000:8000 \
  -e OLLAMA_URL=http://host.docker.internal:11434 \
  -v "$PWD/mcp-config.json:/mcp-config.json" \
  -v "$PWD/mock-weather-mcp-server:/mock-weather-mcp-server" \
  -w / \
  ghcr.io/jonigl/ollama-mcp-bridge:latest

Key flags:

  • -p 8000:8000 — exposes the bridge on your host at port 8000
  • -e OLLAMA_URL=http://host.docker.internal:11434 — routes Ollama traffic to the host machine (required on macOS and Windows; on Linux use --network host or the host's IP instead)
  • -v "$PWD/mcp-config.json:/mcp-config.json" — mounts your local config into the container
  • -v "$PWD/mock-weather-mcp-server:/mock-weather-mcp-server" — mounts the mock MCP server without :ro so uv can create its .venv inside the directory
  • -w / — sets the working directory to / so relative paths in mcp-config.json resolve correctly

[!NOTE] On Linux, host.docker.internal may not resolve automatically. Use --network host and keep OLLAMA_URL=http://localhost:11434, or replace it with your host's LAN IP.

Or, install from source

bash
# Clone the repository
git clone https://github.com/jonigl/ollama-mcp-bridge.git
cd ollama-mcp-bridge

# Start Ollama (if not already running)
ollama serve

# Run the bridge
uv run ollama-mcp-bridge

If you want to install the project in editable mode (for development):

bash
# Install the project in editable mode
uv tool install --editable .
# Run it like this:
ollama-mcp-bridge

How It Works

  1. Startup: All MCP servers defined in the configuration are loaded and connected
  2. Version Check: At startup, the bridge checks for newer versions and notifies if an update is available
  3. Tool Collection: Tools from all servers are collected and made available to Ollama
  4. Chat Completion Request (/api/chat endpoint only): When a chat completion request is received on /api/chat:
    • The request is forwarded to Ollama (local or cloud) along with the list of all available tools
    • If Ollama chooses to invoke any tools, those tool calls are executed through the corresponding MCP servers
    • Tool responses are fed back to Ollama
    • The process repeats in a loop until no more tool calls are needed
    • Responses stream to the client in real-time throughout the entire process
    • The final response (with all tool results integrated) is returned to the client
    • This is the only endpoint where MCP server tools are integrated.
  5. Other Endpoints: All other endpoints (except /api/chat, /health, and /version) are fully proxied to the underlying Ollama server with no modification.
  6. Logging: All operations are logged using loguru for debugging and monitoring

Configuration

MCP Servers Configuration

You can configure MCP servers in three ways:

  • Local process (stdio): {"command": "...", "args": [...], "env": {...}}
  • Remote endpoint (StreamableHTTP): {"url": "https://..."} - Uses StreamableHTTP by default
  • Remote endpoint (SSE): {"url": "https://.../sse"} - If the URL ends with /sse, the bridge connects via Server-Sent Events

Create an MCP configuration file at mcp-config.json with your servers:

json
{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "--directory",
        "./mock-weather-mcp-server",
        "run",
        "main.py"
      ],
      "env": {
        "MCP_LOG_LEVEL": "ERROR"
      },
      "toolFilter": {
        "mode": "include",
        "tools": ["get_current_temperature", "get_forecast"]
      }
    },
    "remote_streamable_http": {
      "url": "https://example.com/mcp"
    },
    "remote_sse": {
      "url": "https://example.com/sse"
    },
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/tmp"
      ],
      "toolFilter": {
        "mode": "exclude",
        "tools": ["delete_file", "write_file"]
      }
    }
  }
}

Tool Filtering

You can filter which tools from an MCP server are made available to Ollama using the optional toolFilter configuration:

  • toolFilter (optional): Object with filtering options
    • mode: Either "include" (allow-list) or "exclude" (deny-list). Defaults to "include" if not specified.
    • tools: Array of exact tool names to include or exclude

Behavior:

  • If toolFilter is not set or tools array is empty, all tools from the server are loaded (default behavior)
  • Include mode (allow-list): Only the tools listed in the tools array are made available. If a listed tool is not found on the server, a warning is logged but the server connection continues.
  • Exclude mode (deny-list): All tools except those listed in the tools array are made available. Listed tools are filtered out.
  • Tool names must match exactly (case-sensitive)
  • Invalid mode values cause the application to exit with an error message

Example with include mode (default):

json
{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": ["--directory", "./mock-weather-mcp-server", "run", "main.py"],
      "toolFilter": {
        "tools": ["get_current_temperature", "get_forecast"]
      }
    }
  }
}

Example with explicit modes:

json
{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": ["--directory", "./mock-weather-mcp-server", "run", "main.py"],
      "toolFilter": {
        "mode": "include",
        "tools": ["get_current_temperature"]
      }
    },
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"],
      "toolFilter": {
        "mode": "exclude",
        "tools": ["delete_file", "write_file"]
      }
    }
  }
}

Variable Expansion

The config also supports simple expansion in any string value:

  • ${workspaceFolder} resolves to the directory containing the config file
  • ${env:VAR_NAME} resolves to the corresponding environment variable

Example:

json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "${workspaceFolder}/data"
      ]
    },
    "remote_with_headers": {
      "url": "https://example.com/mcp",
      "headers": {
        "X-Client-Name": "ollama-mcp-bridge",
        "X-Request-Tag": "${env:MCP_REQUEST_TAG}"
      }
    }
  }
}

[!WARNING] Docker Command Limitations: When running in Docker, MCP servers should use commands available in the container:

  • ✅ npx for Node.js-based MCP servers
  • ✅ uvx for Python-based MCP servers
  • ✅ Direct executables in the container
  • ❌ docker commands (unless Docker-in-Docker is configured)
  • ❌ Local file paths from your host machine

CORS Configuration

Configure Cross-Origin Resource Sharing (CORS) to allow requests from your frontend applications:

bash
# Allow all origins (default, not recommended for production)
ollama-mcp-bridge

# Allow specific origins
CORS_ORIGINS="http://localhost:3000,https://myapp.com" ollama-mcp-bridge

# Allow multiple origins with different ports
CORS_ORIGINS="http://localhost:3000,http://localhost:8080,https://app.example.com" ollama-mcp-bridge

CORS Logging:

  • The bridge logs CORS configuration at startup
  • Shows warning when using * (all origins)
  • Shows allowed origins when properly configured

[!WARNING] Using CORS_ORIGINS="*" allows all origins and is not recommended for production. Always specify exact origins for security.

Environment Variables

  • CORS_ORIGINS: Comma-separated list of allowed origins (default: *)
    • * allows all origins (shows warning in logs)
    • Example: CORS_ORIGINS="http://localhost:3000,https://myapp.com" ollama-mcp-bridge
  • MAX_TOOL_ROUNDS: Maximum number of tool execution rounds (default: unlimited)
    • Can be overridden with --max-tool-rounds CLI parameter (CLI takes precedence)
    • Example: MAX_TOOL_ROUNDS=5 ollama-mcp-bridge
  • OLLAMA_URL: URL of the Ollama server (default: http://localhost:11434)
    • Can be overridden with --ollama-url CLI parameter
    • Useful for Docker deployments and configuration management
    • Example: OLLAMA_URL=http://192.168.1.100:11434 ollama-mcp-bridge
  • UPSTREAM_HEADERS: Optional JSON object of headers to send to the upstream server (e.g. for API key authentication)
    • These headers are not consumed by Ollama itself, but by whatever sits between the bridge and Ollama (reverse proxy / gateway / auth layer) — the upstream
    • Can be extended/overridden per-header with the repeatable --upstream-header CLI parameter (CLI takes precedence)
    • Useful for Docker deployments where headers shouldn't appear in the process list
    • Example: UPSTREAM_HEADERS='{"Authorization": "Bearer token123", "X-API-Key": "secret"}' ollama-mcp-bridge
  • OLLAMA_PROXY_TIMEOUT: Timeout for HTTP requests sent to Ollama, in milliseconds (default: unset)
    • When unset, the bridge keeps its existing behavior (some requests use library defaults; /api/chat is not timed out)
    • When set to a value > 0, the timeout is applied to Ollama-bound HTTP requests
    • When set to 0, timeouts are disabled for Ollama HTTP requests (the bridge logs a warning)
    • Streaming chat responses always use no timeout, even when this variable is set
    • Example (10 minutes): OLLAMA_PROXY_TIMEOUT=600000 ollama-mcp-bridge
  • SYSTEM_PROMPT: Optional system prompt to prepend to all forwarded /api/chat requests
    • Can be set via the SYSTEM_PROMPT environment variable or --system-prompt CLI flag
    • If provided, the bridge will prepend a system message (role: system) to the beginning of the messages array for /api/chat requests unless the request already starts with a system message.
    • Example: SYSTEM_PROMPT="You are a concise assistant." ollama-mcp-bridge

Usage

[!NOTE] An example MCP server script is provided at mock-weather-mcp-server/main.py.

Start the Server

bash
# Start with default settings (config: ./mcp-config.json, host: 0.0.0.0, port: 8000)
ollama-mcp-bridge

# Start with custom configuration file
ollama-mcp-bridge --config /path/to/custom-config.json

# Custom host and port
ollama-mcp-bridge --host 0.0.0.0 --port 8080

# Custom Ollama server URL (local or cloud)
ollama-mcp-bridge --ollama-url http://192.168.1.100:11434

# Send custom header(s) to the upstream server (repeatable, curl-style "Name: Value")
ollama-mcp-bridge --upstream-header "X-API-Key: your-key"
ollama-mcp-bridge --upstream-header "Authorization: Bearer xxx" --upstream-header "X-API-Key: yyy"

# Keep the secret out of your shell history by letting the shell expand an env var
ollama-mcp-bridge --upstream-header "Authorization: Bearer $MY_API_KEY"

# Limit tool execution rounds (prevents excessive tool calls)
ollama-mcp-bridge --max-tool-rounds 5

# Set a system prompt to prepend to all /api/chat requests
ollama-mcp-bridge --system-prompt "You are a concise assistant."

# Combine options
ollama-mcp-bridge --config custom.json --host 0.0.0.0 --port 8080 --ollama-url http://remote-ollama:11434 --max-tool-rounds 10

# Combine options with an upstream API key header
ollama-mcp-bridge --config custom.json --ollama-url http://remote-ollama:11434 --upstream-header "X-API-Key: your-key" --port 8080

# Check version and available updates
ollama-mcp-bridge --version

[!TIP] If using uvx to run the bridge, you have to specify the command as uvx ollama-mcp-bridge instead of just ollama-mcp-bridge.

[!NOTE] This bridge supports both streaming responses and thinking mode. You receive incremental responses as they are generated, with tool calls and intermediate thinking messages automatically proxied between Ollama and all connected MCP tools.

CLI Options

  • --config: Path to MCP configuration file (default: mcp-config.json)
  • --host: Host to bind the server (default: 0.0.0.0)
  • --port: Port to bind the server (default: 8000)
  • --ollama-url: Ollama server URL (default: http://localhost:11434)
  • --upstream-header: Header to send to the upstream server as "Name: Value" (repeatable; can also be set via the UPSTREAM_HEADERS env var)
  • --max-tool-rounds: Maximum tool execution rounds (default: unlimited)
  • --reload: Enable auto-reload during development
  • --version: Show version information, check for updates and exit
  • --system-prompt: Optional system prompt to prepend to /api/chat requests (default: none)

When configured, the custom upstream headers are added to bridge health checks and all requests that the bridge sends to the upstream server, including /api/chat and transparently proxied Ollama endpoints.

API Usage

The API is available at http://localhost:8000.

  • Swagger UI docs: http://localhost:8000/docs
  • Ollama-compatible endpoints:
    • POST /api/chat — Chat endpoint (same as Ollama API, but with MCP tool support)
      • This is the only endpoint where MCP server tools are integrated. All tool calls are handled and responses are merged transparently for the client.
    • All other endpoints (except /api/chat, /health, and /version) are fully proxied to the underlying Ollama server with no modification. You can use your existing Ollama clients and libraries as usual.
  • Bridge-specific endpoints:
    • GET /health — Health check endpoint (not proxied)
    • GET /version — Version information and update check

[!IMPORTANT] /api/chat is the only endpoint with MCP tool integration. All other endpoints are transparently proxied to Ollama. /health and /version are specific to the bridge.

This bridge acts as a drop-in proxy for the Ollama API, but with all MCP tools from all connected servers available to every /api/chat request. The bridge automatically handles multiple rounds of tool execution until completion, streaming responses in real-time. You can use your existing Ollama clients and libraries with both local and cloud Ollama models, just point them to this bridge instead of your Ollama server.

Example: Chat

bash
curl -N -X POST http://localhost:8000/api/chat \
  -H "accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3:0.6b",
    "messages": [
      {
        "role": "system",
        "content": "You are a weather assistant."
      },
      {
        "role": "user",
        "content": "What is the weather like in Paris today?"
      }
    ],
    "think": true,
    "stream": true,
    "options": {
      "temperature": 0.7,
      "top_p": 0.9
    }
  }'

[!TIP] Use /docs for interactive API exploration and testing.

Development

Key Dependencies

  • FastAPI: Modern web framework for the API
  • Typer: CLI framework for command-line interface
  • loguru: Structured logging throughout the application
  • ollama: Python client for Ollama communication
  • mcp: Model Context Protocol client library
  • pytest: Testing framework for API validation

Testing

The project has two types of tests:

Unit Tests (GitHub Actions compatible)

bash
# Install test dependencies
uv sync --extra test

# Run unit tests (no server required)
uv run pytest tests/test_unit.py -v

These tests check:

  • Configuration file loading
  • Module imports and initialization
  • Project structure
  • Tool definition formats

Integration Tests (require running services)

bash
# First, start the server in one terminal
ollama-mcp-bridge

# Then in another terminal, run the integration tests
uv run pytest tests/test_api.py -v

These tests check:

  • API endpoints with real HTTP requests
  • End-to-end functionality with Ollama
  • Tool calling and response integration

Manual Testing

bash
# Quick manual test with curl (server must be running)
curl -X GET "http://localhost:8000/health"

# Check version information and update status
curl -X GET "http://localhost:8000/version"

curl -X POST "http://localhost:8000/api/chat" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen3:0.6b", "messages": [{"role": "user", "content": "What tools are available?"}]}'

[!NOTE] Tests require the server to be running on localhost:8000. Make sure to start the server before running pytest.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for:

  • Development setup instructions
  • Code formatting guidelines (Black)
  • Testing procedures
  • Commit conventions

Related Projects

  • MCP Client for Ollama - A text-based user interface (TUI) client for interacting with MCP servers using Ollama. Features include multi-server support, dynamic model switching, streaming responses, tool management, human-in-the-loop capabilities, thinking mode, full model parameters configuration, custom system prompt and saved preferences. Built for developers working with local LLMs.

  • simple-ollama-chat – A simple, user-friendly chat client for Ollama that works seamlessly with the Ollama MCP Bridge. Lets you interact with models and use all MCP server tools integrated via the bridge, with a clean UI and easy setup. Ideal for quickly testing, chatting, and exploring tool-augmented LLMs through the bridge.

Inspiration and Credits

This project is based on the basic MCP client from my Medium article: Build an MCP Client in Minutes: Local AI Agents Just Got Real.

The inspiration to create this simple bridge came from this GitHub issue: jonigl/mcp-client-for-ollama#22, suggested by @nyomen.


Made with ❤️ by jonigl

将 Ollama MCP Bridge MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Ollama MCP Bridge 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Ollama MCP Bridge 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Ollama MCP Bridge MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "ollama-mcp-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Ollama MCP Bridge MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Ollama MCP Bridge MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Ollama MCP Bridge 帮我完成这项任务吗?
Ollama MCP Bridge
当然,我看过了。
以下是我使用 Ollama MCP Bridge 得到的结果。

常见问题

Ollama MCP Bridge MCP 服务器有什么用途?

Ollama MCP Bridge 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Ollama MCP Bridge MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Ollama MCP Bridge。

为什么在 TypingMind 中使用 Ollama MCP Bridge MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Ollama MCP Bridge 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Ollama MCP Bridge MCP 连接到 TypingMind?

Ollama MCP Bridge 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Ollama MCP Bridge MCP 在 TypingMind 中提供哪些工具?

Ollama MCP Bridge 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Ollama MCP Bridge MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Ollama MCP Bridge 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇