T-Bank MCP
T-Bank (Т-Банк) MCP — mobile banking API server for Claude Code, Codex, ChatGPT, and other MCP-capable agents.

The buttons register the tbank-mcp command — run pip install tbank-mcp first.
Features
- 91 tools: accounts, cards, documents, operations, grocery ordering, cinema and
concert tickets, train and flight booking, hotel search, orders, transfers
(including payment by bank requisites, from a scanned invoice QR), messenger,
investments
- A skill for every vertical, entered through the
tbank router skill: grocery
order, tickets, travel, transfer, bill pay, cards & documents, messenger, budget
analysis, invest advisor, login
- Pinned CA trust: system store + the Russian Trusted Root CA (Минцифры), which no
OS ships and every
*.t-bank-app.ru host needs — that is most of the hosts this
MCP talks to. Shipped in tbank_mcp/ca/roots/, pinned by SHA-256. Leaf/intermediate rotation
needs no action; a root rotation is a PEM drop into tbank_mcp/ca/roots/ (or TBANK_EXTRA_CA).
The verify bundle is (re)generated from that material into
~/.local/share/tbank-mcp/bundle.pem; TBANK_CA_BUNDLE relocates it — it is a
write target, not a curated input, so extra roots go in via TBANK_EXTRA_CA.
Certificates are never learned from the network — see the header of tbank_mcp/tls.py.
- Grocery checkout: search → cart → order → pay (proven end-to-end)
- Secure login: password/PIN stay OUT of the LLM context (local CLI or env var)
Quick Install
As a Claude Code plugin (server + every skill in one step)
/plugin marketplace add icyberdeveloper/tbank-mcp
/plugin install tbank@tbank-mcp
/reload-plugins
There is no store to be admitted to — a marketplace is just a git repo with a
.claude-plugin/marketplace.json, and anyone can host one.
The venv and the Python dependencies are created on the server's first start by
bin/tbank-mcp: a plugin manifest cannot run install steps (install is not a
field in the schema), so the launcher does it once and every later start goes
straight to the server. Only the grocery checkout needs a browser, and 150 MB is
not something to download behind your back — install it yourself if you want that
flow:
~/.claude/plugins/cache/tbank-mcp/tbank/*/.venv/bin/python -m playwright install chromium
From PyPI
pip install tbank-mcp
tbank-mcp-login +7XXXXXXXXXX # first login: SMS code + password in YOUR terminal, not the LLM
claude mcp add tbank -- tbank-mcp
tbank-mcp-skills # optional: the Claude Code skills, into ~/.claude/skills
The tbank-mcp console script starts the stdio server; the pinned CA roots, the
flows reference and the skills all ship inside the wheel, so it runs from anywhere.
tbank-mcp-login is the same login CLI as the repo's login_cli.py — both write
the session to the same file the server reads. tbank-mcp-skills installs the
skills for Claude Code (default ~/.claude/skills, --target for elsewhere) and,
unlike a plain cp, first removes stale copies under retired names — re-run it
after upgrades. The grocery checkout browser stays opt-in here too:
python -m playwright install chromium.
Manually (clone, no plugin)
git clone https://github.com/icyberdeveloper/tbank-mcp.git
cd tbank-mcp
python -m venv .venv && . .venv/bin/activate
pip install -e .
python -m playwright install chromium
# MCP server:
claude mcp add tbank -- ./.venv/bin/python -m tbank_mcp.server
# Skills — a COPY, so it does not follow the repo. Re-run after every pull, or
# the installed skills quietly describe an older version of these tools. The
# installer also removes stale copies under RENAMED skill names, which a plain
# cp never does — the agent would keep loading the stale one:
.venv/bin/tbank-mcp-skills
Linux VPS with ChatGPT through OpenAI Secure MCP Tunnel