{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.TMHSDigital/local-ai-mcp",
  "slug": "io.github.tmhsdigital.local-ai-mcp",
  "title": "Local AI MCP",
  "summary": "Run, fit, and route work to local LLMs (Ollama, LM Studio, llama.cpp, MLX, vLLM, and more).",
  "version": "0.6.1",
  "serverKey": "local-ai-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.tmhsdigital.local-ai-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.tmhsdigital.local-ai-mcp/install.md",
  "trust": {
    "score": 93,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T19:58:23.452584143Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@tmhs/local-ai-mcp@0.6.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add local-ai-mcp -- npx -y @tmhs/local-ai-mcp@0.6.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"local-ai-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tmhs/local-ai-mcp@0.6.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"local-ai-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tmhs/local-ai-mcp@0.6.1\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"local-ai-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@tmhs/local-ai-mcp@0.6.1\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.local-ai-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@tmhs/local-ai-mcp@0.6.1\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "OLLAMA_HOST",
      "required": false,
      "secret": false,
      "description": "Ollama base URL",
      "help": "Ollama base URL",
      "default": "http://localhost:11434",
      "placeholder": "http://localhost:11434"
    },
    {
      "name": "LMSTUDIO_HOST",
      "required": false,
      "secret": false,
      "description": "LM Studio server base URL",
      "help": "LM Studio server base URL",
      "default": "http://localhost:1234",
      "placeholder": "http://localhost:1234"
    },
    {
      "name": "LLAMACPP_HOST",
      "required": false,
      "secret": false,
      "description": "llama.cpp server (llama-server) base URL",
      "help": "llama.cpp server (llama-server) base URL",
      "default": "http://localhost:8080",
      "placeholder": "http://localhost:8080"
    },
    {
      "name": "DOCKER_MODEL_RUNNER_HOST",
      "required": false,
      "secret": false,
      "description": "Docker Model Runner host TCP endpoint",
      "help": "Docker Model Runner host TCP endpoint",
      "default": "http://localhost:12434",
      "placeholder": "http://localhost:12434"
    },
    {
      "name": "MLX_HOST",
      "required": false,
      "secret": false,
      "description": "mlx_lm.server base URL (opt-in; Apple Silicon)",
      "help": "mlx_lm.server base URL (opt-in; Apple Silicon)",
      "placeholder": "<MLX_HOST>"
    },
    {
      "name": "VLLM_HOST",
      "required": false,
      "secret": false,
      "description": "vLLM OpenAI server base URL (opt-in)",
      "help": "vLLM OpenAI server base URL (opt-in)",
      "placeholder": "<VLLM_HOST>"
    },
    {
      "name": "VLLM_API_KEY",
      "required": false,
      "secret": true,
      "description": "Bearer token for VLLM_HOST (when vLLM runs with --api-key)",
      "help": "Bearer token for VLLM_HOST (when vLLM runs with --api-key)",
      "placeholder": "<VLLM_API_KEY>"
    },
    {
      "name": "FOUNDRY_LOCAL_HOST",
      "required": false,
      "secret": false,
      "description": "Foundry Local service URL (opt-in; port from `foundry service status`)",
      "help": "Foundry Local service URL (opt-in; port from `foundry service status`)",
      "placeholder": "<FOUNDRY_LOCAL_HOST>"
    },
    {
      "name": "OPENAI_COMPAT_HOST",
      "required": false,
      "secret": false,
      "description": "Any OpenAI-compatible /v1 server (opt-in)",
      "help": "Any OpenAI-compatible /v1 server (opt-in)",
      "placeholder": "<OPENAI_COMPAT_HOST>"
    },
    {
      "name": "OPENAI_COMPAT_API_KEY",
      "required": false,
      "secret": true,
      "description": "Bearer token for OPENAI_COMPAT_HOST",
      "help": "Bearer token for OPENAI_COMPAT_HOST",
      "placeholder": "<OPENAI_COMPAT_API_KEY>"
    },
    {
      "name": "MOONSHOT_API_KEY",
      "required": false,
      "secret": true,
      "description": "Moonshot AI (Kimi) key. Hosted: only used when named explicitly.",
      "help": "Moonshot AI (Kimi) key. Hosted: only used when named explicitly.",
      "placeholder": "<MOONSHOT_API_KEY>"
    },
    {
      "name": "LOCAL_AI_ALLOW_HOSTED_FALLBACK",
      "required": false,
      "secret": false,
      "description": "Allow implicit routing to hosted providers (default: off)",
      "help": "Allow implicit routing to hosted providers (default: off)",
      "placeholder": "<LOCAL_AI_ALLOW_HOSTED_FALLBACK>"
    },
    {
      "name": "MOONSHOT_HOST",
      "required": false,
      "secret": false,
      "description": "Moonshot API base URL",
      "help": "Moonshot API base URL",
      "default": "https://api.moonshot.ai/v1",
      "placeholder": "https://api.moonshot.ai/v1"
    },
    {
      "name": "LOCAL_AI_DISABLE",
      "required": false,
      "secret": false,
      "description": "Comma-separated provider names to skip probing",
      "help": "Comma-separated provider names to skip probing",
      "placeholder": "<LOCAL_AI_DISABLE>"
    },
    {
      "name": "LOCAL_AI_PROVIDERS",
      "required": false,
      "secret": false,
      "description": "JSON array of extra provider instances: {type, host, name?, apiKey?, kind?}",
      "help": "JSON array of extra provider instances: {type, host, name?, apiKey?, kind?}",
      "placeholder": "<LOCAL_AI_PROVIDERS>"
    },
    {
      "name": "LOCAL_AI_DISABLE_NETWORK_SEARCH",
      "required": false,
      "secret": false,
      "description": "Keep search_models offline (catalog only)",
      "help": "Keep search_models offline (catalog only)",
      "placeholder": "<LOCAL_AI_DISABLE_NETWORK_SEARCH>"
    },
    {
      "name": "LOCAL_AI_BENCHMARK_CACHE",
      "required": false,
      "secret": false,
      "description": "Benchmark results file used to rank delegate by measured speed (default: per-user cache dir; off disables)",
      "help": "Benchmark results file used to rank delegate by measured speed (default: per-user cache dir; off disables)",
      "placeholder": "<LOCAL_AI_BENCHMARK_CACHE>"
    }
  ],
  "expectedTools": [
    "list_providers",
    "list_models",
    "list_loaded",
    "model_info",
    "pull_model",
    "remove_model",
    "load_model",
    "unload_model",
    "ensure_model",
    "health_check",
    "system_resources",
    "fit_check",
    "benchmark",
    "search_available",
    "suggest_model",
    "search_models",
    "complete",
    "embed",
    "delegate"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: list_providers, list_models, list_loaded, model_info, pull_model, remove_model, load_model, unload_model, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:58:23.452584143Z"
}
