Upstox MCP Server
Integrates with Perplexity AI to enable LLM-based inference for portfolio rebalancing strategies and trading commands through the MCP protocol.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Upstox MCP Serverrebalance my portfolio based on current market trends"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quick Start Guide - Upstox MCP Server
Step 1: Get Upstox API Credentials
Create/login to your account
Generate API Key and API Secret
Set Redirect URI:
http://localhost:3000/callback
Step 2: Clone/Create Project
Note Edit .env with your credentials:
Step 3: Run with Docker
docker-compose up
Note: Replace the environment variable values in the docker-compose.yml
Related MCP server: zerodha-claude-mcp
References
MCP Protocol and Server concepts
Integration with Perplexity and other LLM APIs
Portfolio rebalancing strategies with AI inference
Perplexity Local MCP integration
Architecture
Node.js MCP Server: Implements MCP Protocol for communication.
LLM Integration Module: Handles calls to external LLMs such as Perplexity for inference.
Docker Container: Provides isolated, reproducible run environment.
Development
Running Locally
Install dependencies:
npm install
Start the application:
npm run start / dev
Testing
Run tests with:
npx @modelcontextprotocol/inspector node dist/server.jsConnecting a Locally Running MCP to Perplexity
Configure Perplexity to Connect to MCP
Go to below path Settings -> Connectors -> + Add Connector
Provide a Name "Robinhood" so your LLM targets the mcp
Under advanced tab
Copy paste the perplexity.config.json content in Advanced tab in connectors
Update your Perplexity environment variables to point to your MCP instance
Save and exit. You should be able to see your MCP showing runnng with number of tools.
Start Using and happy trading
Once connected, you can use Perplexity to send commands and queries to your local MCP seamlessly. and you should be able to see the mcp under sources
Note: Replace the environment variable values in perplexity.config.json
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceIntegrates with Robinhood API and LLMs like Perplexity to provide AI-powered portfolio rebalancing recommendations and trading analytics without executing trades directly.Last updated65Apache 2.0
- Flicense-qualityDmaintenanceEnables AI models to interact with the Zerodha trading platform for portfolio management, trading, and account operations through natural language.Last updated3
- Alicense-qualityCmaintenanceEnables AI assistants to trade stocks directly through natural language by creating and managing bots, executing trades, accessing market data, and backtesting strategies.Last updated4MIT
- Flicense-qualityCmaintenanceEnables LLM agents to analyze portfolios and execute orders on the Indian stock market via Upstox API v2 using natural language.Last updated
Related MCP Connectors
Global stock research, ML forecasts, valuation signals, screeners & portfolio tracking in Claude
HiveCapital MCP Server — autonomous investment layer for AI agents
Real-time news with bias scoring, live market data, and AI-powered options pricing
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/dileepgaganr/upstox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server