@houtini/fmp-mcp 1.0.0 → 1.0.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/build/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/build/index.js
CHANGED
|
@@ -259,7 +259,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
259
259
|
}
|
|
260
260
|
case 'get_stock_news': {
|
|
261
261
|
const { symbol, limit = 10 } = args;
|
|
262
|
-
const data = await fetchFMP(`/
|
|
262
|
+
const data = await fetchFMP(`/news/stock?symbols=${symbol.toUpperCase()}&limit=${limit}`);
|
|
263
263
|
return {
|
|
264
264
|
content: [
|
|
265
265
|
{
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -297,7 +297,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
297
297
|
|
|
298
298
|
case 'get_stock_news': {
|
|
299
299
|
const { symbol, limit = 10 } = args as { symbol: string; limit?: number };
|
|
300
|
-
const data = await fetchFMP(`/
|
|
300
|
+
const data = await fetchFMP(`/news/stock?symbols=${symbol.toUpperCase()}&limit=${limit}`);
|
|
301
301
|
return {
|
|
302
302
|
content: [
|
|
303
303
|
{
|