Localmodels

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 3, 2026

與本機 Ollama 伺服器互動:列出、拉取、檢查、產生、聊天和嵌入。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Talk to a local Ollama server: list, pull, inspect, generate, chat and embed.

已驗證STDIO僅桌面AI 與機器學習

概覽

Localmodels 的本機 MCP 服務;無需登入;STDIO。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Localmodels,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

localmodels

localmodels puts a locally running Ollama server behind an MCP interface (with a matching CLI). List what is installed, pull or remove models, inspect one, then generate, chat, or embed — all against models that run on your own machine.

There is no API key and no account. The server address comes from OLLAMA_HOST and defaults to http://127.0.0.1:11434. A value without a scheme gets http:// in front of it, and trailing slashes are ignored. If no Ollama server is reachable, calls fail with the underlying connection error — they never invent an empty result.

Install

bash
npx @reneturcios/localmodels listdocker run -i ghcr.io/cloudcorprecords/localmodels

In a container, point OLLAMA_HOST at the host (for example with host networking), since 127.0.0.1 inside the container is the container itself.

CLI

bash
localmodels listlocalmodels show llama3.2localmodels pull qwen2.5localmodels delete old:modellocalmodels copy llama3.2 my-llamalocalmodels generate llama3.2 "Write a haiku about autumn"localmodels chat llama3.2 "Hello!"localmodels embed nomic-embed-text "some text to embed"localmodels runninglocalmodels versionlocalmodels --version

Exit codes: 0 success, 1 server/lookup error, 2 usage error.

MCP server

bash
npx -y @reneturcios/localmodels mcp
json
{  "mcpServers": {    "localmodels": {      "command": "npx",      "args": ["-y", "@reneturcios/localmodels", "mcp"],      "env": { "OLLAMA_HOST": "http://127.0.0.1:11434" }    }  }}

The env block is optional; the default address is used without it.

Tools

ToolInputUpstream route
list_models—GET /api/tags
show_modelmodelPOST /api/show
pull_modelmodelPOST /api/pull (stream: false)
delete_modelmodelDELETE /api/delete
copy_modelsource, destinationPOST /api/copy
generate_completionmodel, prompt, system (optional)POST /api/generate (stream: false)
chat_completionmodel, messages (array of {role, content})POST /api/chat (stream: false)
create_embeddingmodel, inputPOST /api/embed
list_running_models—GET /api/ps
get_version—GET /api/version

Development

bash
npm installnpm run buildnpm testnpm run dev

Tests run entirely on fake-fetch fixtures; no live Ollama server is required or contacted.

License

MIT — see LICENSE.

來源:README.md,提交 6a22170

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Nov 3, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分