Skip to main content
Glama
kingleosgold

TroyStack API

by kingleosgold

TroyStack API

REST API + MCP Server,用于 TroyStack。提供实时贵金属数据、投资组合管理以及 AI/LLM 集成。

快速开始

npm install
cp .env.example .env  # fill in Supabase credentials
npm run dev

Related MCP server: QuantClaw Data

部署到 Railway

  1. 推送到 GitHub 仓库

  2. 在 Railway 仪表板中连接仓库

  3. 设置环境变量:

    • SUPABASE_URL

    • SUPABASE_SERVICE_ROLE_KEY

    • PORT(Railway 自动设置)

  4. 部署

自定义域名:api.troystack.ai

数据库设置

在 Supabase SQL 编辑器中运行 migrations/001_api_keys.sql

端点

公共(无需认证)

方法

路径

描述

GET

/v1/prices

实时现货价格(Au、Ag、Pt、Pd)

GET

/v1/prices/history

历史价格

GET

/v1/market-intel

新闻头条

GET

/v1/vault-watch

COMEX 库存

GET

/v1/speculation

假设情景预测

已认证(Bearer 令牌)

方法

路径

描述

GET

/v1/portfolio

投资组合摘要

GET

/v1/analytics

成本基础分析

GET

/v1/holdings

列出持仓

POST

/v1/holdings

添加购买记录

LLM / AI

路径

描述

/llms.txt

LLM 可读的描述

/openapi.json

OpenAPI 3.0 规范

/.well-known/ai-plugin.json

AI 插件清单

/.well-known/mcp.json

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)
F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables quantitative trading analysis with 12 tools for real-time market data, 28+ technical indicators, FinBERT-powered news sentiment analysis, and automated trading signal generation for stocks and forex.
    1
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides 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.
  • A
    license
    A
    quality
    C
    maintenance
    Provides 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.
    17
    6
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kingleosgold/troystack-api'

If you have feedback or need assistance with the MCP directory API, please join our Discord server