eunomia-mcp-server
Documentation
> [!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.
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
git clone https://github.com/whataboutyou-ai/eunomia-mcp-server.gitBasic 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].
"""
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:
1. Load the settings from `.env` or environment variables.
2. Launch the Eunomia MCP Server to handle requests and orchestrate your external MCP server(s).
3. 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.
[whataboutyou-website]: https://whataboutyou.ai
[eunomia-repo]: https://github.com/whataboutyou-ai/eunomia
[eunomia-docs]: https://whataboutyou-ai.github.io/eunomia/
[mcp-docs]: https://modelcontextprotocol.io/
[uv-docs]: https://docs.astral.sh/uv/
[discord]: https://discord.gg/TyhGZtzg3G
Frequently asked questions
What is eunomia-mcp-server?
eunomia-mcp-server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.
How do I install eunomia-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is eunomia-mcp-server open source?
Yes — it is hosted on GitHub at https://github.com/whataboutyou-ai/eunomia-MCP-server and has 7 stars.
Related MCP tools
Damn Vulnerable MCP Server Python-based implementation. Trusted by 1200+ developers. Trusted by 1200+ developers. Trusted by 1200+ developers.
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases Python-based implementation. Trusted by 900+ developers.
Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning...
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An MCP server that provides control over Android devices via adb Python-based implementation. Trusted by 500+ developers.
A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. Python-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP