Integrates with the Eunomia framework for a simple way to orchestrate data governance policies like PII detection or use...
Created byApr 23, 2025
[!WARNING]
This MCP server is deprecated as it is not compatible with the latest developments of [Eunomia][eunomia-repo]. A new MCP integration is under development and will be available soon.
*Open Source Data Governance for LLM-based Applications with MCP integration*
Made with by the team at [What About You][whataboutyou-website].
[Read the docs][eunomia-docs] [Join the Discord][discord]
Overview
**Eunomia MCP Server** is an extension of the [Eunomia][eunomia-repo] framework that connects Eunomia instruments with [MCP][mcp-docs] 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:
**Enforce data governance** on top of LLM or other text-based pipelines.
**Orchestrate multiple servers** that communicate via the MCP framework.
Get Started
Installation
Basic Usage
Eunomia MCP Server uses the same "instrument" concept as [Eunomia][eunomia-repo]. 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][uv-docs].
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:
This will:
Load the settings from `.env` or environment variables.
Launch the **Eunomia MCP Server** to handle requests and orchestrate your external MCP server(s).
Apply Eunomia instruments (like `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:
[Eunomia Documentation][eunomia-docs]: Learn more about the core Eunomia framework.
[Eunomia Repository][eunomia-repo]: See Eunomia source code and examples.
[MCP Documentation][mcp-docs]: Explore the Model Context Protocol specification and ecosystem.