Skip to main content
Glama
whataboutyou-ai

mcp-eunomia

[!警告] このMCPサーバーは、 Eunomiaの最新開発と互換性がないため、非推奨となりました。新しいMCP統合が開発中で、まもなく利用可能になります。

Eunomia MCP サーバー

LLMベースのアプリケーション向けオープンソースデータガバナンス - MCP統合付き

What About Youのチームが ❤ を込めて作りました。

ドキュメントを読む· Discordに参加する

概要

Eunomia MCP Serverは、 Eunomia機器とMCPサーバーを接続するEunomiaフレームワークの拡張機能です。データガバナンスポリシー(PII検出やユーザーアクセス制御など)をオーケストレーションし、MCPエコシステム内の外部サーバープロセスとシームレスに統合するためのシンプルな方法を提供します。

Eunomia MCP Server を使用すると、次のことが可能になります。

  • LLM またはその他のテキストベースのパイプライン上でデータ ガバナンスを適用します

  • MCP フレームワークを介して通信する複数のサーバーをオーケストレーションします

Related MCP server: MCP Server

始める

インストール

git clone https://github.com/whataboutyou-ai/eunomia-mcp-server.git

基本的な使い方

Eunomia MCP Serverは、 Eunomiaと同じ「インストゥルメント」概念を採用しています。OrchestraでOrchestraトゥルメントセットを定義することで、MCPベースのサーバーを通過するテキストストリームにデータガバナンスポリシーを適用できます。

以下は、アプリケーション設定を定義し、 uvを使用して MCP サーバーを実行する方法の簡略化された例です。

"""
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.
        ]
    )

サーバーの実行

設定が定義されたら、次のように、サーバー コードを含むディレクトリをuvに指定して、MCP Orchestra サーバーを実行できます。

uv --directory "path/to/server/" run orchestra_server

これにより、次のようになります。

  1. .envまたは環境変数から設定を読み込みます。

  2. Eunomia MCP サーバーを起動して、リクエストを処理し、外部 MCP サーバーを調整します。

  3. 受信テキストに Eunomia インストルメント ( PiiInstrumentなど) を適用し、データ ガバナンス ポリシーが自動的に適用されるようにします。

さらに読む

より詳しい使用方法、高度な構成、追加の機器については、次のリソースを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whataboutyou-ai/eunomia-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server