Technical Note

XGR MCP Gateway

AI-native access layer for XDaLa, agent-assisted workflow creation and secure human-in-the-loop handoff preparation.

Version1.0
Valid from07 Jun 2026

Table of contents

  1. Abstract
  2. Purpose
  3. Position in the XGR architecture
  4. Public MCP endpoints
  5. Example MCP client configuration
  6. Tool domains
  7. Agent-assisted workflow creation
  8. Security boundary
  9. Typical queries
  10. References

Abstract

The XGR MCP Gateway is the AI-native access layer to the XGR stack. It exposes XGRChain data, XDaLa sessions, Explorer evidence, XRC standards, schemas and authoring knowledge as semantic Model Context Protocol tools.

The gateway allows MCP-compatible agents to inspect deployed workflows, reason over XDaLa sessions, draft and validate process bundles, and prepare human-in-the-loop handoffs for local wallet signing.

Core principle: MCP composes. Explorer remembers. Workbench verifies and builds transactions. Wallet signs. XDaLa executes.

1. Purpose

The XGR MCP Gateway provides an agent-facing interface for reading, reasoning, authoring, validation and handoff preparation. It does not alter the XGRChain protocol, transaction format, consensus model or token economics.

Its purpose is to make XGRChain and XDaLa accessible to AI agents without weakening the user-controlled signing and custody model.

2. Position in the XGR architecture

The gateway is a fourth surface alongside the Chain, XDaLa and the Workbench.

SurfaceRole
XGRChainExecution infrastructure, network state, transactions and finality.
XDaLaValidation, orchestration and execution semantics for auditable process sessions.
WorkbenchHuman-facing environment for review, transaction construction and local signing.
MCP GatewayAgent-facing access layer for reading, reasoning, authoring, validation and handoff preparation.

3. Public MCP endpoints

Mainnet

Use mainnet to inspect real XGRChain and XDaLa activity, Explorer evidence, deployed XRC contracts and production session data.

https://mcp.xgr.network/mcp

Testnet

Use testnet to safely draft, validate and experiment with agent-driven XDaLa workflows before production use.

https://mcp.testnet.xgr.network/mcp

4. Example MCP client configuration

{
  "mcpServers": {
    "xgr-mainnet": {
      "type": "http",
      "url": "https://mcp.xgr.network/mcp"
    },
    "xgr-testnet": {
      "type": "http",
      "url": "https://mcp.testnet.xgr.network/mcp"
    }
  }
}

5. Tool domains

The gateway groups tools by semantic domain instead of exposing only raw RPC mirrors. This improves tool selection for agents and keeps interactions deterministic.

6. Agent-assisted workflow creation

A typical workflow starts with natural language intent and ends with a user-controlled signing step.

  1. The user describes the desired XDaLa process.
  2. The agent reads the relevant XDaLa authoring rules, XRC references and schemas through MCP.
  3. The agent drafts XRC-137 rules and an XRC-729 orchestration or a complete XGR MultiBundle.
  4. The gateway validation tools check the generated artifact before it is treated as final.
  5. The gateway prepares a handoff for Workbench review.
  6. The user reviews the prepared action and signs locally with their own wallet.

7. Security boundary

The MCP Gateway is deliberately non-custodial. It does not receive signing material and does not sign transactions.

This keeps the trust boundary explicit: the agent can help create and validate intent; the user remains responsible for approval and signing.

8. Typical queries

Live data

  • What is the current XGRChain status?
  • Show me the latest block.
  • Find the latest XDaLa session and explain the payload.
  • List XDaLa session owners from the last 7 days.

Authoring and validation

  • Create an XRC-137 rule that validates a payment status.
  • Draft an XRC-729 orchestration for a multi-step approval flow.
  • Create a complete XGR MultiBundle for this process.
  • Prepare a testnet handoff for this XDaLa workflow.

9. Relationship to whitepapers and references

This technical note complements the XGR Chain Technical Whitepaper. It does not modify the chain-level protocol baseline and does not belong to the MiCAR token disclosure. MCP is an agent-facing access layer for interaction, evidence inspection, authoring, validation and handoff preparation.