TroyStack API
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
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: The Gold Barometer MCP Server
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)Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Live and historical prices for gold, silver and other metals, energy, currencies and crypto.
Gold, silver and copper spot, 31 currencies, per-country dealer prices and nine MCP tools.
Real-time & historical precious metals quotes (gold/silver/platinum/palladium) via MCP.
Live and historical metal prices, COMEX inventory, CFTC positioning and Shanghai premiums.
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.351 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to pull live Indian and global market data and run research workflows, including multi-agent stock debate, sentiment and insider-activity detection, options and Greeks analytics, and portfolio risk scanning. It also covers institutional flows, mutual fund overlap, pledge alerts, and macro indicators so users can go from a single question to a ranked, reasoned trade or risk assessment.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and analyze financial data, stock information, company fundamentals, market insights, and 250+ tools across asset classes. Supports flexible hosted or self-hosted deployment with dynamic toolset management.558 npmApache 2.0