TroyStack API
TroyStack API
REST-API + MCP-Server für TroyStack. Bietet Live-Edelmetalldaten, Portfoliomanagement und KI/LLM-Integration.
Schnellstart
npm install
cp .env.example .env # fill in Supabase credentials
npm run devRelated MCP server: The Gold Barometer MCP Server
Bereitstellung auf Railway
In GitHub-Repository pushen
Repository im Railway-Dashboard verbinden
Umgebungsvariablen festlegen:
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYPORT(Railway setzt automatisch)
Bereitstellen
Benutzerdefinierte Domain: api.troystack.ai
Datenbank-Einrichtung
Führen Sie migrations/001_api_keys.sql im Supabase-SQL-Editor aus.
Endpunkte
Öffentlich (ohne Authentifizierung)
Methode | Pfad | Beschreibung |
GET |
| Live-Spotpreise (Au, Ag, Pt, Pd) |
GET |
| Historische Preise |
GET |
| Nachrichtenschlagzeilen |
GET |
| COMEX-Bestand |
GET |
| Was-wäre-wenn-Projektionen |
Authentifiziert (Bearer-Token)
Methode | Pfad | Beschreibung |
GET |
| Portfolio-Zusammenfassung |
GET |
| Kostenbasis-Analyse |
GET |
| Bestände auflisten |
POST |
| Kauf hinzufügen |
LLM / KI
Pfad | Beschreibung |
| LLM-lesbare Beschreibung |
| OpenAPI-3.0-Spezifikation |
| KI-Plugin-Manifest |
| MCP-Server-Manifest |
Architektur
User's iPhone → TroyStack app (local SQLite)
↕ sync
Supabase (server-side storage)
↕
TroyStack API (Railway)
↕ ↕
AI Agents X/Twitter Bot
(Claude, GPT) (auto-tweets)This server cannot be deployed
Maintenance
Related MCP Connectors
Gold, silver and copper spot, 31 currencies, per-country dealer prices and nine MCP tools.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Live market data, financial analysis, and portfolio research tools across 10,000+ tickers.
Market data and analytics for external AI clients
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceProvides access to a comprehensive financial intelligence platform featuring real-time market data, quantitative models, and alternative data sources. It enables users to perform advanced financial analysis including options analytics, portfolio modeling, and SEC filing research.-
- AlicenseAqualityBmaintenanceProvides AI assistants with real-time and historical gold buying condition scores, including current readings, past data, and zone performance since 1971.329 npmMIT

AxionQuant MCP Serverofficial
AlicenseCqualityBmaintenanceEnables AI agents and LLM apps to answer natural-language financial questions using live market data, including stocks, crypto, forex, futures, indices, ETFs, economic data, news, sentiment, SEC filings, earnings, financials, insider trading, ESG, credit ratings, and web traffic.132288 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables real-time crypto market data, funding rates, cross-exchange arbitrage, portfolio analytics, exchange skills, and trading via your own connected exchange keys through natural language agent workflows.1MIT