MCP directory
O/

Ollama / vLLM Bridge

by github.com/setheerwagen · v1.0.6 · updated Oct 22, 2026

Call your local Ollama or vLLM model over MCP with schema-validated JSON output

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx mcp-ollama-vllm==1.0.6

Environment variables

  • LOCAL_BACKEND

    Backend to use: ollama, vllm or openai

  • LOCAL_HOST

    Model endpoint URL; must be local or on your own network. Required for the openai backend

  • LOCAL_API_KEYsecret

    Optional bearer token, openai backend only; sent as a header, never logged

  • LOCAL_TIMEOUT

    Read timeout in seconds

  • LOCAL_EMBED_MODEL

    Default embedding model

  • LOCAL_EMBED_PATH

    Optional, openai backend only: embedding endpoint path

  • LOCAL_SCHEMA_MODE

    Optional, openai backend only: auto, response_format or none

More from github.com/setheerwagen

More MCP servers