Ollama MCP Bridge MCP Server

<i>Provides an API layer in front of the Ollama API, seamlessly adding tools from multiple MCP servers so every Ollama request can access all

Remote serverstreamable-httpPython

What is the Ollama MCP Bridge MCP Server?

Provides an API layer in front of the Ollama API, seamlessly adding tools from multiple MCP servers so every Ollama request can access all connected tools

What you get

  • 🚀 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

Configuration and credentials

  • 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)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Ollama MCP Bridge MCP Server

{
  "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"]
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • 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)
VariableDescriptionRequired
MCP_LOG_LEVELConfiguration value read at startup.Optional
OLLAMA_URLEndpoint or connection string the server talks to.Yes
MY_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Ollama MCP Bridge to Ollama.”
  • “Use Ollama MCP Bridge to Bridge.”
  • “Use Ollama MCP Bridge to Testing.”

Frequently asked questions

<i>Provides an API layer in front of the Ollama API, seamlessly adding tools from multiple MCP servers so every Ollama request can access all connected tools Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.