Finvasia

Finvasia

3.2

If you are the rightful owner of Finvasia and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Finvasia MCP Server is a Node.js-based server that connects to Finvasia's Market Connect Protocol (MCP) to enable seamless interaction with the Finvasia trading platform.

Finvasia MCP Server

A Node.js-based server that connects to Finvasia's Market Connect Protocol (MCP) to enable seamless interaction with the Finvasia trading platform. This server acts as a bridge between Finvasiaโ€™s API and your trading application or frontend dashboard.

๐Ÿ“Œ Current Features

  • ๐Ÿ‘ค Fetch User Profile Data
  • ๐Ÿ’ฐ Fetch Account Balance
  • ๐ŸŸข Buy Orders
  • ๐Ÿ”ด Sell Orders
  • โŒ Cancel Orders
  • โœ๏ธ Modify Orders
  • ๐Ÿ“ˆ Current Stock Prices
  • ๐Ÿ“Š Positions
  • ๐Ÿ’ผ Holdings
  • ๐Ÿ’ธ Order Margin
  • ๐Ÿ“š Order Book
  • ๐Ÿ“’ Trade Book
  • ๐ŸŽฏ Take Profit Orders
  • ๐Ÿ›‘ Stop Loss Orders
  • ๐Ÿง  Options Buy & Sell

More features and modules will be added progressively.

๐Ÿ› ๏ธ Tech Stack

  • Backend: Node.js
  • Broker API: Finvasia Shoonya (MCP)

Finvasia MCP Integration

This repository provides a basic integration setup for Finvasia API with the Model Context Protocol (MCP) server. It enables you to connect and access your Finvasia account through a standardized stdio interface, allowing seamless compatibility with MCP-based applications.

๐Ÿš€ Getting Started

1. Clone the Repository

git clone https://github.com/HexaMCP/Finvasia.git
cd Finvasia

2. Install Dependencies

npm install

๐Ÿ” 3. Environment Setup

Create a .env file in the root directory with the following keys from Finvasia:

ID="Your Finvasia ID"
PASSWORD="Your Password"
VENDOR_KEY="Your Vendor Key"
IMEI="Your IMEI"
API_KEY="Your API Key"
TOTP="Your TOTP Code"

4. Build the Project

npm run build

5. Start the Project

npm start

Start the MCP server in your respective port (ex: http://localhost:3000)

โš™๏ธ MCP Configuration for SSE

In your mcp config json, add the following configuration block:

{
  "Your MCP project name": {
    "type": "sse",
    "url": "http://localhost:3000",
  }
}

๐Ÿ—‚๏ธ Where to add this configuration:

For VS Code users, this config should be placed inside your settings.json.

๐Ÿ“ž Support

For any issues or assistance with the integration, please contact blaze.ws for support.

You can reach out to us for troubleshooting, feature requests, or any general inquiries related to this MCP integration.