mcp-eunomia
The README includes a link to join the Discord community for support or discussions related to Eunomia MCP Server.
The README mentions that the server loads settings from '.env' or environment variables when running.
The README links to GitHub repositories for Eunomia and provides installation instructions using git clone from GitHub.
The README showcases the use of pydantic_settings.BaseSettings for application configuration in the example code.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-eunomiascan this text for PII and redact any personal information"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This MCP server is deprecated as it is not compatible with the latest developments ofEunomia. A new MCP integration is under development and will be available soon.
Eunomia MCP Server
Open Source Data Governance for LLM-based Applications — with MCP integration
Made with ❤ by the team at What About You.
Read the docs · Join the Discord
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:
Enforce data governance on top of LLM or other text-based pipelines.
Orchestrate multiple servers that communicate via the MCP framework.
Related MCP server: mcpdeployment
Get Started
Installation
git clone https://github.com/whataboutyou-ai/eunomia-mcp-server.gitBasic 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.
"""
Example Settings for MCP Orchestra Server
=========================================
This example shows how we can combine Eunomia with a web-browser-mcp-server
(https://github.com/blazickjp/web-browser-mcp-server).
"""
from pydantic_settings import BaseSettings
from pydantic import ConfigDict
from eunomia.orchestra import Orchestra
from eunomia.instruments import IdbacInstrument, PiiInstrument
class Settings(BaseSettings):
"""
Application settings class for MCP orchestra server using pydantic_settings.
Attributes:
APP_NAME (str): Name of the application
APP_VERSION (str): Current version of the application
LOG_LEVEL (str): Logging level (default: "info")
MCP_SERVERS (dict): Servers to be connected
ORCHESTRA (Orchestra): Orchestra class from Eunomia to define data governance policies
"""
APP_NAME: str = "mcp-server_orchestra"
APP_VERSION: str = "0.1.0"
LOG_LEVEL: str = "info"
MCP_SERVERS: dict = {
"web-browser-mcp-server": {
"command": "uv",
"args": [
"tool",
"run",
"web-browser-mcp-server"
],
"env": {
"REQUEST_TIMEOUT": "30"
}
}
}
ORCHESTRA: Orchestra = Orchestra(
instruments=[
PiiInstrument(entities=["EMAIL_ADDRESS", "PERSON"], edit_mode="replace"),
# You can add more instruments here
# e.g., IdbacInstrument(), etc.
]
)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_serverThis will:
Load the settings from
.envor 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: Learn more about the core Eunomia framework.
Eunomia Repository: See Eunomia source code and examples.
MCP Documentation: Explore the Model Context Protocol specification and ecosystem.
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
An MCP server giving access to Grafana dashboards, data and more.
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.
- StytchOAuthdev.stytch.mcp
The Stytch MCP server is a reference implementation that demonstrates remote MCP server authentication and authorization using Stytch Connected Apps. It provides OAuth 2.1-compliant authorization (including PKCE), Dynamic Client Registration, and validates Stytch-issued access tokens to enable AI agents to securely interact with external services through permissioned access, supporting scopes like openid, email, profile, and manage:project_data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA secure MCP server using FastMCP and Eunomia Authorization, providing granular access control with dynamic JSON policies.MIT
- FlicenseCqualityDmaintenanceMCP server that enables deployment and management of MCP servers through a simple configuration-based interface.1-
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for automated AWS data discovery, PII detection, and data governance using Lake Formation.MIT
- FlicenseBqualityDmaintenanceMCP server for uControl, enabling read and write operations on schema, assets, and uMap via segregated tools with authentication.24-