add-ollama-tool

Featured

Add Ollama MCP server so the container agent can call local models and optionally manage the Ollama model library.

AI & Automation 30,381 stars 12877 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add Ollama Integration This skill adds a stdio-based MCP server that exposes local [Ollama](https://ollama.com) models as tools for the container agent. Claude remains the orchestrator but can offload work to local models served by the Ollama daemon on the host, and can optionally manage the model library directly. Ollama runs locally and is keyless — there are no credentials to thread; the only configuration is the daemon's base URL. Core tools (always available): - `ollama_list_models` — list installed models with name, size, and family (`GET /api/tags`) - `ollama_generate` — send a prompt to a specified model and return the response (`POST /api/generate`) Management tools (opt-in via `OLLAMA_ADMIN_TOOLS=true`): - `ollama_pull_model` — pull (download) a model from the Ollama registry (`POST /api/pull`) - `ollama_delete_model` — delete a locally installed model to free disk space (`DELETE /api/delete`) - `ollama_show_model` — show model details: modelfile, parameters, and architecture info (`POST /api/show`) - `ollama_list_running` — list models currently loaded in memory with memory usage and processor type (`GET /api/ps`) The skill ships the MCP server source (and its tests) in this folder and copies them into the agent-runner tree at install time, then registers the server in `index.ts` and forwards host env vars in `container-runner.ts`. Registering the server is enough to expose its tools — the agent's allow-pattern (`mcp__ollama__*`) is derived from the registere...

Details

Author
nanocoai
Repository
nanocoai/nanoclaw
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category