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.3

Documentation — Installation, deployment, usage across the API, CLI, and MCP interfaces, and guidance for provisioning the Apache Egeria platform are maintained in the official documentation.

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 populate only the connectors you use; blank connector credentials leave the corresponding harvest inactive.

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.

Documentation

The complete documentation is published as the official documentation site and is the recommended reference for installation, deployment, and day-to-day operation.

Page Contents
Installation pip, source, extras, prebuilt Docker image
Deployment run the MCP server, Compose, Caddy + Technitium, env config
Usage the MCP tools, the EgeriaApi client, the harvest CLI
Backing Platform deploy Apache Egeria with Docker
Overview tools, REST contract, harvest, federation
Architecture pipeline, layered client, KG federation diagrams
Concepts concept registry (CONCEPT:EG-*)

AGENTS.md is the canonical contributor/agent 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.3.tar.gz (79.3 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.3-py3-none-any.whl (118.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: egeria_mcp-0.2.3.tar.gz
  • Upload date:
  • Size: 79.3 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.3.tar.gz
Algorithm Hash digest
SHA256 bc66e8e5921447027096b29af7058942f768d133511ca6e43d04174fd5c11d66
MD5 55a610bd3531175c77836e2d579f87c6
BLAKE2b-256 97035c4245f12cacfaf5b7f00f0b534a4b52c227b3cf833a474420e2d9a61c8b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: egeria_mcp-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 118.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd458c20b9def11fc4ecac9ebdd441b45c56ebd910c5eb91bda85fae6a6968f
MD5 23235468c6dc07bf0ee53630e4be0788
BLAKE2b-256 37293680b6af7d71749629619a43bd1ccb416f8e787a41f9bbc0cfec4aa05117

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