Skip to main content

Apache Egeria open-metadata API + MCP Server for Agentic AI!

Project description

Egeria Mcp

API | MCP Server

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Apache Egeria open-metadata API + MCP Server for the agent-utilities ecosystem.

Version: 0.2.1

Egeria is federated as the metadata / governance / lineage system-of-record alongside the epistemic-graph Knowledge Graph (the cognition/orchestration plane). This package provides the typed, deterministic Egeria tools a policy router calls, the bottom-up harvest that populates Egeria from the data estate, and the governed_route decision that is the federation delivering value.

Two hard invariants: the KG never becomes the lineage store; Egeria never orchestrates.

What it provides

  • EgeriaApi (egeria_mcp.api.api_client_egeria) — a tolerant raw-httpx REST facade over the Egeria View Server (OMVS). No pyegeria runtime dependency (pyegeria's sync wrappers call asyncio.get_event_loop(), which raises on Python 3.14; httpx works on 3.11 and 3.14). It is the injected config["client"] for the KG egeria enrichment extractor and backs all MCP tools. Every call degrades to [] / a clear error rather than raising.
  • 21 MCP tools (egeria-mcp console script): granular reads, broad action-dispatch readers across 11 OMVS services, governed_route, the data-store harvest, and write-gated create/classify/lineage tools. See docs/overview.md for the full list and the verified Egeria 6.0 REST contract.

Configuration (environment)

Var Default Meaning
EGERIA_PLATFORM_URL https://localhost:9443 OMAG platform URL
EGERIA_VIEW_SERVER qs-view-server View server name
EGERIA_USER erinoverview User id
EGERIA_USER_PASSWORD secret Password / token
EGERIA_VERIFY_SSL False Verify TLS (self-signed homelab)
EGERIA_ENABLE_WRITE False Gate every write/harvest tool
EGERIATOOL True Register the Egeria tool set

The table above is the required set. The bottom-up harvest connectors (ServiceNow, ERPNext, GitLab, Camunda, Keycloak, Grafana, Portainer, …) each read their own optional credential vars — every variable, grouped by source system with required-vs-optional separation, is documented in .env.example. Copy it to .env and fill in only the connectors you use; blank connector credentials make that harvest a no-op.

Install & run

pip install -e .
egeria-mcp                       # stdio MCP server (default transport)
egeria-mcp --transport http --host 0.0.0.0 --port 8000

Run the bottom-up data-store harvest (needs write enabled):

EGERIA_PLATFORM_URL=https://your-egeria-platform:9443 EGERIA_ENABLE_WRITE=true \
  python -m egeria_mcp.harvest

MCP config

Register in the multiplexer under nickname eg (tools surface as eg__lineage, eg__governed_route, eg__catalog, …). See egeria_mcp/mcp_config.json.

Docs

  • docs/overview.md — tools, REST contract, harvest, federation.
  • docs/concepts.md — concept registry (CONCEPT:EG-*).
  • AGENTS.md — canonical contributor guidance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

egeria_mcp-0.2.1.tar.gz (73.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

egeria_mcp-0.2.1-py3-none-any.whl (110.3 kB view details)

Uploaded Python 3

File details

Details for the file egeria_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: egeria_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 73.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for egeria_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 c7f51638ce01a8f625a04a616394ef9cbceb4aa39f350b1b90018e4a2c440620
MD5 4e514d33af8fd62461b6b12a4ec262c5
BLAKE2b-256 ead33af0dc0b1bfd5a23056e143d5a81e600e4ba2af498be05a45d1f9ba71842

See more details on using hashes here.

File details

Details for the file egeria_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: egeria_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 110.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for egeria_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a92b4787f322812cdef63e2e0e244d7d08a5931293369906267fef212af1ce2
MD5 90a868523f11bbbca7e79819a312ae22
BLAKE2b-256 d58cbe57103e399bc724cd8ed841042164976de2fd6c77f24d644709197c2ce1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page