Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Ollama MCP server

by nighttrek/ollama-mcpNo licenceAudited 7 Oct 2026 · source a68540b923ce

npm ollama-mcp 0.1.0ssestdio★ 74
!CAUTIONGrade B · 86/100 · 7 Oct 2026 · a68540b
74GitHub stars

Is it safe? With care — CAUTION, grade B (86/100). It exposes 10 tools: 5 read, 4 write and 1 destructive. The audit recorded 6 findings (0 critical, 0 high, 2 medium, 4 low).

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Ollama MCP server (nighttrek/ollama-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/nighttrek/ollama-2

3 MCP servers are called Ollama. You are viewing nighttrek/ollama-mcp. Compare all 3 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score86/100!CAUTION B
0 critical0 high2 medium4 low0 info

6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 4 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner nighttrekUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmollama-mcp at version 0.1.0
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push21 months agoActivity of the repository when we read it.
  • Source commit reada68540b923ceThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory10 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (6)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · src/index.ts:20
F-04 Network egressCWE-200 · CWE-319Layer L1
const OLLAMA_HOST = process.env.OLLAMA_HOST || 'http://127.0.0.1:11434';
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
rm
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWNetwork egressnet.raw_ip · README.md:64
F-04 Network egressCWE-200 · CWE-319Layer L1
"OLLAMA_HOST": "http://127.0.0.1:11434"  // Optional: customize Ollama API endpoint
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:131
F-04 Network egressCWE-200 · CWE-319Layer L1
- `OLLAMA_HOST`: Configure custom Ollama API endpoint (default: http://127.0.0.1:11434)
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
axios, @types/node, typescript
Why
3 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

10 declared in source · 1 destructive

5 read4 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
rmdestructiveRemove a model
createwriteCreate a model from a Modelfile
pushwritePush a model to a registry
runwriteRun a model
servewriteStart Ollama server
chat_completionreadOpenAI-compatible chat completion API
cpreadCopy a model
listreadList models
pullreadPull a model from a registry
showreadShow information for a model

Install

Package version 0.1.0 · audited commit a68540b

Read the findings first. The most severe is Network egress (medium) at src/index.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.0. The audit covers commit a68540b only.

claude mcp add ollama-mcp -- npx -y [email protected]

The command pins the package version recorded in the source (0.1.0); the audit covers commit a68540b923ce. Transport: sse · stdio. No environment variables required.

Audit history

  1. !CAUTION B 86 / 100

    First audit · a68540b923ce

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Ollama MCP server

What tools does Ollama expose?
10 in total: 5 read-only, 4 that write, and 1 that can delete or overwrite (rm). Every one is listed on this page with its risk.
Is Ollama safe to connect to an agent?
With care. The audit graded it B (86/100) and found 6 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Ollama need?
No credential environment variables were found in its source, so it appears to need none.
How does Ollama run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as ollama-mcp at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (a68540b923ce), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Ollama MCP server is the right one?
emgeee/mcp-ollama. 3 servers share the name; see the side-by-side comparison.

Sources

  • nighttrek/ollama-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit a68540b923ceObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.