T-Bank Invest (read-only)
v1.0.0Read-only T-Bank (Tinkoff) Invest API: portfolio, operations, instruments, market data.
Values you need
| Variable | What it is | |
|---|---|---|
TBANK_INVEST_TOKEN | required secret | T-Invest API token; a read-only one is enough (tbank.ru/invest/settings/api) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add t-bank-invest-mcp-read-only -e 'TBANK_INVEST_TOKEN=<TBANK_INVEST_TOKEN>' -- uvx t-bank-invest-mcp-read-only==1.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"t-bank-invest-mcp-read-only": {
"args": [
"t-bank-invest-mcp-read-only==1.0.0"
],
"command": "uvx",
"env": {
"TBANK_INVEST_TOKEN": "<TBANK_INVEST_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"t-bank-invest-mcp-read-only": {
"args": [
"t-bank-invest-mcp-read-only==1.0.0"
],
"command": "uvx",
"env": {
"TBANK_INVEST_TOKEN": "<TBANK_INVEST_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TBANK_INVEST_TOKEN",
"id": "tbank-invest-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"t-bank-invest-mcp-read-only": {
"args": [
"t-bank-invest-mcp-read-only==1.0.0"
],
"command": "uvx",
"env": {
"TBANK_INVEST_TOKEN": "${input:tbank-invest-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.t-bank-invest-mcp-read-only]
command = "uvx"
args = ["t-bank-invest-mcp-read-only==1.0.0"]
env = { "TBANK_INVEST_TOKEN" = "<TBANK_INVEST_TOKEN>" }For AI agents
- Ask the user for: TBANK_INVEST_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_accounts, get_user_info, get_margin_attributes, get_portfolio, get_positions, get_withdraw_limits, get_operations, get_operations_by_cursor, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json