TroyStack API
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TroyStack APIWhat's the current price of gold?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TroyStack API
REST API + MCP Server for TroyStack. Provides live precious metals data, portfolio management, and AI/LLM integration.
Quick Start
npm install
cp .env.example .env # fill in Supabase credentials
npm run devRelated MCP server: FinanceKit MCP
Deploy to Railway
Push to GitHub repo
Connect repo in Railway dashboard
Set environment variables:
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYPORT(Railway sets automatically)
Deploy
Custom domain: api.troystack.ai
Database Setup
Run migrations/001_api_keys.sql in Supabase SQL editor.
Endpoints
Public (no auth)
Method | Path | Description |
GET |
| Live spot prices (Au, Ag, Pt, Pd) |
GET |
| Historical prices |
GET |
| News headlines |
GET |
| COMEX inventory |
GET |
| What-if projections |
Authenticated (Bearer token)
Method | Path | Description |
GET |
| Portfolio summary |
GET |
| Cost basis analysis |
GET |
| List holdings |
POST |
| Add purchase |
LLM / AI
Path | Description |
| LLM-readable description |
| OpenAPI 3.0 spec |
| AI plugin manifest |
| MCP server manifest |
Architecture
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
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.
Gold/silver/copper spot & futures, per-country dealer prices, options-implied probability surface.
Live market data, financial analysis, and portfolio research tools across 10,000+ tickers.
Real-time news with bias scoring, live market data, and AI-powered options pricing
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.-
- AlicenseAqualityCmaintenanceProvides AI agents with real-time financial market intelligence including stock quotes, crypto data, technical analysis, and portfolio insights. Enables natural language queries for current prices, technical indicators, asset comparisons, and portfolio analysis.177MIT

inferventisofficial
FlicenseNot gradedqualityDmaintenanceEnables AI agents to access real-time financial data, news, and web reading through a single MCP endpoint with zero installation.-- AlicenseAqualityBmaintenanceProvides AI assistants with real-time and historical gold buying condition scores, including current readings, past data, and zone performance since 1971.313 npmMIT