Skip to main content

Overview

Preview Feature

The Stoxiio MCP Server is currently in preview. Only the preview environment (api-preview.stoxiio.com) is available at this time. Features, tools, and behavior may change before the production release.

The Stoxiio MCP Server lets you connect AI assistants — such as GitHub Copilot, Claude, Cursor, or any Model Context Protocol compatible client — directly to your Stoxiio account. Once connected, you can ask natural‑language questions about your portfolios, wealth, dashboards, and more, and the AI will call the right Stoxiio tools behind the scenes.

What is MCP?

The Model Context Protocol (MCP) is an open standard that allows AI models to securely interact with external data sources through a set of declared tools. Instead of copy‑pasting data into a chat window, MCP lets the AI read your data on demand while keeping authentication and authorization under your control.

How it works

┌─────────────────────┐        ┌──────────────────────────┐        ┌─────────────────┐
│ AI Assistant │ MCP │ Stoxiio API │ DB │ Your Data │
│ (VS Code, Claude, │◄──────►│ /mcp endpoint │◄──────►│ Portfolios, │
│ Cursor, etc.) │ HTTP │ API Key auth (Read) │ │ Dashboards… │
└─────────────────────┘ └──────────────────────────┘ └─────────────────┘
  1. Your AI client connects to https://api-preview.stoxiio.com/mcp using a Read‑only API key.
  2. The MCP server advertises a set of tools (e.g. list_portfolios, get_wealth_summary).
  3. When you ask a question, the AI selects the appropriate tool(s) and sends requests.
  4. Stoxiio returns the data, and the AI formats a human‑readable answer.

Prerequisites

RequirementDetails
Stoxiio accountCreate an account if you don't have one yet.
API Key with Read scopeGo to Settings → API Keys in the app, or see Generate an API Key.
MCP‑compatible AI clientVS Code (GitHub Copilot), Claude Code CLI, Cursor, Windsurf, etc.

Endpoint

EnvironmentURLStatus
Previewhttps://api-preview.stoxiio.com/mcp✅ Available
Productionhttps://api.stoxiio.com/mcp🚧 Coming soon

The MCP endpoint uses Streamable HTTP transport with SSE (Server‑Sent Events) fallback.

info

During the preview phase, all configurations in this guide point to api-preview.stoxiio.com. Once the feature reaches general availability, the production URL will be enabled and this documentation will be updated.

Security model

  • The MCP endpoint only accepts API key authentication (X-Api-Key header).
  • JWT Bearer tokens are not supported on the MCP endpoint.
  • The API key must have at least the Read scope. Write‑scoped keys will also work but no write tools are currently exposed.
  • API keys are tied to your user account — the AI assistant sees exactly the same data you see in the Stoxiio app.
tip

Always use a Read‑only API key for MCP integrations. This follows the principle of least privilege and ensures no AI assistant can accidentally modify your data.

Next steps

  1. Generate a Read‑only API Key
  2. Set up VS Code (GitHub Copilot)
  3. Set up Claude Code CLI
  4. Set up other clients (Cursor, Windsurf…)
  5. Available tools reference
  6. Example questions & prompts