MCP, MCP server
Tinvest Mcp
tinvest-mcp — MCP-сервер для Т-Инвестиций
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/tinvest_mcp/services.py, line 1157
def fetch(h): - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/tinvest_mcp/debug_api.py, line 16
Mode and token come from the same ``config.toml`` / ``.env`` the MCP server - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
src/tinvest_mcp/services.py, line 1
"""High-level orchestration used by the MCP tools.
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/tinvest_mcp/services.py, line 1157
def fetch(h):
src/tinvest_mcp/services.py, line 1165
return [fetch(h) for h in rows]
src/tinvest_mcp/services.py, line 1366
def fetch(asset_uid: str):
Show more
src/tinvest_mcp/services.py, line 1375
results = [fetch(uid) for uid in asset_uids]
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
src/tinvest_mcp/debug_api.py, line 16
Mode and token come from the same ``config.toml`` / ``.env`` the MCP server
src/tinvest_mcp/debug_api.py, line 60
"testing. Mode and token are read from config.toml / .env, exactly as the "
src/tinvest_mcp/doctor.py, line 53
lines.append(_row(".env", str(env) if env else "NOT FOUND - tokens must come from the environment"))
Show more
src/tinvest_mcp/doctor.py, line 163
f"{'TINVEST_SANDBOX_TOKEN' if settings.is_sandbox else 'TINVEST_READONLY_TOKEN'} in .env."
src/tinvest_mcp/config/__init__.py, line 4
discover ``config.toml`` (settings) and ``.env`` (tokens).
src/tinvest_mcp/config/__init__.py, line 7
from .env import Settings, get_settings, mask # noqa: F401
src/tinvest_mcp/config/env.py, line 3
Secrets (tokens) are read from ``.env`` only. Non-secret settings come from
src/tinvest_mcp/config/sources.py, line 1
"""Configuration sources: ``config.toml`` for settings, ``.env`` for secrets.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
src/tinvest_mcp/services.py, line 1
"""High-level orchestration used by the MCP tools.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 9fb637ba003c. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 9fb637ba003c4f12feb3c542ac525aca82e1587f
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.