Skip to main content
Glama
skotlander

Stock Trends MCP Server

by skotlander

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STOCKTRENDS_API_KEYNoSECRET. Use placeholder in all docs. Required for paid exposure and execution. Sent only as X-API-Key header to approved endpoints. Never logged.
STOCKTRENDS_API_BASE_URLNoMust be an approved Stock Trends HTTPS origin. Not a secret.https://api.stocktrends.com
STOCKTRENDS_MCP_LOG_LEVELNoNormal logs go to stderr, never stdout. Not a secret.warn
STOCKTRENDS_MCP_TRANSPORTNoOnly 'stdio' is supported. Not a secret.stdio
STOCKTRENDS_ENABLE_PAID_TOOLSNoExposure flag. When 'true' with a configured API key, exposes the paid tool definitions. Never executes on its own. Not a secret.false
STOCKTRENDS_ENABLE_X402_RELAYNoWhen 'true', exposes the nine paid semantic tool names without an API key. Cannot be mixed with STOCKTRENDS_ENABLE_PAID_TOOLS. Not a secret.false
STOCKTRENDS_MAX_STC_PER_SESSIONNoSTC budget cap. A nonzero STC cost with no STC cap is denied. Not a secret.
STOCKTRENDS_MAX_USD_PER_SESSIONNoUSD budget cap. A nonzero USD cost with no USD cap is denied. Not a secret.
STOCKTRENDS_ENABLE_PAID_EXECUTIONNoExecution flag. Requires paid tools flag, API key, pricing preflight, nonzero caps, and budget cap. Not a secret.false
STOCKTRENDS_MAX_PAID_CALLS_PER_TOOLNoPer-tool paid-call cap. 0 denies; requires explicit nonzero value. Not a secret.0
STOCKTRENDS_REQUIRE_PRICING_PREFLIGHTNoPricing preflight is mandatory; setting to 'false' denies paid execution. Not a secret.true
STOCKTRENDS_MAX_PAID_CALLS_PER_SESSIONNoPer-session paid-call cap. 0 denies all; live execution requires explicit nonzero value. Not a secret.0
STOCKTRENDS_ENABLE_X402_PROOF_FORWARDINGNoUnsupported. Off values accepted; 'true' fails startup. Not a secret.false
STOCKTRENDS_ENABLE_X402_CHALLENGE_EXECUTIONNoOnly usable with STOCKTRENDS_ENABLE_X402_RELAY=true. Literal 'true' preserves deterministic mock results. Not a secret.false
STOCKTRENDS_ENABLE_X402_LIVE_CHALLENGE_RELAYNoOnly literal 'true' enables; requires relay and challenge flags to be true. Allows at most one no-key GET per tool, capped. Not a secret.false

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
stocktrends_estimate_workflow_costA

Public/free planning tool that calls GET /v1/cost-estimate for workflow-level budgeting only. It does not authorize paid execution, payment, x402, wallet use, or paid endpoint calls.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
stocktrends_openapi_contractPublic OpenAPI contract fetched on request from GET /v1/openapi.json.
stocktrends_ai_contextPublic AI context fetched on request from GET /v1/ai/context after no-key verification.
stocktrends_ai_tools_manifestPublic machine-readable API tools manifest fetched on request from GET /v1/ai/tools.
stocktrends_workflowsPublic workflow planning metadata fetched on request from GET /v1/workflows.
stocktrends_methodology_stimPublic ST-IM methodology metadata fetched on request from GET /v1/meta/stim.
stocktrends_methodology_indicatorsPublic indicator methodology metadata fetched on request from GET /v1/meta/indicators.
stocktrends_methodology_inferencePublic provider-agnostic inference metadata fetched on request from GET /v1/meta/inference.
stocktrends_pricing_catalogPublic pricing catalog fetched on request from GET /v1/pricing/catalog for planning metadata only.
stocktrends_proof_market_edgePublic static market-edge proof metadata fetched on request from GET /v1/ai/proof/market-edge.
stocktrends_leadership_definitionsPublic leadership indicator and taxonomy definitions fetched on request from GET /v1/leadership/definitions after credential-free verification.

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/skotlander/stocktrends-mcp-server'

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