plugsday
Week 2 · November 9, 2026 / auto-ontology-mcp

auto-ontology-mcp

MCP serverPassed every check★ 225 · by @gogoymh

An MCP server that brings NVIDIA Auto Ontology's semantic layer to any MCP client. The client's model builds business Terms over a connected database and answers questions with validated, read-only SQL. It also keeps a personal knowledge base (records, concepts, passages, sources) with originals stored in an Obsidian vault.

See it on GitHub

What it can touch

files · read and writenetwork · github.comshell · nonesecrets · AUTO_ONTOLOGY_MCP_TOKEN
fileswrite, including database credentials embedded in datasource URLs, ~/.auto-ontology-mcp/ontology.db, ~/.auto-ontology-mcp/knowledge.sqlite, ~/.auto-ontology-mcp/wiki/knowledge/
networkgithub.com
shellnone
secretsAUTO_ONTOLOGY_MCP_TOKEN

What it actually does

The code matches the description. - **Database access:** It connects to user-registered SQLAlchemy datasources through read-only engines (SQLite mode=ro, Postgres default_transaction_read_only, DuckDB read_only, MySQL read-only session), and every transaction is rolled back. It scans schemas, profiles sampled rows and infers keys with containment probes. - **SQL checks:** It validates model-written SQL with a sqlglot guard and a catalog allow-list. - **Local writes:** It writes the ontology store (~/.auto-ontology-mcp/ontology.db) and the knowledge store (~/.auto-ontology-mcp/knowledge.sqlite). It also writes markdown notes into the vault folder, and copies local files the model names (absolute path, allowed extension, not hidden, up to 100 MB) into the vault. - **Transports:** By default it serves MCP over stdio. It can serve over HTTP with a shared token accepted as a Bearer header, a query parameter, or a URL path prefix. - **Not found in the files reviewed:** telemetry, credential harvesting, hidden instructions, persistence or shell execution. - **Not reviewed:** The core MCP surface (server.py, service.py, textindex.py, validation.py, wiki.py, store.py) was omitted from the bundle and could not be checked.

What the check found

mediumChanges the agent's instructions or settings

Editing CLAUDE.md, AGENTS.md, memory files, hooks or MCP settings lets a tool keep steering the agent even after it's removed.

README.md:245 Add to `~/.codex/config.toml`:

README.md:285 Add to `~/.cursor/mcp.json`:

README.md:302 Add to `.vscode/mcp.json`:

automated rule

mediumModel can copy arbitrary non-hidden local files into the vault

When saving a source, the model can pass original_file with any absolute path on the machine. If the file has an allowed extension (pdf, docx, csv, json, images and others) and no hidden path component, it is read and copied into the Obsidian vault. This fits the stated purpose and the copy stays local. However, a prompt-injected model could pull sensitive documents into the vault, and from there into tool output.

src/auto_ontology_mcp/vault.py:138 raw = Path(file).expanduser()

src/auto_ontology_mcp/vault.py:147 if any(part.startswith(".") for part in path.parts[1:]):

src/auto_ontology_mcp/vault.py:162 shutil.copyfile(path, target)

Claude review

mediumModel can register arbitrary datasources over MCP

add_datasource is exposed to the model by default and accepts any SQLAlchemy URL. This includes remote database hosts and local SQLite files, which are then scanned and sampled. Connections are read-only, but the server returns their data to the model. The README documents AUTO_ONTOLOGY_ALLOW_DATASOURCE_TOOLS=0 to turn this off.

README.md:368 You can also give the model a URL and let it call `add_datasource`. Any SQLAlchemy URL works:

src/auto_ontology_mcp/config.py:64 allow_datasource_tools=_bool("AUTO_ONTOLOGY_ALLOW_DATASOURCE_TOOLS", True),

Claude review

mediumDatabase passwords stored in plain text

Datasource URLs, passwords included, are normalized with the password kept and stored unencrypted in ontology.db. The README discloses this, and tool output masks the passwords.

src/auto_ontology_mcp/datasources.py:60 return parsed.render_as_string(hide_password=False)

README.md:600 > Datasource URLs, passwords included, are stored in plain text in `~/.auto-ontology-mcp/ontology.db`. Tool output masks them. Use a read-only database account,

Claude review

mediumModel can register and read any local SQLite file, and copy local files into the vault

add_datasource is exposed over MCP by default, so the agent can point a sqlite:/// URL at any database file on disk and query it read-only. original_file copies any absolute-path file with an allowed extension (.json, .csv, .txt and others) into the vault. Only hidden paths are refused. Both features fit the tool's purpose, but a prompt-injected agent, or a remote client in HTTP mode, could use them to read local data. AUTO_ONTOLOGY_ALLOW_DATASOURCE_TOOLS=0 turns off the datasource tools.

src/auto_ontology_mcp/config.py:64 allow_datasource_tools=_bool("AUTO_ONTOLOGY_ALLOW_DATASOURCE_TOOLS", True),

src/auto_ontology_mcp/vault.py:147 if any(part.startswith(".") for part in path.parts[1:]):

src/auto_ontology_mcp/vault.py:162 shutil.copyfile(path, target)

Claude review

mediumDatabase passwords stored in plain text

Datasource URLs, including passwords, are saved unencrypted in the local store. The README discloses this.

README.md:600 > Datasource URLs, passwords included, are stored in plain text in `~/.auto-ontology-mcp/ontology.db`. Tool output masks them. Use a read-only database account,

Claude review

Keep an eye on it

This check is of one commit. Watch auto-ontology-mcp and we'll email you if a later commit changes what it can touch.

Made this? Add the badge

Checked by Plugsday

[![Checked by Plugsday](https://plugsday.com/badge/gogoymh-auto-ontology-mcp.svg)](https://plugsday.com/tools/gogoymh-auto-ontology-mcp)

About this check

Checked November 9, 2026 at commit 3e53fc586cea, 48 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.