gogoymh/auto-ontology-mcp
NVIDIA Auto Ontology's semantic layer and a personal knowledge base as an MCP server for Claude, ChatGPT and other MCP clients. No LLM API key needed.
0ba68de5cf34auto-ontology-mcp0.6.1 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
Prompt Integrity is not analysed and has no number.
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Prompt Integrity: no tool description could be read from the code
- In 36 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 of 41 tools, prompts and resources could not be followed through the code
- 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 36 tools, 4 prompts, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
fetch, searchNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (41: 36 tools, 4 prompts, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
answer_questionprompt Answer a data question through the ontology.
Answer a data question through the ontology.
build_ontologyprompt Walk through modeling a datasource end to end.
Walk through modeling a datasource end to end.
rememberprompt Store what I shared (files, images, notes) in the knowledge store.
Store what I shared (files, images, notes) in the knowledge store.
review_ontologyprompt Find gaps and risks in the current ontology.
Find gaps and risks in the current ontology.
guideresource How to use this server.
How to use this server.
(name computed at run time)tool
No description.
add_datasourcetool Register a database by SQLAlchemy URL, test the connection and, by default, scan it. Use it only
Register a database by SQLAlchemy URL, test the connection and, by default, scan it. Use it only
when the user gives you a URL; never invent credentials. Connections are opened
read-only and nothing is ever written to the database. Re-using a name replaces that
datasource's URL. Fails with the driver or connection error if the database cannot
be reached; use scan_datasource to re-read one that is already registered.add_recordstool Store records in a knowledge entity (from receipts, statements, notes, logs the user shared), each
Store records in a knowledge entity (from receipts, statements, notes, logs the user shared), each
with its source, locator and supporting quote. The whole batch is validated first: values
are normalized ('12,000원' → 12000, '2026/10/03' → 2026-10-03), references resolved by id or
name (missing ones created), and if any record is invalid nothing is written and every
problem is listed. Records matching an existing one by key, or identical ones, update or are
skipped instead of duplicating. Use edit_records to change records by id.check_answerabletool Check, before any SQL, whether the ontology covers each entity of the question. Extract 1-5 entity
Check, before any SQL, whether the ontology covers each entity of the question. Extract 1-5 entity
phrases yourself and pass them; each comes back covered (by a Term, attribute or SQL
attribute), covered_by_value (a name stored in the data), weak, or not covered, with an
overall verdict and the next step. When something material is not covered, tell the user
instead of substituting a similar measure. Read-only and fast; use get_query_context next.check_readinesstool Report every datasource's state: whether SQL can run against it, how much is modeled (Terms,
Report every datasource's state: whether SQL can run against it, how much is modeled (Terms,
relationships, SQL attributes), knowledge store counts, and the next step. Call it first in
a session and whenever a question fails unexpectedly. Read-only.define_entitytool Create an entity in the personal knowledge store (a Term with its own table of records), add columns to it as you learn more, or delete it. Search first (search
Create an entity in the personal knowledge store (a Term with its own table of records), add columns to it as you learn more, or delete it. Search first (search_ontology or list_terms) and reuse an existing entity. Use entities for facts you will count, sum, filter or compare; use save_concept for definitions and explanations. Column types: text, integer, number, date, datetime, boolean, ref:<Entity> (a link that becomes a relationship). Names are snake_case English (pass table= when the entity name is not English); keys make re-adding a record update it. Existing column types cannot change. delete=true drops the entity; with force=true its records are deleted too, which cannot be undone. Then store rows with add_records.
describe_tabletool Return one physical table: every column (including ones no Term maps), keys, junction status, the
Return one physical table: every column (including ones no Term maps), keys, junction status, the
Terms and attributes on it, its relationships and SQL attributes. Use it to inspect a
table's structure; use get_term for business meaning and get_source for
provenance. Fails with suggestions if the table name is unknown. Read-only.edit_recordstool Update or delete knowledge records by id (find ids with run_sql or get_source). update sets the
Update or delete knowledge records by id (find ids with run_sql or get_source). update sets the
given columns and provenance fields. delete is permanent and is refused while other records
reference the rows; confirm with the user first. Use add_records to insert new records and
define_entity to change columns.export_ontologytool Return a datasource's whole semantic layer as one YAML or JSON document: tables, relationships,
Return a datasource's whole semantic layer as one YAML or JSON document: tables, relationships,
Terms with column mappings, SQL attributes, concepts and typed relations, glossary and
example queries. Use it for review, backup or moving the ontology; records in the knowledge
store are not included. Use export_wiki for an Obsidian view. Read-only.export_wikitool Write the ontology (by default the knowledge store) as Obsidian pages: one page per Term with
Write the ontology (by default the knowledge store) as Obsidian pages: one page per Term with
synonyms as aliases, relations as [[links]] and its passages, one per source with a link to
the original and its passages, plus index.md and log.md. The knowledge store goes to the
vault (AUTO_ONTOLOGY_VAULT/auto-ontology, or ~/.auto-ontology-mcp/wiki/knowledge), other
datasources to ~/.auto-ontology-mcp/wiki/<datasource>. Re-exporting rewrites and prunes only
pages it generated; originals and other files are never touched. Edits made in Obsidian are
not read back. Use export_ontology for a single YAML/JSON document.fetchtool Return the full text of one document returned by search: a Term (definition, body, attributes, SQLNetwork
Return the full text of one document returned by search: a Term (definition, body, attributes, SQL
attributes, relations, sources), a table, or a source. Read-only.find_join_pathtool Return the shortest chain of accepted relationships between two Terms or tables, with ON conditions,
Return the shortest chain of accepted relationships between two Terms or tables, with ON conditions,
a ready FROM/JOIN clause, fan-out warnings and other roles for the same hop (billing vs
delivery city). Use it when you need one specific route; get_query_context already includes
the path for a set of Terms. Reports found=false when no chain exists. Read-only.get_modeling_worklisttool Return the next tables that still have no business Terms, with what you need to name them: candidate
Return the next tables that still have no business Terms, with what you need to name them: candidate
columns (types, samples, uniqueness, formats), foreign keys and the Terms they point to, and
the modeling rules. Use it while building an ontology over a database; call save_table_terms
once per returned table and repeat until remaining is 0. After a re-scan it also returns
modeled tables that gained columns, with new_columns and current_terms: send current_terms
back with each new column added to its Term. For the personal knowledge store use
define_entity instead. Read-only.get_query_contexttool Return what you need to write the SQL for a set of Terms: qualified tables, mapped columns with
Return what you need to write the SQL for a set of Terms: qualified tables, mapped columns with
samples and formats, SQL attributes, the join path connecting them (with a ready FROM/JOIN
clause and role notes), verified example queries, glossary and the dialect's SQL rules. Call
it after check_answerable with the Terms you will use. Unknown Terms are listed under
unresolved with suggestions; if none resolve, it fails. Read-only.get_sourcetool Show one source (by id or part of its title) with its summary, content and the path of its
Show one source (by id or part of its title) with its summary, content and the path of its
original in the Obsidian vault, and everything stored from it: records per entity, concepts,
relations and passages. Use it to cite where an answer came from or to review what a document
contributed; use search_text to find sources by their words. Read-only.get_termtool Return one Term in full: definition, status, synonyms, body, mapped columns with sample values and
Return one Term in full: definition, status, synonyms, body, mapped columns with sample values and
formats, SQL attributes, related Terms with join conditions, typed relations and sources,
plus record counts for knowledge entities. Accepts a name, synonym or id; if nothing
matches, the error lists the closest Terms. Use it to answer 'what is X' and before writing
SQL about X; use search_ontology when you do not know the name and describe_table for a
physical table. Read-only.import_ontologytool Apply a document produced by export_ontology to a datasource that has been scanned, matching tables
Apply a document produced by export_ontology to a datasource that has been scanned, matching tables
and columns by name. Existing items with the same names are updated; a table's Terms are
replaced as in save_table_terms. Items that fail (missing tables or columns, invalid SQL)
are skipped and listed while the rest is applied, so the result can be partial. Knowledge
entities are recreated empty when their tables are missing; records are not imported.list_relationshipstool List joins between tables with their evidence (declared, inferred with name score and value
List joins between tables with their evidence (declared, inferred with name score and value
containment, or added manually), plus multi-role joins, identifier columns with no
relationship, and joins used by executed queries that are not relationships yet. Use it to
review the join graph before modeling or when a join looks wrong; act on it with
set_relationship. Use find_join_path for the route between two Terms. Read-only.list_termstool List every Term of a datasource (the index): entities and concepts with their one-line definition,
List every Term of a datasource (the index): entities and concepts with their one-line definition,
status, synonyms, record and relation counts, and which concepts are still empty. Use it to
browse or before adding knowledge, to reuse Terms instead of creating near-duplicates; use
search_ontology to find Terms by words and get_term for one Term's full detail. Read-only.lookup_valuestool Return real values stored in a column ('table.column'): matches for a case-insensitive text, close
Return real values stored in a column ('table.column'): matches for a case-insensitive text, close
spellings when nothing matches, or the most common values with their counts. Use it to
ground literal filters (a place, product or status) before writing them into SQL. Read-only.recent_changestool List recent changes across the ontology and knowledge store (the log), newest first: Terms, records,
List recent changes across the ontology and knowledge store (the log), newest first: Terms, records,
concepts, relationships and SQL attributes added, changed, certified or deleted. Use it to
answer 'what did I add lately' or to review a session's work. Read-only.run_sqltool Execute one read-only SELECT and return columns, rows, row_count and truncated, plus the Terms it
Execute one read-only SELECT and return columns, rows, row_count and truncated, plus the Terms it
used and warnings (including percent-vs-fraction thresholds). Use it after validate_sql. Writes, DDL, multiple statements and tables
outside the catalog are refused, and the connection itself is read-only. The query is logged
with the question for provenance. Show the SQL with the answer and say when rows are
truncated.save_concepttool Create or update a concept: a Term with a one-line definition, a markdown body (a wiki page) and
Create or update a concept: a Term with a one-line definition, a markdown body (a wiki page) and
typed relations (is_a, part_of, related_to, ...) to other Terms, with its source. Use it for
ideas and explanations; use define_entity and add_records for countable facts. Also works on
existing entity Terms to explain them. body replaces the page and append_body adds to it;
relation targets that do not exist yet are created as empty concepts. Changing a certified
concept's meaning returns it to draft.save_example_querytool Store a question and SQL pair the user confirmed as correct. Later, get_query_context offers it for
Store a question and SQL pair the user confirmed as correct. Later, get_query_context offers it for
similar questions and suggest_sql_attributes mines it. Saving the same question again
replaces its SQL. The SQL must validate, or nothing is saved.save_glossarytool Add, update or delete glossary entries for abbreviations and jargon (MRR → monthly recurring
Add, update or delete glossary entries for abbreviations and jargon (MRR → monthly recurring
revenue), per datasource or global. Entries are searched like Terms and returned by
get_query_context. Use it for words to expand, not for business definitions with columns,
which are Terms. Deleted entries are gone.save_passagestool Save excerpts and section summaries of one source (an article, paper, book chapter, meeting
Save excerpts and section summaries of one source (an article, paper, book chapter, meeting
note) so they can be searched with search_text and cited, each with its heading or locator in
the original and the Terms it is about. The full original stays in the Obsidian vault: point
the source at a note already there (source.original), or pass source.original_text or
source.original_file to keep it there. Keep one idea per passage. A passage with the same text
from the same source updates instead of duplicating; delete_ids removes passages. When the
document changed, save the source again (same uri or id) with the new original and call this
with replace=true and every passage of the new version: unchanged passages keep their ids, and
get_source shows the records and concepts to check next. Use add_records for countable facts
and save_concept for definitions.save_sql_attributetool Create, update, certify or delete a named SQL expression under a Term. Before saving, the expression
Create, update, certify or delete a named SQL expression under a Term. Before saving, the expression
is run read-only against the database (a fragment over the Term's table, or a full SELECT
for join/query kinds); if the database rejects it, nothing is saved and the error is
returned. Changing a certified attribute's expression returns it to draft. delete=true
removes it permanently. Use suggest_sql_attributes to find candidates.save_table_termstool Save the Terms you propose for one database table and map its columns to them. Use it for tables
Save the Terms you propose for one database table and map its columns to them. Use it for tables
returned by get_modeling_worklist; use update_term to edit a single Term afterwards. It
replaces the table's previous Terms: same-named Terms are updated, others are removed unless
they own SQL attributes. Unassigned candidate columns go to the first Term. Nothing is saved
if a column is unknown, assigned twice, or a name clashes with another table's Term; the
error lists every problem. New Terms are drafts.scan_datasourcetool Re-read a registered database: tables, columns, declared keys, column profiles (samples,
Re-read a registered database: tables, columns, declared keys, column profiles (samples,
uniqueness, formats, small value sets) and undeclared keys inferred by name and
confirmed by value containment. Use it after the schema changed or to refresh
profiles; add_datasource already scans once. Terms, reviewed relationships and SQL
attributes are kept; inferred relationships that lost their evidence are removed.
Reports new tables and columns added to modeled tables; get_modeling_worklist returns
both. Reads the database only.searchtool Search Terms, tables and sources across all datasources and return ids for fetch. Intended forNetwork
Search Terms, tables and sources across all datasources and return ids for fetch. Intended for
ChatGPT connectors and deep research; other clients should prefer search_ontology.
Read-only.search_ontologytool Find Terms, concepts (including their bodies and relations), mapped columns, SQL attributes,
Find Terms, concepts (including their bodies and relations), mapped columns, SQL attributes,
glossary entries, verified example questions, sources and unmodeled tables by words. In the
knowledge store it also matches records by their stored text ('value' hits) and adds the top
full-text hits from passages, bodies and sources ('text_hits'). Use it to locate things by name
or topic; use search_text to search the text itself, list_terms to browse everything and
get_term for full detail. Matching is lexical, not semantic: use the schema's vocabulary, try
synonyms and translate. Read-only.search_texttool Search the text of the knowledge store: passages, Term definitions and bodies, and sources.
Search the text of the knowledge store: passages, Term definitions and bodies, and sources.
Returns ranked hits (bm25) with the matching words in [brackets], the heading or locator, the
Terms each passage is about and a [[link]] to the original in Obsidian. Words match with their
Korean particles (기억 finds 기억을) and inside compounds. Also returns the FTS query and a SQL
example, so you can combine the search with records, relations and sources in one run_sql:
passages_fts MATCH ... joined to passages, passage_terms, terms, term_relations and sources.
Read-only.set_relationshiptool Change one join between two columns: accept or reject a proposed one, add a missing one, update its
Change one join between two columns: accept or reject a proposed one, add a missing one, update its
role, description or default flag, or delete it. Use it after list_relationships. Identify
it by relationship_id or by source and target ('table.column'). Reviewed relationships
survive re-scans; only accepted ones are used for join paths. delete removes it permanently;
rejecting keeps the decision instead. Fails if the columns or relationship do not exist.suggest_sql_attributestool Return candidate SQL attributes (reusable measures, filters and join patterns) mined from queries
Return candidate SQL attributes (reusable measures, filters and join patterns) mined from queries
run through this server, verified examples, bridge tables and column profiles, with the
rules for judging them. Use it after Terms exist; save the worthwhile ones with
save_sql_attribute and ignore the rest. Read-only.update_termtool Edit one existing Term: rename it, change its description or synonyms, rename or describe its mapped
Edit one existing Term: rename it, change its description or synonyms, rename or describe its mapped
columns, set its status, or delete it. Use add_synonyms to record the user's own words so
searches match them. Changing a certified Term's name or description returns it to draft
unless you also pass status; only certify what the user confirmed. delete=true removes the
Term with its column mappings, SQL attributes and relations and cannot be undone; knowledge
entities must be deleted with define_entity. For concept bodies and relations use
save_concept.validate_sqltool Check one query without returning rows: read-only guard, unknown tables or columns (with the
Check one query without returning rows: read-only guard, unknown tables or columns (with the
ontology's name for them), joins the ontology does not know or that use a non-default role,
near-miss literals, percent-vs-fraction thresholds, one-to-many fan-out under SUM/AVG/COUNT,
and a dry run; also which Terms it relies on and whether they are certified. Pass the question
to have a percentage it states ("below 0.18%") checked against the column's scale. Use it before
run_sql and fix every error. Read-only.Text the model reads (41)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
check_readiness tool
Report every datasource's state: whether SQL can run against it, how much is modeled (Terms,
relationships, SQL attributes), knowledge store counts, and the next step. Call it first in
a session and whenever a question fails unexpectedly. Read-only.add_datasource tool
Register a database by SQLAlchemy URL, test the connection and, by default, scan it. Use it only
when the user gives you a URL; never invent credentials. Connections are opened
read-only and nothing is ever written to the database. Re-using a name replaces that
datasource's URL. Fails with the driver or connection error if the database cannot
be reached; use scan_datasource to re-read one that is already registered.scan_datasource tool
Re-read a registered database: tables, columns, declared keys, column profiles (samples,
uniqueness, formats, small value sets) and undeclared keys inferred by name and
confirmed by value containment. Use it after the schema changed or to refresh
profiles; add_datasource already scans once. Terms, reviewed relationships and SQL
attributes are kept; inferred relationships that lost their evidence are removed.
Reports new tables and columns added to modeled tables; get_modeling_worklist returns
both. Reads the database only.get_modeling_worklist tool
Return the next tables that still have no business Terms, with what you need to name them: candidate
columns (types, samples, uniqueness, formats), foreign keys and the Terms they point to, and
the modeling rules. Use it while building an ontology over a database; call save_table_terms
once per returned table and repeat until remaining is 0. After a re-scan it also returns
modeled tables that gained columns, with new_columns and current_terms: send current_terms
back with each new column added to its Term. For the personal knowledge store use
define_entity instead. Read-only.save_table_terms tool
Save the Terms you propose for one database table and map its columns to them. Use it for tables
returned by get_modeling_worklist; use update_term to edit a single Term afterwards. It
replaces the table's previous Terms: same-named Terms are updated, others are removed unless
they own SQL attributes. Unassigned candidate columns go to the first Term. Nothing is saved
if a column is unknown, assigned twice, or a name clashes with another table's Term; the
error lists every problem. New Terms are drafts.list_relationships tool
List joins between tables with their evidence (declared, inferred with name score and value
containment, or added manually), plus multi-role joins, identifier columns with no
relationship, and joins used by executed queries that are not relationships yet. Use it to
review the join graph before modeling or when a join looks wrong; act on it with
set_relationship. Use find_join_path for the route between two Terms. Read-only.set_relationship tool
Change one join between two columns: accept or reject a proposed one, add a missing one, update its
role, description or default flag, or delete it. Use it after list_relationships. Identify
it by relationship_id or by source and target ('table.column'). Reviewed relationships
survive re-scans; only accepted ones are used for join paths. delete removes it permanently;
rejecting keeps the decision instead. Fails if the columns or relationship do not exist.suggest_sql_attributes tool
Return candidate SQL attributes (reusable measures, filters and join patterns) mined from queries
run through this server, verified examples, bridge tables and column profiles, with the
rules for judging them. Use it after Terms exist; save the worthwhile ones with
save_sql_attribute and ignore the rest. Read-only.save_sql_attribute tool
Create, update, certify or delete a named SQL expression under a Term. Before saving, the expression
is run read-only against the database (a fragment over the Term's table, or a full SELECT
for join/query kinds); if the database rejects it, nothing is saved and the error is
returned. Changing a certified attribute's expression returns it to draft. delete=true
removes it permanently. Use suggest_sql_attributes to find candidates.update_term tool
Edit one existing Term: rename it, change its description or synonyms, rename or describe its mapped
columns, set its status, or delete it. Use add_synonyms to record the user's own words so
searches match them. Changing a certified Term's name or description returns it to draft
unless you also pass status; only certify what the user confirmed. delete=true removes the
Term with its column mappings, SQL attributes and relations and cannot be undone; knowledge
entities must be deleted with define_entity. For concept bodies and relations use
save_concept.save_glossary tool
Add, update or delete glossary entries for abbreviations and jargon (MRR → monthly recurring
revenue), per datasource or global. Entries are searched like Terms and returned by
get_query_context. Use it for words to expand, not for business definitions with columns,
which are Terms. Deleted entries are gone.define_entity tool
Create an entity in the personal knowledge store (a Term with its own table of records), add columns to it as you learn more, or delete it. Search first (search_ontology or list_terms) and reuse an existing entity. Use entities for facts you will count, sum, filter or compare; use save_concept for definitions and explanations. Column types: text, integer, number, date, datetime, boolean, ref:<Entity> (a link that becomes a relationship). Names are snake_case English (pass table= when the entity name is not English); keys make re-adding a record update it. Existing column types cannot change. delete=true drops the entity; with force=true its records are deleted too, which cannot be undone. Then store rows with add_records.
add_records tool
Store records in a knowledge entity (from receipts, statements, notes, logs the user shared), each
with its source, locator and supporting quote. The whole batch is validated first: values
are normalized ('12,000원' → 12000, '2026/10/03' → 2026-10-03), references resolved by id or
name (missing ones created), and if any record is invalid nothing is written and every
problem is listed. Records matching an existing one by key, or identical ones, update or are
skipped instead of duplicating. Use edit_records to change records by id.edit_records tool
Update or delete knowledge records by id (find ids with run_sql or get_source). update sets the
given columns and provenance fields. delete is permanent and is refused while other records
reference the rows; confirm with the user first. Use add_records to insert new records and
define_entity to change columns.save_concept tool
Create or update a concept: a Term with a one-line definition, a markdown body (a wiki page) and
typed relations (is_a, part_of, related_to, ...) to other Terms, with its source. Use it for
ideas and explanations; use define_entity and add_records for countable facts. Also works on
existing entity Terms to explain them. body replaces the page and append_body adds to it;
relation targets that do not exist yet are created as empty concepts. Changing a certified
concept's meaning returns it to draft.save_passages tool
Save excerpts and section summaries of one source (an article, paper, book chapter, meeting
note) so they can be searched with search_text and cited, each with its heading or locator in
the original and the Terms it is about. The full original stays in the Obsidian vault: point
the source at a note already there (source.original), or pass source.original_text or
source.original_file to keep it there. Keep one idea per passage. A passage with the same text
from the same source updates instead of duplicating; delete_ids removes passages. When the
document changed, save the source again (same uri or id) with the new original and call this
with replace=true and every passage of the new version: unchanged passages keep their ids, and
get_source shows the records and concepts to check next. Use add_records for countable facts
and save_concept for definitions.search_text tool
Search the text of the knowledge store: passages, Term definitions and bodies, and sources.
Returns ranked hits (bm25) with the matching words in [brackets], the heading or locator, the
Terms each passage is about and a [[link]] to the original in Obsidian. Words match with their
Korean particles (기억 finds 기억을) and inside compounds. Also returns the FTS query and a SQL
example, so you can combine the search with records, relations and sources in one run_sql:
passages_fts MATCH ... joined to passages, passage_terms, terms, term_relations and sources.
Read-only.get_source tool
Show one source (by id or part of its title) with its summary, content and the path of its
original in the Obsidian vault, and everything stored from it: records per entity, concepts,
relations and passages. Use it to cite where an answer came from or to review what a document
contributed; use search_text to find sources by their words. Read-only.list_terms tool
List every Term of a datasource (the index): entities and concepts with their one-line definition,
status, synonyms, record and relation counts, and which concepts are still empty. Use it to
browse or before adding knowledge, to reuse Terms instead of creating near-duplicates; use
search_ontology to find Terms by words and get_term for one Term's full detail. Read-only.recent_changes tool
List recent changes across the ontology and knowledge store (the log), newest first: Terms, records,
concepts, relationships and SQL attributes added, changed, certified or deleted. Use it to
answer 'what did I add lately' or to review a session's work. Read-only.export_wiki tool
Write the ontology (by default the knowledge store) as Obsidian pages: one page per Term with
synonyms as aliases, relations as [[links]] and its passages, one per source with a link to
the original and its passages, plus index.md and log.md. The knowledge store goes to the
vault (AUTO_ONTOLOGY_VAULT/auto-ontology, or ~/.auto-ontology-mcp/wiki/knowledge), other
datasources to ~/.auto-ontology-mcp/wiki/<datasource>. Re-exporting rewrites and prunes only
pages it generated; originals and other files are never touched. Edits made in Obsidian are
not read back. Use export_ontology for a single YAML/JSON document.search_ontology tool
Find Terms, concepts (including their bodies and relations), mapped columns, SQL attributes,
glossary entries, verified example questions, sources and unmodeled tables by words. In the
knowledge store it also matches records by their stored text ('value' hits) and adds the top
full-text hits from passages, bodies and sources ('text_hits'). Use it to locate things by name
or topic; use search_text to search the text itself, list_terms to browse everything and
get_term for full detail. Matching is lexical, not semantic: use the schema's vocabulary, try
synonyms and translate. Read-only.get_term tool
Return one Term in full: definition, status, synonyms, body, mapped columns with sample values and
formats, SQL attributes, related Terms with join conditions, typed relations and sources,
plus record counts for knowledge entities. Accepts a name, synonym or id; if nothing
matches, the error lists the closest Terms. Use it to answer 'what is X' and before writing
SQL about X; use search_ontology when you do not know the name and describe_table for a
physical table. Read-only.describe_table tool
Return one physical table: every column (including ones no Term maps), keys, junction status, the
Terms and attributes on it, its relationships and SQL attributes. Use it to inspect a
table's structure; use get_term for business meaning and get_source for
provenance. Fails with suggestions if the table name is unknown. Read-only.find_join_path tool
Return the shortest chain of accepted relationships between two Terms or tables, with ON conditions,
a ready FROM/JOIN clause, fan-out warnings and other roles for the same hop (billing vs
delivery city). Use it when you need one specific route; get_query_context already includes
the path for a set of Terms. Reports found=false when no chain exists. Read-only.check_answerable tool
Check, before any SQL, whether the ontology covers each entity of the question. Extract 1-5 entity
phrases yourself and pass them; each comes back covered (by a Term, attribute or SQL
attribute), covered_by_value (a name stored in the data), weak, or not covered, with an
overall verdict and the next step. When something material is not covered, tell the user
instead of substituting a similar measure. Read-only and fast; use get_query_context next.get_query_context tool
Return what you need to write the SQL for a set of Terms: qualified tables, mapped columns with
samples and formats, SQL attributes, the join path connecting them (with a ready FROM/JOIN
clause and role notes), verified example queries, glossary and the dialect's SQL rules. Call
it after check_answerable with the Terms you will use. Unknown Terms are listed under
unresolved with suggestions; if none resolve, it fails. Read-only.lookup_values tool
Return real values stored in a column ('table.column'): matches for a case-insensitive text, close
spellings when nothing matches, or the most common values with their counts. Use it to
ground literal filters (a place, product or status) before writing them into SQL. Read-only.validate_sql tool
Check one query without returning rows: read-only guard, unknown tables or columns (with the
ontology's name for them), joins the ontology does not know or that use a non-default role,
near-miss literals, percent-vs-fraction thresholds, one-to-many fan-out under SUM/AVG/COUNT,
and a dry run; also which Terms it relies on and whether they are certified. Pass the question
to have a percentage it states ("below 0.18%") checked against the column's scale. Use it before
run_sql and fix every error. Read-only.run_sql tool
Execute one read-only SELECT and return columns, rows, row_count and truncated, plus the Terms it
used and warnings (including percent-vs-fraction thresholds). Use it after validate_sql. Writes, DDL, multiple statements and tables
outside the catalog are refused, and the connection itself is read-only. The query is logged
with the question for provenance. Show the SQL with the answer and say when rows are
truncated.save_example_query tool
Store a question and SQL pair the user confirmed as correct. Later, get_query_context offers it for
similar questions and suggest_sql_attributes mines it. Saving the same question again
replaces its SQL. The SQL must validate, or nothing is saved.export_ontology tool
Return a datasource's whole semantic layer as one YAML or JSON document: tables, relationships,
Terms with column mappings, SQL attributes, concepts and typed relations, glossary and
example queries. Use it for review, backup or moving the ontology; records in the knowledge
store are not included. Use export_wiki for an Obsidian view. Read-only.import_ontology tool
Apply a document produced by export_ontology to a datasource that has been scanned, matching tables
and columns by name. Existing items with the same names are updated; a table's Terms are
replaced as in save_table_terms. Items that fail (missing tables or columns, invalid SQL)
are skipped and listed while the rest is applied, so the result can be partial. Knowledge
entities are recreated empty when their tables are missing; records are not imported.search tool
Search Terms, tables and sources across all datasources and return ids for fetch. Intended for
ChatGPT connectors and deep research; other clients should prefer search_ontology.
Read-only.fetch tool
Return the full text of one document returned by search: a Term (definition, body, attributes, SQL
attributes, relations, sources), a table, or a source. Read-only.build_ontology prompt
Walk through modeling a datasource end to end.
answer_question prompt
Answer a data question through the ontology.
remember prompt
Store what I shared (files, images, notes) in the knowledge store.
review_ontology prompt
Find gaps and risks in the current ontology.
guide resource
How to use this server.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 40 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 41 capabilities; 34 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 41 capabilities; 34 more call code the scanner could not follow, where it may happen
- Tools that call the network2 of 41 capabilities call the network; 32 more call code the scanner could not follow, where it may happen
Where the code is: 41 handlers in 1 file at commit 0ba68de5cf34
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=4.1,<5
- 2 checks: undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Credential harvestingNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 41 capabilities; 34 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=4.1,<5 |
| Servers in the code | 1 (auto-ontology) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | Apache-2.0 |
| Created | 2026-11-06 |
| Topics | chatgpt claude mcp mcp-server model-context-protocol ontology semantic-layer text-to-sql |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.