@stock2trend/mcp-server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55,9 +55,9 @@ function errorResult(message) {
|
|
|
55
55
|
}
|
|
56
56
|
const server = new McpServer({
|
|
57
57
|
name: 'stock2trend',
|
|
58
|
-
version: '0.1.
|
|
58
|
+
version: '0.1.1',
|
|
59
59
|
});
|
|
60
|
-
server.tool('get_hot_stocks', 'Get Stock2Trend\'s latest "Hot Stocks to Watch" (unusual options activity). Optionally filter by price range.
|
|
60
|
+
server.tool('get_hot_stocks', 'Get Stock2Trend\'s latest "Hot Stocks to Watch" (unusual options activity). Optionally filter by price range. Consumes one Hot Stocks Scan from your daily plan limit.', {
|
|
61
61
|
priceRange: z.enum(['under10', '10to50', 'over50']).optional().describe('Optional price band filter'),
|
|
62
62
|
limit: z.number().int().min(1).max(50).optional().describe('Max stocks per range (default 10)'),
|
|
63
63
|
}, async ({ priceRange, limit }) => {
|
|
@@ -74,7 +74,7 @@ server.tool('search_symbols', 'Search for US stock ticker symbols by company nam
|
|
|
74
74
|
return errorResult(res.error || 'Symbol search failed');
|
|
75
75
|
return textResult(res.data);
|
|
76
76
|
});
|
|
77
|
-
server.tool('analyze_options', 'Run Stock2Trend\'s single-stock options analysis for a ticker (call/put flow, premium flow, implied volatility, max pain, signals). Consumes one
|
|
77
|
+
server.tool('analyze_options', 'Run Stock2Trend\'s single-stock options analysis for a ticker (call/put flow, premium flow, implied volatility, max pain, signals). Consumes one Hot Stocks Scan from your daily plan limit.', {
|
|
78
78
|
ticker: z.string().min(1).max(12).describe('US stock ticker, e.g. "AAPL"'),
|
|
79
79
|
}, async ({ ticker }) => {
|
|
80
80
|
const res = await callGateway('options.analyze', { ticker });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stock2trend/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server that lets an AI agent use a Stock2Trend account (Hot Stocks, symbol search, options analysis) with the user's own plan limits.",
|
|
6
6
|
"license": "MIT",
|