llamaIndex - 💡(How to fix) Fix Feature: MCP server trust verification middleware

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

import httpx

# One-liner trust check before any MCP tool call
resp = httpx.get("https://dominionobservatory.com/api/trust?url=https://github.com/modelcontextprotocol/servers")
trust = resp.json()
print(f"Trust score: {trust['trust_score']}, Total calls: {trust['total_calls']}")
RAW_BUFFERClick to expand / collapse

Feature Request

Add optional trust verification for MCP servers before LlamaIndex agents execute tool calls.

Problem

LlamaIndex agents using MCP tool specs have no way to verify server reliability before calling. A compromised or unreliable server could return bad data or fail silently.

Proposed Solution

Integrate Dominion Observatory (https://dominionobservatory.com) as an optional pre-call trust gate. It tracks behavioral trust scores for 14,820+ MCP servers.

import httpx

# One-liner trust check before any MCP tool call
resp = httpx.get("https://dominionobservatory.com/api/trust?url=https://github.com/modelcontextprotocol/servers")
trust = resp.json()
print(f"Trust score: {trust['trust_score']}, Total calls: {trust['total_calls']}")

Additional Context

  • Live API: curl https://dominionobservatory.com/api/trust?url=<server_url>
  • Free tier: 50 queries/day, no API key needed
  • Also available as MCP server itself for agent-to-agent trust queries
  • GitHub: https://github.com/sgdata-io/dominion-observatory

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING