MCP directory
LA

Local AI MCP

by github.com/TMHSDigital · v0.6.1 · updated Nov 3, 2026

Run, fit, and route work to local LLMs (Ollama, LM Studio, llama.cpp, MLX, vLLM, and more).

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @tmhs/[email protected]

Environment variables

  • OLLAMA_HOST

    Ollama base URL

  • LMSTUDIO_HOST

    LM Studio server base URL

  • LLAMACPP_HOST

    llama.cpp server (llama-server) base URL

  • DOCKER_MODEL_RUNNER_HOST

    Docker Model Runner host TCP endpoint

  • MLX_HOST

    mlx_lm.server base URL (opt-in; Apple Silicon)

  • VLLM_HOST

    vLLM OpenAI server base URL (opt-in)

  • VLLM_API_KEYsecret

    Bearer token for VLLM_HOST (when vLLM runs with --api-key)

  • FOUNDRY_LOCAL_HOST

    Foundry Local service URL (opt-in; port from `foundry service status`)

  • OPENAI_COMPAT_HOST

    Any OpenAI-compatible /v1 server (opt-in)

  • OPENAI_COMPAT_API_KEYsecret

    Bearer token for OPENAI_COMPAT_HOST

  • MOONSHOT_API_KEYsecret

    Moonshot AI (Kimi) key. Hosted: only used when named explicitly.

  • LOCAL_AI_ALLOW_HOSTED_FALLBACK

    Allow implicit routing to hosted providers (default: off)

  • MOONSHOT_HOST

    Moonshot API base URL

  • LOCAL_AI_DISABLE

    Comma-separated provider names to skip probing

  • LOCAL_AI_PROVIDERS

    JSON array of extra provider instances: {type, host, name?, apiKey?, kind?}

  • LOCAL_AI_DISABLE_NETWORK_SEARCH

    Keep search_models offline (catalog only)

  • LOCAL_AI_BENCHMARK_CACHE

    Benchmark results file used to rank delegate by measured speed (default: per-user cache dir; off disables)

More from github.com/TMHSDigital

More MCP servers