MCP 2026 Documentation

Model Context Protocol (MCP) Gateway Specification

Built upon the open Anthropic Model Context Protocol specification, providing a standard, authenticated, and redacted edge context pipeline for enterprise multi-agents.

1. Resources Endpoint (`resources/read`)

Fetches call recordings and structured telemetry metadata. The gateway enforces sensitive PII redaction before returning data.

POST /mcp/rpc HTTP/1.1
Host: gateway.ruiziyun.com
Authorization: Bearer <OAuth_2.1_Token>
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1001,
  "method": "resources/read",
  "params": {
    "uri": "ruizi://calls/rec_89104",
    "filter": {
      "mask_pii": true,
      "include_speaker_roles": true
    }
  }
}

2. Tools Endpoint (`tools/call`)

Writes summaries back to enterprise CRMs. High-impact outbound tools strictly enforce `require_human_confirmation: true`.

{
  "jsonrpc": "2.0",
  "id": 1002,
  "method": "tools/call",
  "params": {
    "name": "crm_sync_writeback",
    "arguments": {
      "call_id": "rec_89104",
      "summary": "Manufacturing client interested in TCO and compliance",
      "stage": "POC_PROPOSAL"
    },
    "require_human_confirmation": true
  }
}