The Secure MCP Gateway serves as the central interoperability layer in the TMX Agentic Finance architecture. It implements the Aggregator Pattern, acting as a unified Model Context Protocol (MCP) server that sits between the TMX Agent Core (the client) and multiple specialized MCP Servers (Wallet, Payment, Core Banking Sidecar).
Its primary responsibilities are:
The Gateway functions as a Reverse Proxy for MCP traffic. To the Agent Core, the Gateway appears as a single MCP server with a vast capability set. To the downstream MCP servers, the Gateway appears as a standard MCP client.

The Gateway aggregates schemas (Tools, Resources, Prompts) using a dynamic discovery and namespacing mechanism.
On initialization (and periodically via background polling), the Gateway iterates through its configured downstream servers:
tools/list, resources/listTo prevent naming conflicts (e.g., both Wallet and Core having a get_balance tool), the Gateway enforces a Namespacing Strategy:
get_balance (from Wallet MCP)wallet_get_balance