Eunomia: The Standard and Lightweight Data Governance Library Now Integrated with MCP Servers #151
vincenzopecorella
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Pre-submission Checklist
What would you like to share?
Eunomia is an open-source Python library developed by What About You for data governance in Large Language Model (LLM) applications. It offers precise control over the data entering LLM-based applications by enforcing governance at the token level. Eunomia utilizes a modular set of instruments to address specific challenges, allowing for versatile combinations to support a wide variety of use cases.
Today, the integration of Eunomia with the Model Context Protocol (MCP) has been launched, significantly enhancing the ability to govern unstructured data flowing through MCP servers into enterprise LLM-powered applications.
Overview
Eunomia MCP Server is an extension of the Eunomia framework that connects Eunomia instruments with MCP servers. It provides a simple way to orchestrate data governance policies (like PII detection or user access control) and seamlessly integrate them with external server processes in the MCP ecosystem.
With Eunomia MCP Server, you can:
Get Started
Installation
Basic Usage
Eunomia MCP Server uses the same "instrument" concept as Eunomia. By defining your set of instruments in an
Orchestra
, you can apply data governance policies to text streams that flow through your MCP-based servers.Below is a simplified example of how to define application settings and run the MCP server with uv.
Running the Server
Once your settings are defined, you can run the MCP Orchestra server by pointing
uv
to the directory containing your server code, for example:uv --directory "path/to/server/" run orchestra_server
This will:
.env
or environment variables.PiiInstrument
) to the incoming text, ensuring data governance policies are automatically enforced.Further Reading
For more detailed usage, advanced configuration, and additional instruments, check out the following resources:
Relevant Links
Beta Was this translation helpful? Give feedback.
All reactions