Eunomia MCP Server Deprecated — New Integration Soon
Note this MCP server is deprecated and incompatible with the latest Eunomia repo; check back soon for a new MCP integration.
npx -y @whataboutyou-ai/eunomia-MCP-serverOverview
Warning: this Eunomia MCP Server integration is deprecated and is not compatible with the latest Eunomia repository. A replacement MCP integration is under development — check back on the project repository for updates: https://github.com/whataboutyou-ai/eunomia-MCP-server.
The Eunomia MCP Server was an extension that connected Eunomia “instruments” (data-governance processors) to external MCP (Model Context Protocol) servers. It let you route text streams through Eunomia policies — for example, automatic PII detection/redaction or access-based transformations — while delegating input/output and UI concerns to MCP-compatible server processes.
This article summarizes how the project worked, the major features, and practical examples for developers who want to understand the integration pattern. Because the package is deprecated, treat the instructions as a reference for concepts and local experimentation rather than a production-ready integration.
Features
- Connects Eunomia Orchestra instruments to external MCP servers to enforce governance on text streams.
- Pluggable instruments: PII detection, ID-based access control (Idbac), and custom Eunomia instruments.
- Orchestrates multiple external MCP processes and forwards requests/responses through Eunomia pipelines.
- Settings-driven configuration (Pydantic-style) for server commands, arguments, and per-server environment.
- Designed to be run alongside MCP servers launched as subprocesses (e.g., via uv).
Installation / Configuration
Clone the repository to inspect the code or run locally:
Example settings using Pydantic-style BaseSettings (illustrative):
: =
: =
: =
# Define external MCP servers to launch and connect to
: =
# Build an Orchestra with Eunomia instruments
: =
Configuration reference (common keys):
| Key | Type | Description |
|---|---|---|
| APP_NAME | string | Human-readable application name |
| APP_VERSION | string | Semantic version |
| LOG_LEVEL | string | Logging level (info/debug) |
| MCP_SERVERS | dict | Map of server-id -> {command, args, env} to launch MCP servers |
| ORCHESTRA | Orchestra | Eunomia Orchestra instance with instruments configured |
Running (conceptual)
- Ensure environment variables or a
.envfile are in place. - Launch the MCP Orchestra server process (example with uv):
- The server will start configured MCP subprocesses, accept MCP connections, and apply Eunomia instruments to streamed text.
Available Resources
- GitHub repository: https://github.com/whataboutyou-ai/eunomia-MCP-server
- Eunomia framework (core): https://github.com/whataboutyou-ai/eunomia
- Eunomia docs: https://whataboutyou-ai.github.io/eunomia/
- Model Context Protocol: https://modelcontextprotocol.io/
- uv (astral) docs: https://docs.astral.sh/uv/
Note: links are provided for reference and further reading. Because this integration is deprecated, consult Eunomia docs for the latest recommended integration approaches.
Use Cases
PII Redaction in a Browser-based UI
- Launch a web-browser MCP server as an external process.
- Configure Eunomia with a PiiInstrument to replace or mask detected emails and names.
- All user text that flows through the browser UI is inspected and transformed before being stored or sent to models.
Access-based Content Filtering for Multi-tenant Apps
- Use IdbacInstrument to apply identity-based access control rules.
- Route requests from different tenants to the same MCP server, with Eunomia enforcing per-tenant visibility rules.
Chaining Multiple MCP Services
- Orchestrate several MCP servers (e.g., a UI server and a model-serving server).
- Eunomia instruments enforce governance at the orchestra layer while each MCP process handles its domain responsibilities.
Local Development and Testing
- Spin up MCP servers as subprocesses via the MCP_SERVERS configuration to simulate production routing and validate instruments against representative data.
Notes & Limitations
- Deprecated: This MCP Server integration does not work with the latest Eunomia changes. Do not rely on it for new production deployments.
- Use this repository as a learning reference for how Eunomia instruments can be applied to MCP-streamed content. Watch the GitHub project for the upcoming replacement integration.