MCP Server — Trust Query Tool
7.1 What Is MCP
MCP (Model Context Protocol) is a standard protocol that connects AI applications with external tools and data sources. Initiated by Anthropic, it is now governed by the Linux Foundation. In plain terms: MCP is the “USB-C port” for AI. Just as USB-C lets your phone connect to chargers, monitors, and flash drives, MCP lets AI connect to a wide variety of external tools and data sources. Through MCP, an AI agent can:- Query databases
- Call APIs
- Read files
- Execute actions
7.2 OTR MCP Server
OTR provides an MCP Server that enables any MCP-compatible AI application (Claude, ChatGPT, etc.) to invoke trust query capabilities directly.Available Tools
| Tool Name | Function | Input | Output |
|---|---|---|---|
otr_verify | Query a domain’s trust score | domain: string | Complete OTR scoring data |
otr_compare | Compare multiple domains | domains: string[] | Side-by-side score comparison |
otr_signals | View signal details | domain: string, dimension: string | Detailed signals for the specified dimension |
MCP Server Connection
7.3 Using OTR in Claude
If you use Claude Desktop or Claude Code, you can add the OTR Server in your MCP settings: Configuration file (claude_desktop_config.json):
otr_verify tool on the OTR MCP Server, retrieve the data, and present its analysis.
7.4 Mintlify Auto-MCP
Mintlify (the documentation platform powering this knowledge base) automatically generates an MCP Server for all hosted documentation. This means AI agents can query the entire contents of learn.orbexa.io via the MCP protocol. This is a defining feature of AI-native documentation platforms: the documentation itself becomes a data source that AI agents can programmatically access.7.5 Building Your Own MCP Server
If you want to build an MCP Server for your own trust assessment system, the basic architecture is as follows:- A name and description
- An input parameter JSON Schema
- Execution logic (calling an API to fetch data)
7.6 MCP vs. REST API: When to Use Which
| Scenario | Recommended | Rationale |
|---|---|---|
| Querying within an AI conversation | MCP | AI-native experience; no manual API calls needed |
| Programmatic integration | REST API | Standard HTTP calls; supported by any language |
| Batch queries | REST API | More flexible control over request flow |
| Autonomous AI agent decisions | MCP | Agent invokes queries directly without human intervention |
| Dashboards and reports | REST API | Scheduled data pulls for display |
7.7 Core Principle: Autonomous Agent Queries
The value of an MCP Server is not simply “one more way to make API calls.” It lies in enabling AI agents to autonomously decide when to query trust data. Traditional workflow: The user manually opens a website, types in a domain, and reviews the results. MCP workflow: The user tells the AI, “Find me a reliable outdoor gear supplier,” and the AI agent automatically:- Searches for candidate merchants
- Invokes OTR via MCP to query each merchant’s trust score
- Ranks candidates by a composite of score, price, and reviews
- Explains its recommendation rationale to the user
Next chapter: OpenAPI Specification — The OpenAPI 3.0 specification for the OTR API