T-Bank Invest MCP server in Go
TBANK INVEST MCP SERVER
A compact Go MCP server for the T-Bank Invest API: accounts, portfolio, shares and bonds, requiring the Russian Ministry of Digital Development root certificate
- 1 ★ on the repository
- Last commit
Broad access
Why this level
- The server handles a secret: it does not start without a T-Invest token
- The token grants access to real accounts and a portfolio, and disabling TLS certificate verification weakens connection security
Install
- Works in
- Services
Manual install
go install github.com/pvragov/tinvest-mcp/cmd/tinvest-mcp@latestRequires Go 1.26+; the Ministry of Digital Development certificate is needed after installing.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- The server handles a secret: it does not start without a T-Invest token
- The token grants access to real accounts and a portfolio, and disabling TLS certificate verification weakens connection security
This is third-party code. Review the repository files before installing.
What it does
A Go server connects to the T-Bank Invest gRPC API and provides tools to read accounts, portfolio, bonds, shares and instruments, with no trading operations. It runs over stdin. A notable detail: accessing the Invest API requires the Russian Ministry of Digital Development root certificate, downloadable from Gosuslugi or taken from the repo's own certs/tbank_ca.pem and pointed to via TBANK_INVEST_MCP_TLS_CA_CERT_PATH. Certificate verification can be disabled with TBANK_INVEST_MCP_TLS_SKIP_VERIFY, but the README explicitly calls that strongly discouraged.
Who it is for. For T-Bank investors who want a lightweight Go server to read their portfolio without Python or Node in the environment.
Good fit when
- You want a minimal binary with no Python or Node runtime to read your T-Bank Invest portfolio
- You are ready to install the Russian Ministry of Digital Development root certificate for API access
- Accounts, portfolio, bonds and shares are enough, no trading needed
Not a fit when
- You cannot install or point to the Ministry of Digital Development root certificate: without it, or without TLS_SKIP_VERIFY, the connection fails
- You need market data, candles, order book, dividends or technical analysis: this server does not provide them
Example request
Show my T-Bank Invest accounts and portfolio with current positionsMCP
- Transport
- stdio
- Authentication
- API key
Environment variables
TBANK_INVEST_MCP_API_TOKENrequired, secret- T-Bank Invest API token
TBANK_INVEST_MCP_TLS_CA_CERT_PATH- Absolute path to the Ministry of Digital Development root certificate for TLS verification
TBANK_INVEST_MCP_TLS_SKIP_VERIFY- Skips server certificate verification; the README calls this strongly discouraged
Limitations
The repository has no license. Functionality is limited to accounts, portfolio, bonds and shares, with no market data, dividends, technical analysis or order listing that fuller read-only alternatives provide. It requires installing the Russian Ministry of Digital Development root certificate; disabling verification is explicitly discouraged by the README.
How to disable. Remove the tinvest entry from your MCP client config and delete the TBANK_INVEST_MCP_API_TOKEN from your environment.
FAQ
Why is the Ministry of Digital Development certificate needed?
The T-Bank Invest API validates the server's TLS certificate through the Russian root certification authority; without it, or without disabling verification, the connection fails.
Can I skip installing the certificate?
Yes, with TBANK_INVEST_MCP_TLS_SKIP_VERIFY=true, but the README explicitly calls that strongly discouraged.
Discussion
No questions or reviews yet.
Related
All T-Bank toolsT-Bank Invest MCP server, read-only
T-Bank Invest MCP Server (read-only)
An MCP server for a T-Bank Invest portfolio with no trading rights: positions, operations, market data, and technical and fundamental analytics
T-Bank Invest MCP server in C#
TInvestMcp
A console C# MCP server for T-Bank Invest: accounts, portfolio, dividends, operations and broker reports, read-only
T-Invest MCP server with account-id lock
Tinkoff Invest MCP Server
A T-Invest MCP server: portfolio, operations and market data, with a mandatory single-account lock and a sandbox mode
An unofficial local T-Invest MCP server: portfolio analysis, screening and rebalance plans, with orders only after confirmation
PHP REST API and MCP for T-Invest
tbank_mcp_and_api
PHP wrapper over T-Invest API: REST endpoints and MCP server with a shared catalog of over 90 methods, trading disabled by default
Autonomous trading MCP for T-Bank Invest
Tinkoff Trader MCP
An MCP server for T-Bank Invest with market analysis, backtesting five strategies, risk management and order placement, with live trading off by default
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| T-Bank Invest MCP server in Go (this card) | no | API key | 1 | |
| T-Bank Invest MCP server, read-only | no | API key | 3 | read-only, no trading |
| T-Bank Invest MCP server in C# | no | key is optional | 0 | reports and portfolio |
| T-Invest MCP server with account-id lock | no | API key | 0 | portfolio for a single account |
README in short
A short Russian README describes installing via go install, four environment variables for the token and TLS certificate, running over stdin with a config check via an echoed JSON-RPC initialize call, and a ready JSON config for AI agents.