cordata-catalog-mcp

v0.4.1
cordata-catalog-mcp Checked 44 minutes ago Published 14 days ago

A read-only MCP server over a governed data catalog — the runnable version of cordata.tech's 'catalog is the API' post

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_domains Domains and owners

What domains exist, and who owns them. Only the domains this caller may read.

get_dataset Dataset lookup

Schema, ownership and policy tags for one published dataset.

ParameterTypeDescription
domain *stringOwning domain, e.g. fraud or policy
table *stringTable name, e.g. transactions_scored

resolve_lf_tag Validate a tag set

Is this tag set valid against the governance-owned ontology? Runs the same `policy.resolve()` the executor runs, and fails the same way.

ParameterTypeDescription
tags *object

check_grant_expression Would a grant reach a dataset

Would this tag-based grant expression reach this dataset, and which columns?

ParameterTypeDescription
domain *stringOwning domain, e.g. fraud or policy
expression *objectTag key to permitted values, e.g. {'sensitivity': ['high']}
table *stringTable name, e.g. transactions_scored

find_datasets Find datasets by tag

Which datasets carry these tag values — for example subject_type=customer. Answers which datasets hold a kind of data, and in which columns. It cannot say where one person's rows are: that is a query against the data, and this server never reads data. Only domains this caller may read.

ParameterTypeDescription
tags *object

get_consumers Who reads a table

Which pipelines declare that they read this table, and the version each pins. For a source table — `fraud/transactions`, say — this is what breaks if its producer changes a column: every consumer reads every column of the version it pins. A source table also comes back with its columns and its classification, which is `classified: false` when it carries no tag but `domain`. The list is the runtime's own, `pins.readers()`, read from the descriptors; readers that declare nothing — notebooks, BI tools, ad-hoc SQL — are not on it, and observed reads are lineage, not this server. Consumer…

ParameterTypeDescription
domain *stringOwning domain, e.g. fraud or policy
table *stringTable name, e.g. transactions_scored

get_erasure_scope Where a subject type is registered

Every dataset tagged with this subject type: owner, columns, retention and readers. What an erasure needs first is where a kind of personal data is registered. This lists registered datasets, never rows: it cannot say where one person's rows are, because finding those is a query against the data, and this server never reads data. Each dataset's `retention` tag is reported as tagged and not interpreted; whether a deletion meets a retention duty is its owner's decision, not this server's. Each dataset also names the table its pipeline reads, with that table's own readers. A source table nobody…

ParameterTypeDescription
subject_type *stringA subject_type value from the ontology, e.g. customer