> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ix.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Gateway (MCP)

> A hosted, read-only Model Context Protocol endpoint that lets AI agents query IX RWA assets, stats, and portfolios.

IX RWA exposes a hosted, **read-only** [Model Context Protocol](https://modelcontextprotocol.io) (MCP) endpoint — the **Agent Gateway**. It lets AI agents and MCP-compatible clients read the protocol's live data directly: available assets, protocol statistics, and wallet portfolios.

<Note>
  The Agent Gateway is **read-only**. Agent-initiated transactions (payments, allocation) are a roadmap item, gated behind the verified money-path and mainnet — see [Roadmap](/why-ix-rwa#roadmap).
</Note>

## Endpoint

<CodeGroup>
  ```text Endpoint theme={null}
  https://testnet.ixrwa.capital/api/mcp
  ```
</CodeGroup>

Transport is **Streamable HTTP** using JSON-RPC 2.0. Point any MCP-compatible client at the URL above.

## Tools

| Tool             | Purpose                                                     |
| ---------------- | ----------------------------------------------------------- |
| `list_assets`    | List available compute assets and their headline economics. |
| `get_asset`      | Fetch full detail for a single asset by id.                 |
| `protocol_stats` | Protocol-level statistics (assets, AUM, activity).          |
| `get_portfolio`  | Read a wallet's holdings and positions.                     |

## Quickstart

<Steps>
  <Step title="List the available tools">
    Send an MCP `tools/list` request to discover the tools above and their input schemas.
  </Step>

  <Step title="Call a tool">
    Invoke a tool with `tools/call`. For example, list assets:

    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "tools/call",
      "params": { "name": "list_assets", "arguments": {} }
    }
    ```
  </Step>

  <Step title="Read a portfolio">
    ```json theme={null}
    {
      "jsonrpc": "2.0",
      "id": 2,
      "method": "tools/call",
      "params": { "name": "get_portfolio", "arguments": { "walletAddress": "0x…" } }
    }
    ```
  </Step>
</Steps>

## Use it from an MCP client

Add the endpoint to any MCP-compatible client (for example, Claude Code):

```json theme={null}
{
  "mcpServers": {
    "ix-rwa": { "type": "http", "url": "https://testnet.ixrwa.capital/api/mcp" }
  }
}
```

## Data, honestly

The Gateway serves the same data the app uses. Asset economics include **model-based projections** (utilization and fee assumptions) as described in [Revenue & distributions](/protocol/revenue-and-distributions); realized on-chain figures are distinguished from projections. All values are **testnet** today.
