Skip to main content
Glama
kingleosgold

TroyStack API

by kingleosgold

API de TroyStack

API REST + Servidor MCP para TroyStack. Proporciona datos en vivo de metales preciosos, gestión de cartera e integración con IA/LLM.

Inicio rápido

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

Related MCP server: QuantClaw Data

Desplegar en Railway

  1. Sube el repositorio a GitHub

  2. Conecta el repositorio en el panel de Railway

  3. Configura las variables de entorno:

    • SUPABASE_URL

    • SUPABASE_SERVICE_ROLE_KEY

    • PORT (Railway lo establece automáticamente)

  4. Despliega

Dominio personalizado: api.troystack.ai

Configuración de la base de datos

Ejecuta migrations/001_api_keys.sql en el editor SQL de Supabase.

Endpoints

Públicos (sin autenticación)

Método

Ruta

Descripción

GET

/v1/prices

Precios spot en vivo (Au, Ag, Pt, Pd)

GET

/v1/prices/history

Precios históricos

GET

/v1/market-intel

Titulares de noticias

GET

/v1/vault-watch

Inventario de COMEX

GET

/v1/speculation

Proyecciones hipotéticas

Autenticados (token Bearer)

Método

Ruta

Descripción

GET

/v1/portfolio

Resumen de cartera

GET

/v1/analytics

Análisis de costo base

GET

/v1/holdings

Listar tenencias

POST

/v1/holdings

Agregar compra

LLM / IA

Ruta

Descripción

/llms.txt

Descripción legible por LLM

/openapi.json

Especificación OpenAPI 3.0

/.well-known/ai-plugin.json

Manifiesto de plugin de IA

/.well-known/mcp.json

Manifiesto del servidor MCP

Arquitectura

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