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
MCP server

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
All reasons and checks
Russian stack

pvragov/tinvest-mcp

Install

Services

Manual install

go install github.com/pvragov/tinvest-mcp/cmd/tinvest-mcp@latest

Requires Go 1.26+; the Ministry of Digital Development certificate is needed after installing.

Access and checks

How we review

Broad 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 positions

MCP

Transport
stdio
Authentication
API key

Environment variables

TBANK_INVEST_MCP_API_TOKEN required, 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.

T-Bank Invest MCP server, read-only

T-Bank Invest MCP Server (read-only)

Russian stack

An MCP server for a T-Bank Invest portfolio with no trading rights: positions, operations, market data, and technical and fundamental analytics

MCP serverBroad access3Repository stars
Russian stack

A console C# MCP server for T-Bank Invest: accounts, portfolio, dividends, operations and broker reports, read-only

MCP serverBroad access
Russian stack

A T-Invest MCP server: portfolio, operations and market data, with a mandatory single-account lock and a sandbox mode

MCP serverExtended access
Russian stack

An unofficial local T-Invest MCP server: portfolio analysis, screening and rebalance plans, with orders only after confirmation

MCP serverBroad access1Repository stars
Russian stack

PHP wrapper over T-Invest API: REST endpoints and MCP server with a shared catalog of over 90 methods, trading disabled by default

MCP serverBroad access
Russian stack

An MCP server for T-Bank Invest with market analysis, backtesting five strategies, risk management and order placement, with live trading off by default

MCP serverBroad access

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
T-Bank Invest MCP server in Go (this card)noAPI key1
T-Bank Invest MCP server, read-onlynoAPI key3read-only, no trading
T-Bank Invest MCP server in C#nokey is optional0reports and portfolio
T-Invest MCP server with account-id locknoAPI key0portfolio 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.

README badge

Report a problem