MCP server implemented as a Symfony console application for the T-Invest API

MCP server implemented as a Symfony console application for the T-Invest API

t-invest-mcp-server•byprikotov

A console-based Model Context Protocol server that offers tools for working with the T-Invest API, connecting to a T-Invest account via configurable API endpoint, token and account ID.

License: MIT•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Returns the list of the user's accounts.
  • •Returns the client's portfolio, with support for filtering by ticker.
  • •Returns fundamental indicators of companies for given tickers.

BEST FOR

  • •Reviewing an investment account's list of accounts and portfolio through an MCP-compatible client.
  • •Looking up fundamental metrics of companies by ticker symbol.

ABOUT T-INVEST-MCP-SERVER

MCP server implemented as a Symfony console application for the T-Invest API is cataloged as an MCP server attributed to prikotov. A console-based Model Context Protocol server that offers tools for working with the T-Invest API, connecting to a T-Invest account via configurable API endpoint, token and account ID. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server implemented as a Symfony console application for the T-Invest API are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server be pointed at the T-Invest sandbox instead of production?

Yes, the API endpoint is configurable and can be set to either the production service or the sandbox endpoint.

Upstream README

View this exact version on GitHub

README.md · 31660c948cc1 · Fetched 2026-11-13 11:14:35 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Сервер MCP для T-Invest API

Проект содержит консольное приложение на базе Symfony, реализующее сервер MCP (Model Context Protocol). Сервер предоставляет инструменты для работы с T-Invest API.

Сервер использует библиотеку logiscape/mcp-sdk-php

Конфигурация

{
  "mcpServers": {
    "t-invest": {
      "command": "docker",
      "args": [
          "run",
          "-i",
          "--rm",
          "-e",
          "APP_T_INVEST_BASE_URL",
          "-e",
          "APP_T_INVEST_TOKEN",
          "-e",
          "APP_T_INVEST_ACCOUNT_ID",
          "prikotov/t-invest-mcp-server:latest",
          "bin/server"
      ],
      "env": {
          "APP_T_INVEST_BASE_URL": "<API ENDPOINT>",
          "APP_T_INVEST_TOKEN": "<YOUR_TOKEN>",
          "APP_T_INVEST_ACCOUNT_ID": "<YOUR_ACCOUNT_ID>"
      }
    }
  }
}

где - T-Invest REST API Endpoint:

<YOUR_TOKEN> - токен T-Invest REST API. С инструкцией получения токена можно ознакомиться тут.

<YOUR_ACCOUNT_ID> - номер счета в T-Invest к которому подключается MCP Server.

Возможности (Tools)

  • get_accounts - возвращает список счетов пользователя;
  • get_portfolio - возвращает портфель клиента. Поддерживает фильтрацию по тикеру;
  • get_asset_fundamentals - возвращает фундаментальные показатели компаний по заданным тикерам;

Информация для разработчиков

Требования

  • PHP версии 8.3 и выше;
  • Composer.

Приложение можно запустить как локально, так и в Docker.

Установка

Склонируйте репозиторий и установите зависимости:

composer install

Запуск

Локально

bin/server

Либо традиционным способом:

php bin/console app:mcp-server

Либо с помощью podman:

podman run --rm -i t-invest-mcp-server bin/console app:mcp-server

Сервер выводит список доступных инструментов и позволяет вызывать каждый из них. Проверить можно с помощью:

podman-compose run --rm t-invest-mcp-server bin/console app:mcp-client --via=console

Опция --via позволяет выбрать способ запуска сервера (console, podman или docker). По умолчанию используется console.

Docker (Podman)

В проекте присутствуют Dockerfile и compose.yaml. Чтобы собрать и запустить контейнер, выполните:

podman build -t t-invest-mcp-server .

Makefile

Для автоматизации типовых задач используется Make. Основные цели:

make help         # вывести справку
make build        # собрать Docker-образ
make push         # отправить образ в репозиторий
make cache-clear  # очистить кэш приложения
make test-all     # запустить тесты и пример клиента
make tests        # запустить юнит тесты
make psalm        # статический анализ
make phpcs        # проверка стиля кода

Тесты

Запуск тестов локально:

./bin/phpunit

Или одной командой через Make:

make tests

Или через docker:

docker-compose run --rm t-invest-mcp-server bin/phpunit

Или через podman:

podman-compose run --rm t-invest-mcp-server bin/phpunit

Тесты подключают клиента к серверу и вызывают его инструменты.

Структура проекта

  • src/ - исходный код приложения;
  • src/Tool - исходный код Tools;
  • bin/ - консольные скрипты;
  • config/ - конфигурация Symfony;
  • tests/ - интеграционные тесты.
  • var/log - логи приложения.

Лицензия

Проект распространяется на условиях лицензии MIT. Полный текст лицензии см. в файле LICENSE.

Поддержка

Для вопросов и предложений:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server implemented as a Symfony console application for the T-Invest API from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/t-invest-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics