The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Troystack listing page.
REST API + MCP Server for TroyStack. Provides live precious metals data, portfolio management, and AI/LLM integration.
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYPORT (Railway sets automatically)Custom domain: api.troystack.ai
Run migrations/001_api_keys.sql in Supabase SQL editor.
| Method | Path | Description |
|---|---|---|
| GET | /v1/prices | Live spot prices (Au, Ag, Pt, Pd) |
| GET | /v1/prices/history | Historical prices |
| GET | /v1/market-intel | News headlines |
| GET | /v1/vault-watch | COMEX inventory |
| GET | /v1/speculation | What-if projections |
| Method | Path | Description |
|---|---|---|
| GET | /v1/portfolio | Portfolio summary |
| GET | /v1/analytics | Cost basis analysis |
| GET | /v1/holdings | List holdings |
| POST | /v1/holdings | Add purchase |
| Path | Description |
|---|---|
/llms.txt | LLM-readable description |
/openapi.json | OpenAPI 3.0 spec |
/.well-known/ai-plugin.json | AI plugin manifest |
/.well-known/mcp.json | MCP server manifest |