T-Invest MCP Server
T-Invest MCP 서버
Claude 및 기타 LLM 클라이언트에서 T-Invest(Tinkoff Investments) API를 사용하기 위한 MCP 서버입니다.
Node.js 기반의 t-invest-mcp-server 포트입니다.
도구 (30)
계좌 관리
도구 | 매개변수 | 설명 |
| — | 증권 계좌 목록 |
| — | 은행 계좌 목록 |
| — | 사용자 프로필 (요금제, 전문 투자자 여부) |
| — | API 제한 (요청/분, 스트림) |
|
| 티커별 필터링이 포함된 계좌 포트폴리오 |
|
| 계좌 포지션 (현금, 유가증권, 선물) |
|
| 출금 한도 |
|
| 마진 속성 (유동성 포트폴리오, 초기 증거금) |
|
| 추가 계좌 지표 |
|
| 은행 계좌에서 증권 계좌로 입금 |
|
| 증권 계좌 간 이체 |
분석 및 도구
도구 | 매개변수 | 설명 |
|
| 기본 지표: P/E, ROE, EBITDA 등 (최대 100개 티커) |
|
| 현재 시장 가격 (최대 100개 티커) |
|
| OHLCV 과거 캔들 데이터 (1min, 5min, 15min, hour, day, week, month) |
|
| 배당 일정 (최대 50개 티커) |
|
| 채권 이자 지급 (최대 50개 티커) |
|
| 애널리스트 컨센서스 전망 (최대 50개 티커) |
|
| 호가창 (깊이 1–50, 기본값 10) |
|
| 티커별 거래 상태 (최대 50개) |
|
| 거래 일정 (기본값 MOEX) |
|
| 기술적 분석: BB, EMA, RSI, MACD, SMA |
|
| 거래 신호 |
|
| 매수/매도 가능한 최대 로트 수 |
거래 내역
도구 | 매개변수 | 설명 |
|
| 거래 내역: 체결, 배당, 수수료 |
거래 작업
도구 | 매개변수 | 설명 |
|
| 활성 주문 |
|
| 주문 제출 (매수/매도) |
|
| 주문 취소 |
|
| 활성 스톱 주문 |
|
| 스톱 주문 제출 |
|
| 스톱 주문 취소 |
* — 필수 매개변수, ? — 선택 매개변수
워크플로우: 에이전트는 먼저
get_accounts를 호출하여accountId를 기억한 후, 이후 요청에서 이를 사용합니다.
Related MCP server: IBKR TWS MCP Server
환경 변수
변수 | 필수 | 설명 |
| 예 | T-Invest API URL |
| 예 | API 토큰 (발급받기) |
| 아니오 |
|
운영 환경 URL: https://invest-public-api.tinkoff.ru/rest/
샌드박스 환경 URL: https://sandbox-invest-public-api.tinkoff.ru/rest/
보안
이 서버는 API를 통해 실제 자금을 다룹니다. 위험을 크게 줄이기 위한 몇 가지 규칙입니다:
기본적으로
APP_T_INVEST_READONLY=true를 사용하세요. 이 모드에서는 읽기 전용 도구만 등록되며, 자금에 영향을 줄 수 있는 6가지 작업(post_order,cancel_order,post_stop_order,cancel_stop_order,pay_in,currency_transfer)은 LLM에서 완전히 비활성화됩니다. 이는 분석, 보고서 작성, 포트폴리오 모니터링에 충분합니다.READONLY해제는 신중하게 결정하세요. LLM이 호출하는 모든 거래 작업은 되돌릴 수 없습니다. 거래 확인은 MCP 클라이언트에 위임되지만(Claude Desktop은 도구 호출 전 사용자에게 확인을 요청합니다), 이는 첫 번째 방어선이 아닌 마지막 방어선입니다. 어시스턴트를 통해 거래할 계획이 없다면 권한을 부여하지 마십시오.developer.tbank.ru에서 최소 권한을 가진 별도의 토큰을 생성하세요. 거래가 필요 없다면 읽기 전용 토큰을 사용하십시오. '만약을 대비해' 전체 권한이 있는 기본 토큰을 사용하지 마십시오.
토큰은 환경 변수나 보안 관리자에만 저장하세요. 파일이 클라우드 백업, git, 공유 머신에 노출될 수 있다면
claude_desktop_config.json에 직접 복사하지 마십시오. macOS에서는 설정 파일의 토큰을 해당 사용자의 모든 프로세스가 볼 수 있습니다.APP_T_INVEST_BASE_URL에는 HTTPS URL만 사용하세요. 서버는http://로 시작하는 주소로는 실행되지 않도록 설계되었습니다..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-serverDocker
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
Maintenance
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
- AlicenseBqualityAmaintenanceEnables 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.14550209MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseAqualityDmaintenanceEnables 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.232MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage Trading212 brokerage accounts, including portfolio analysis, order placement (demo mode), and investment pie management.5MIT
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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