MCPClient from @mastra/mcp. It exposes SAN’s tools to any Mastra Agent.
Prerequisites
- Node.js 20+
- A SAN API key
Create one in the API Quickstart if you don’t have one yet.
Quick Start
Point an MCPClient at SAN
A
url created with new URL() uses streamable HTTP. Pass your key under requestInit.headers.