Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

feat: add MCP Registry server.json, Docker publish workflow, and OCI label

FABIOTESSfdcbd644e82f
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644
index 00000000..201a7567
--- /dev/null
+++ b/.github/workflows/docker.yml
@@ -0,0 +1,43 @@
+name: Docker
+
+on:
+ push:
+ tags: ['v*']
+
+env:
+ REGISTRY: ghcr.io
+ IMAGE_NAME: ${{ github.repository }}
+
+jobs:
+ build-and-push:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Log in to GHCR
+ uses: docker/login-action@v3
+ with:
+ registry: ${{ env.REGISTRY }}
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Extract metadata
+ id: meta
+ uses: docker/metadata-action@v5
+ with:
+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: |
+ type=semver,pattern={{version}}
+ type=semver,pattern={{major}}.{{minor}}
+ type=sha
+
+ - name: Build and push
+ uses: docker/build-push-action@v6
+ with:
+ context: .
+ push: true
+ tags: ${{ steps.meta.outputs.tags }}
+ labels: ${{ steps.meta.outputs.labels }}
diff --git a/.mcp/server.json b/.mcp/server.json
new file mode 100644
index 00000000..26aae5f8
--- /dev/null
+++ b/.mcp/server.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
+ "name": "io.github.fabio-rovai/open-ontologies",
+ "title": "Open Ontologies",
+ "description": "AI-native ontology engineering MCP server — validate, query, diff, lint, version, and govern RDF/OWL ontologies with 39 tools and 5 workflow prompts via Oxigraph triple store",
+ "version": "0.1.0",
+ "packages": [
+ {
+ "registryType": "oci",
+ "identifier": "ghcr.io/fabio-rovai/open-ontologies:0.1.0",
+ "transport": {
+ "type": "stdio"
+ }
+ }
+ ]
+}
diff --git a/Dockerfile b/Dockerfile
index 94af1336..8d032b28 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,8 @@ RUN cargo build --release
FROM debian:bookworm-slim
+LABEL io.modelcontextprotocol.server.name="io.github.fabio-rovai/open-ontologies"
+
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /build/target/release/open-ontologies /usr/local/bin/open-ontologies
diff --git a/README.md b/README.md
index fe69e654..bdb942eb 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
+<!-- mcp-name: io.github.fabio-rovai/open-ontologies -->
# A Terraforming MCP for Knowledge Graphs: validate, classify, and govern AI-generated ontologies.
[![CI](https://github.com/fabio-rovai/open-ontologies/actions/workflows/ci.yml/badge.svg)](https://github.com/fabio-rovai/open-ontologies/actions/workflows/ci.yml)