mcp.json•1.18 kB
{
"name": "mcp-stock-analysis",
"version": "0.1.0",
"description": "A stock analysis tool that provides real-time and historical stock data",
"author": "Your Name",
"tools": [
{
"id": "getStockQuote",
"description": "Get the current price of an Indian stock",
"parameters": {
"symbol": {
"type": "string",
"description": "The stock symbol (e.g., RELIANCE.NS for Reliance Industries)"
}
}
},
{
"id": "getHistoricalData",
"description": "Fetch historical stock prices",
"parameters": {
"symbol": {
"type": "string",
"description": "The stock symbol (e.g., RELIANCE.NS for Reliance Industries)"
},
"period": {
"type": "string",
"description": "Time period (e.g., 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max)",
"default": "1mo"
},
"interval": {
"type": "string",
"description": "Data interval (e.g., 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo)",
"default": "1d"
}
}
}
],
"command": "npx tsx index.ts",
"cwd": "."
}