Eunomia

Eunomia

Extension of the Eunomia framework that connects Eunomia instruments with MCP servers

7
Stars
3
Forks
0
Releases

Overview

This MCP server is an extension of the Eunomia framework that connects Eunomia instruments with MCP servers to orchestrate data governance policies across text streams. It enables enforcement of governance on LLM-based pipelines by applying instruments (e.g., PiiInstrument) within an Orchestra, allowing you to detect and redact sensitive data such as emails or personal identifiers. The architecture supports orchestrating multiple external MCP servers via the MCP ecosystem, simplifying integration with existing MCP processes. The server is configured via a Settings class (APP_NAME, APP_VERSION, LOG_LEVEL, MCP_SERVERS, ORCHESTRA) and uses an Orchestra to define instruments (e.g., PiiInstrument with entities like EMAIL_ADDRESS and PERSON). You can add more instruments as needed. Running is done through uv, pointing to the directory containing your server code, which loads settings from environment variables and launches Eunomia MCP Server to apply policies to incoming text. Note: This MCP server is deprecated and not compatible with the latest Eunomia developments; a new MCP integration is under development and will be available soon. The README provides a minimal example including an example MCP server (web-browser-mcp-server) to illustrate orchestration.

Details

Owner
whataboutyou-ai
Language
Python
License
Apache License 2.0
Updated
2025-12-07

Features

Enforce data governance on LLM/text pipelines

Apply governance policies to text streams using Eunomia instruments within an Orchestra, ensuring compliant handling of data.

Orchestrate multiple MCP servers

Coordinate external MCP servers via the MCP framework to streamline governance across systems.

Instrument-based governance

Define and apply policies with Eunomia instruments (e.g., PiiInstrument) to detect and manage sensitive data.

Extensible instrument suite

Easily extend governance capabilities by adding more instruments (e.g., IdbacInstrument) to the Orchestra.

Environment-driven configuration

Configure app name, version, logging, MCP servers, and Orchestra via a Settings class loaded from environment variables.

Example MCP server integration

Includes example configuration for integrating with a web-browser MCP server to illustrate orchestration.

Uv-based orchestration

Run the MCP Orchestra server by pointing uv to the server directory, loading settings from environment variables.

Audience

DevelopersDefine instruments and orchestration to apply governance policies on text streams via MCP servers.
Data governance engineersOrchestrate multiple MCP servers and enforce policies like PII detection within MCP workflows.

Tags

EunomiaMCPdata governancePII detectionLLM pipelinesorchestrationinstrumentsMCP integrationserver