Angel One MCP Server

Angel One SmartAPI MCP for orders, portfolio, market data, GTT rules, charges, and margin.

Local serverstdioTypeScript

What is the Angel One MCP server?

Connect Angel One to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Angel One SmartAPI MCP for orders, portfolio, market data, GTT rules, charges, and margin. The angel one mcp server is what makes that connection.

What the server does

Use it from Claude, Cursor, Copilot, or any MCP client to: - place and manage orders - read holdings, positions, and funds - fetch market data, candles, OI, Greeks, and movers - manage GTT rules - estimate charges and margin

  • Direct fetch() integration. No Angel One SDK dependency
  • Auto TOTP generation from your base32 secret
  • Lazy login with token refresh in API layer
  • Safety guard for trading mutations with soft and hard limits
  • stdio MCP server. Works well with npx

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • ANGEL_API_KEY — ANGEL_CLIENT_ID
  • ANGEL_PASSWORD — ANGEL_TOTP_SECRET
  • place_order — modify_order
  • create_gtt_rule — modify_gtt_rule
  • Auth — ** login and logout
  • Portfolio — ** holdings, positions, funds, conversion
  • Orders — ** place, modify, cancel, book lookup, trade lookup
  • Market — ** search, LTP, quotes, candles, OI, Greeks, movers, PCR
  • GTT — ** create, modify, cancel, list, inspect
  • Calculator — ** margin and brokerage estimates
  • User — ** profile

Credentials and setup notes

Configuration is passed through the environment: ANGEL_API_KEY, ANGEL_CLIENT_ID, ANGEL_PASSWORD, ANGEL_TOTP_SECRET. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

The server ships on npm as npm, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Angel One's toolset — ANGEL_API_KEY, ANGEL_PASSWORD, place_order and 8 more — is a fair guide to whether it matches your workflow. It is maintained by ameernoufil; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Angel One.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
ANGEL_API_KEYANGEL_CLIENT_ID
ANGEL_PASSWORDANGEL_TOTP_SECRET
place_ordermodify_order
create_gtt_rulemodify_gtt_rule
Auth** login and logout
Portfolio** holdings, positions, funds, conversion
Orders** place, modify, cancel, book lookup, trade lookup
Market** search, LTP, quotes, candles, OI, Greeks, movers, PCR
GTT** create, modify, cancel, list, inspect
Calculator** margin and brokerage estimates
User** profile

How to install the Angel One MCP server

{
  "mcpServers": {
    "angel-one": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "angel-one-mcp"],
      "env": {
        "ANGEL_API_KEY": "your_smartapi_key",
        "ANGEL_CLIENT_ID": "your_client_id",
        "ANGEL_PASSWORD": "your_mpin",
        "ANGEL_TOTP_SECRET": "your_base32_totp_secret"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ANGEL_API_KEYCredential the server authenticates with.Yes
ANGEL_CLIENT_IDConfiguration value read at startup.Optional
ANGEL_PASSWORDConfiguration value read at startup.Optional
ANGEL_TOTP_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Angel One to ANGEL API KEY.
  • Use Angel One to ANGEL PASSWORD.
  • Use Angel One to place order.

Frequently asked questions

It connects Angel One to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (ANGEL_API_KEY, ANGEL_PASSWORD, place_order, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Angel One directly.