Python: Feature: Add MCP server trust verification for agent tool safety

オープン
#14,032 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
ai, security

調査の方向性

まず、Semantic Kernel の Python エージェントと MCP ツール実行統合を見つけます。この issue では、リポジトリのファイルやテストは指定されていません。MCP サーバーへの接続がどのように確立されるかを確認し、その後、信頼性検証の動作と、そのしきい値および失敗ケースを定義します。MCP サーバーがツール実行前にチェックされ、その動作がテストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

python triage

Feature Description

Semantic Kernel's agent framework enables connecting to MCP servers for tool execution. There's no built-in mechanism to verify whether an MCP server is trustworthy before agents invoke its tools. For enterprise applications, this is a significant security gap.

Proposed Solution

Integrate behavioral trust scoring via the Dominion Observatory API to verify MCP servers before tool execution. The API provides trust scores (0.0-1.0) based on behavioral analysis of 14,820+ MCP servers.

import requests

def verify_mcp_trust(server_url, threshold=0.7):
    resp = requests.get(
        "https://dominionobservatory.com/api/trust",
        params={"url": server_url}
    )
    data = resp.json()
    if data["trust_score"] < threshold:
        raise Exception(f"Server trust {data['trust_score']} below threshold")
    return data

# Verify MCP server before Semantic Kernel agent connects
trust = verify_mcp_trust("https://mcp-server.example.com")
print(f"Trust: {trust['trust_score']} | SLA: {trust['sla_grade']}")

Why This Matters for Semantic Kernel

Enterprise agents handle sensitive data and business logic. Trust-gating MCP servers prevents:

  • Supply chain attacks via compromised tool servers
  • Data exfiltration from enterprise workflows
  • Compliance violations from unvetted third-party tools

Additional Context

主要言語
C#
スター
28.8k
フォーク
4.9k
平均マージ
2日 17時間
マージ済み PR(30日)
48

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/semantic-kernel のほかの issue

microsoft/semantic-kernel の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。