MCP, MCP server
Mcp Ollama Python
Supercharge your AI assistant with local LLM access — run powerful AI models on your own computer, no internet required.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/mcp_ollama_python/scripts/mcp_interactive.py, line 313
response = httpx.get( - SECRETS_PATH_DOTENV Low
Mentions a .env file.
poetry.lock, line 1623
description = "Read key-value pairs from a .env file and set them as environment variables" - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
scripts/run_tests.py, line 73
result = subprocess.run(pytest_args, env=env, cwd=str(project_root), check=False) - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/mcp_ollama_python/ollama_client.py, line 56
self.api_key = api_key or os.getenv("OLLAMA_API_KEY")
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
scripts/run_tests.py, line 73
result = subprocess.run(pytest_args, env=env, cwd=str(project_root), check=False)
src/mcp_ollama_python/scripts/mcp_interactive.py, line 395
process = subprocess.Popen(
src/mcp_ollama_python/scripts/server_control.py, line 184
process = subprocess.Popen(
Show more
src/mcp_ollama_python/tools/execute.py, line 117
result = subprocess.run(
src/mcp_ollama_python/tools/execute.py, line 193
cmd = commands.get(language.lower())
docs/mcp_interactive.md, line 454
process = subprocess.Popen(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/mcp_ollama_python/scripts/mcp_interactive.py, line 313
response = httpx.get(
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/mcp_ollama_python/ollama_client.py, line 56
self.api_key = api_key or os.getenv("OLLAMA_API_KEY")
.gitignore, line 130
# Environments
poetry.lock, line 1623
description = "Read key-value pairs from a .env file and set them as environment variables"
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit cc0d25de2920. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: cc0d25de29204a924150e91a0c5f6e4524bd3129
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.