Skip to main content
Glama
nonnname

T-Invest MCP Server

by nonnname

T-Invest MCP 서버

Claude 및 기타 LLM 클라이언트에서 T-Invest(Tinkoff Investments) API를 사용하기 위한 MCP 서버입니다.

Node.js 기반의 t-invest-mcp-server 포트입니다.

도구 (30)

계좌 관리

도구

매개변수

설명

get_accounts

증권 계좌 목록

get_bank_accounts

은행 계좌 목록

get_user_info

사용자 프로필 (요금제, 전문 투자자 여부)

get_user_tariff

API 제한 (요청/분, 스트림)

get_portfolio

accountId*, tickers?

티커별 필터링이 포함된 계좌 포트폴리오

get_positions

accountId*

계좌 포지션 (현금, 유가증권, 선물)

get_withdraw_limits

accountId*

출금 한도

get_margin_attributes

accountId*

마진 속성 (유동성 포트폴리오, 초기 증거금)

get_account_values

accountIds*

추가 계좌 지표

pay_in

fromAccountId, toAccountId, amount*, currency?

은행 계좌에서 증권 계좌로 입금

currency_transfer

fromAccountId, toAccountId, amount*, currency?

증권 계좌 간 이체

분석 및 도구

도구

매개변수

설명

get_asset_fundamentals

tickers*

기본 지표: P/E, ROE, EBITDA 등 (최대 100개 티커)

get_last_prices

tickers*

현재 시장 가격 (최대 100개 티커)

get_candles

ticker, from, to*, interval?

OHLCV 과거 캔들 데이터 (1min, 5min, 15min, hour, day, week, month)

get_dividends

tickers*, from?, to?

배당 일정 (최대 50개 티커)

get_bond_coupons

tickers*, from?, to?

채권 이자 지급 (최대 50개 티커)

get_consensus_forecasts

tickers*

애널리스트 컨센서스 전망 (최대 50개 티커)

get_order_book

ticker*, depth?

호가창 (깊이 1–50, 기본값 10)

get_trading_status

tickers*

티커별 거래 상태 (최대 50개)

get_trading_schedules

exchange?, from, to

거래 일정 (기본값 MOEX)

get_tech_analysis

ticker, indicator, from, to, interval?, length?

기술적 분석: BB, EMA, RSI, MACD, SMA

get_signals

tickers?, from?, to?, direction?, limit?

거래 신호

get_max_lots

accountId, ticker, price?

매수/매도 가능한 최대 로트 수

거래 내역

도구

매개변수

설명

get_operations

accountId*, from?, to?, limit?

거래 내역: 체결, 배당, 수수료

거래 작업

도구

매개변수

설명

get_orders

accountId*

활성 주문

post_order

accountId, ticker, direction, quantity, orderType*, price?

주문 제출 (매수/매도)

cancel_order

accountId, orderId

주문 취소

get_stop_orders

accountId*

활성 스톱 주문

post_stop_order

accountId, ticker, direction, quantity, orderType, stopPrice, limitPrice?, expirationType?, expireDate?

스톱 주문 제출

cancel_stop_order

accountId, stopOrderId

스톱 주문 취소

* — 필수 매개변수, ? — 선택 매개변수

워크플로우: 에이전트는 먼저 get_accounts를 호출하여 accountId를 기억한 후, 이후 요청에서 이를 사용합니다.

Related MCP server: IBKR TWS MCP Server

환경 변수

변수

필수

설명

APP_T_INVEST_BASE_URL

T-Invest API URL

APP_T_INVEST_TOKEN

API 토큰 (발급받기)

APP_T_INVEST_READONLY

아니오

true — 읽기 전용 모드 (거래 작업 비활성화)

운영 환경 URL: https://invest-public-api.tinkoff.ru/rest/ 샌드박스 환경 URL: https://sandbox-invest-public-api.tinkoff.ru/rest/

보안

이 서버는 API를 통해 실제 자금을 다룹니다. 위험을 크게 줄이기 위한 몇 가지 규칙입니다:

  1. 기본적으로 APP_T_INVEST_READONLY=true를 사용하세요. 이 모드에서는 읽기 전용 도구만 등록되며, 자금에 영향을 줄 수 있는 6가지 작업(post_order, cancel_order, post_stop_order, cancel_stop_order, pay_in, currency_transfer)은 LLM에서 완전히 비활성화됩니다. 이는 분석, 보고서 작성, 포트폴리오 모니터링에 충분합니다.

  2. READONLY 해제는 신중하게 결정하세요. LLM이 호출하는 모든 거래 작업은 되돌릴 수 없습니다. 거래 확인은 MCP 클라이언트에 위임되지만(Claude Desktop은 도구 호출 전 사용자에게 확인을 요청합니다), 이는 첫 번째 방어선이 아닌 마지막 방어선입니다. 어시스턴트를 통해 거래할 계획이 없다면 권한을 부여하지 마십시오.

  3. developer.tbank.ru에서 최소 권한을 가진 별도의 토큰을 생성하세요. 거래가 필요 없다면 읽기 전용 토큰을 사용하십시오. '만약을 대비해' 전체 권한이 있는 기본 토큰을 사용하지 마십시오.

  4. 토큰은 환경 변수나 보안 관리자에만 저장하세요. 파일이 클라우드 백업, git, 공유 머신에 노출될 수 있다면 claude_desktop_config.json에 직접 복사하지 마십시오. macOS에서는 설정 파일의 토큰을 해당 사용자의 모든 프로세스가 볼 수 있습니다.

  5. APP_T_INVEST_BASE_URL에는 HTTPS URL만 사용하세요. 서버는 http://로 시작하는 주소로는 실행되지 않도록 설계되었습니다.

  6. .env 파일을 절대 커밋하지 마십시오. 토큰을 이슈, PR, 채팅에 붙여넣지 마십시오. .gitignore.env*.log가 포함되어 있는지 확인하십시오.

서버 자체는 토큰을 로깅하거나 MCP 응답에 포함하지 않지만, 환경 변수, 설정 파일 또는 셸 기록을 통한 유출은 전적으로 사용자 책임입니다.

Claude Desktop 설정

설정 파일: ~/Library/Application Support/Claude/claude_desktop_config.json

npx 사용

{
  "mcpServers": {
    "t-invest": {
      "command": "npx",
      "args": ["t-invest-mcp-server"],
      "env": {
        "APP_T_INVEST_BASE_URL": "https://invest-public-api.tinkoff.ru/rest/",
        "APP_T_INVEST_TOKEN": "your_token",
        "APP_T_INVEST_READONLY": "true"
      }
    }
  }
}

LLM이 주문을 넣고 자금을 이체할 수 있도록 의도적으로 허용하려는 경우에만 APP_T_INVEST_READONLY를 제거(또는 false로 설정)하십시오.

Docker 사용

{
  "mcpServers": {
    "t-invest": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "APP_T_INVEST_BASE_URL=https://invest-public-api.tinkoff.ru/rest/",
        "-e", "APP_T_INVEST_TOKEN=your_token",
        "-e", "APP_T_INVEST_READONLY=true",
        "t-invest-mcp-server"
      ]
    }
  }
}

실행

npx

APP_T_INVEST_BASE_URL=https://invest-public-api.tinkoff.ru/rest/ \
APP_T_INVEST_TOKEN=your_token \
npx t-invest-mcp-server

Docker

docker build -t t-invest-mcp-server .

docker run -i --rm \
  -e APP_T_INVEST_BASE_URL=https://invest-public-api.tinkoff.ru/rest/ \
  -e APP_T_INVEST_TOKEN=your_token \
  t-invest-mcp-server

소스 코드에서 실행

npm install
npm run build
npm start

면책 조항

이 프로젝트는 T-Bank(Tinkoff)와 관련이 없는 비공식 도구입니다. 이 서버는 T-Invest의 공개 API를 통해 금융 데이터 및 거래 작업과 상호작용합니다. 사용자는 자신의 행동에 대해 전적인 책임을 집니다. 주식 거래는 자금 손실의 위험을 수반합니다.

라이선스

MIT

Install Server
A
license - permissive license
A
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Enables AI assistants to interact with Interactive Brokers trading accounts to retrieve market data, check positions, and place trades. Includes pre-configured IB Gateway and handles OAuth authentication automatically.
    14
    550
    209
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLM clients to interact with Interactive Brokers Trader Workstation for automated trading workflows. Supports market data retrieval, portfolio management, and order execution through the TWS API.
    5
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to interact with Trading 212 investment accounts for portfolio tracking, account management, and real-time order execution. It supports managing investment pies, analyzing historical data, and monitoring market performance across multiple instrument types.
    23
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to manage Trading212 brokerage accounts, including portfolio analysis, order placement (demo mode), and investment pie management.
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • Connect AI agents to bank accounts, transactions, balances, and investments.

  • Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

  • US/HK markets — 163 tools: quotes, options, orders, fundamentals, screener, IPO, alerts, DCA & grid

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nonnname/t-invest-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server