Server data from the Official MCP Registry
Angel One SmartAPI MCP for orders, portfolio, market data, GTT rules, charges, and margin.
About
Angel One SmartAPI MCP for orders, portfolio, market data, GTT rules, charges, and margin.
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
6 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: ANGEL_API_KEY
Environment variable: ANGEL_CLIENT_ID
Environment variable: ANGEL_PASSWORD
Environment variable: ANGEL_TOTP_SECRET
Environment variable: SOFT_MAX_ORDER_QTY
Environment variable: HARD_MAX_ORDER_QTY
Environment variable: SOFT_MAX_ORDER_VALUE
Environment variable: HARD_MAX_ORDER_VALUE
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ameernoufil-angel-one": {
"env": {
"ANGEL_API_KEY": "your-angel-api-key-here",
"ANGEL_PASSWORD": "your-angel-password-here",
"ANGEL_CLIENT_ID": "your-angel-client-id-here",
"ANGEL_TOTP_SECRET": "your-angel-totp-secret-here",
"HARD_MAX_ORDER_QTY": "your-hard-max-order-qty-here",
"SOFT_MAX_ORDER_QTY": "your-soft-max-order-qty-here",
"HARD_MAX_ORDER_VALUE": "your-hard-max-order-value-here",
"SOFT_MAX_ORDER_VALUE": "your-soft-max-order-value-here"
},
"args": [
"-y",
"angel-one-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Angel One MCP Server
TypeScript Model Context Protocol server for Angel One SmartAPI.
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
Highlights
- 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.
Discoverability
- npm package:
angel-one-mcp - Official MCP Registry:
io.github.ameernoufil/angel-one - GitHub repo:
ameernoufil/angel-one-mcp
If your client supports registry-based discovery, search for io.github.ameernoufil/angel-one.
If your client prefers package installs, use angel-one-mcp from npm.
Quick Start
Option A: Use with npx (recommended)
Add this to your MCP client config:
{
"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"
}
}
}
}
Option B: Run from source
git clone https://github.com/ameernoufil/angel-one-mcp.git
cd angel-one-mcp
npm install
cp .env.example .env
npm run build
npm start
If running from source, point your MCP client to build/index.js.
Environment Variables
Required:
ANGEL_API_KEYANGEL_CLIENT_IDANGEL_PASSWORDANGEL_TOTP_SECRET
Optional safety limits:
SOFT_MAX_ORDER_QTYdefault25HARD_MAX_ORDER_QTYdefault100SOFT_MAX_ORDER_VALUEdefault10000HARD_MAX_ORDER_VALUEdefault100000
Example .env:
ANGEL_API_KEY=your_smartapi_key
ANGEL_CLIENT_ID=your_client_id
ANGEL_PASSWORD=your_mpin
ANGEL_TOTP_SECRET=your_base32_totp_secret
Safety Model
Trading mutations are guarded.
Soft limits block by default and can be overridden with force: true.
Hard limits cannot be bypassed without changing env vars and restarting the server.
Guarded operations include:
place_ordermodify_ordercreate_gtt_rulemodify_gtt_ruleconvert_position
For MARKET orders, the server attempts LTP-based value checks before allowing the request.
Tool Coverage
- 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
For an agent-focused onboarding prompt, see docs/llm-setup.md.
Development
Requirements:
- Node.js 18+
Commands:
npm install
npm run build
npm run lint
npm run lint:fix
npm run format
npm run dev
npm start
Architecture Notes
- Entry point:
src/index.ts - API client and auth flow:
src/api.ts - Config and safety limits:
src/config.ts - Order guard:
src/guards.ts - Tool registration:
src/tools/index.ts - Tool implementations:
src/tools/*.ts
License
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
