TroyStack API
TroyStack API
TroyStack용 REST API + MCP 서버. 실시간 귀금속 데이터, 포트폴리오 관리, AI/LLM 통합을 제공합니다.
빠른 시작
npm install
cp .env.example .env # fill in Supabase credentials
npm run devRelated MCP server: The Gold Barometer MCP Server
Railway에 배포
GitHub 저장소에 푸시
Railway 대시보드에서 저장소 연결
환경 변수 설정:
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYPORT(Railway가 자동 설정)
배포
사용자 지정 도메인: api.troystack.ai
데이터베이스 설정
Supabase SQL 편집기에서 migrations/001_api_keys.sql을 실행하세요.
엔드포인트
공개 (인증 없음)
메서드 | 경로 | 설명 |
GET |
| 실시간 현물 가격 (Au, Ag, Pt, Pd) |
GET |
| 과거 가격 |
GET |
| 뉴스 헤드라인 |
GET |
| COMEX 재고 |
GET |
| 가상 시나리오 예측 |
인증 필요 (Bearer 토큰)
메서드 | 경로 | 설명 |
GET |
| 포트폴리오 요약 |
GET |
| 비용 기준 분석 |
GET |
| 보유 목록 |
POST |
| 구매 추가 |
LLM / AI
경로 | 설명 |
| LLM이 읽을 수 있는 설명 |
| OpenAPI 3.0 스펙 |
| AI 플러그인 매니페스트 |
| MCP 서버 매니페스트 |
아키텍처
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