MCP.so
登录

MCP Upstox Trading Server

@lonelypx

基本信息

分类

金融与商务

传输方式

stdio

作者

lonelypx

关于 MCP Upstox Trading Server

暂无概览

#mcp-upstox#trading-server#automated-trading

MCP Upstox Trading Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-upstox-server": {
      "command": "node",
      "args": [
        "server.js"
      ],
      "env": {
        "NODE_ENV": "development"
      }
    }
  }
}

MCP Upstox Trading Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Upstox Trading Server?

An automated trading application that identifies and trades based on high-probability support and resistance levels (Most Connected Pivot) using historical price data. It is designed for traders using the Upstox brokerage platform.

How to use MCP Upstox Trading Server?

Install Node.js v14+, clone the project, run npm install, create a .env file with Upstox API credentials, then start the server with node server.js. Authenticate by visiting http://localhost:3000/auth.

Key features of MCP Upstox Trading Server

  • Implements the Most Connected Pivot (MCP) technical analysis strategy
  • Uses official Upstox JavaScript SDK for API calls
  • Automatic token refresh and secure token persistence
  • Supports multiple deployment options: local, Heroku, AWS EC2, Docker
  • Provides REST endpoints for MCP calculation, trading, and automated strategy

Use cases of MCP Upstox Trading Server

  • Automatically identify significant support/resistance levels for trading instruments
  • Execute limit orders when price approaches identified MCP levels
  • Run a fully automated MCP strategy with lookback and investment parameters
  • Analyze multiple symbols simultaneously for MCP signals
  • Backtest MCP strategy using historical data

常见问题

1

What prerequisites are needed to run the server?

Node.js v14 or higher, NPM, an Upstox Developer Account with API access, and basic understanding of JavaScript and trading concepts.

2

How does the server handle authentication?

It stores access and refresh tokens in a local `token.json` file, automatically refreshes them 5 minutes before expiry, and provides a `/logout` endpoint to clear stored tokens.

3

What symbols and intervals does the server support?

Symbols must follow the Upstox format (e.g., `NSE_FO|NIFTY-I`). Intervals like `1D` are supported, with configurable lookback dates via query parameters.

4

What deployment options are documented?

Local deployment with `node server.js`, cloud deployment on Heroku or AWS EC2 (using PM2), and containerized deployment via Docker.

5

How can the MCP calculation be customized?

By modifying the `calculateMCP()` function in `server.js` – adjusting connection criteria, pivot point identification, deviation thresholds, and trend identification logic.

评论

金融与商务 分类下的更多 MCP 服务器