MCP, MCP server
renfe_mcp_server
Welcome to the renfe_mcp_server project.
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.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
src/renfe_mcp/update_data.py, line 193
shutil.rmtree(LOCAL_DATA_DIR) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/renfe_mcp/update_data.py, line 140
response = requests.get(RENFE_API_URL, params={"id": RESOURCE_ID}) - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/renfe_mcp/config.py, line 24
env_file=".env", - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
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
Concern
can delete files.
PERMISSION_DELETE_FILES
src/renfe_mcp/update_data.py, line 193
shutil.rmtree(LOCAL_DATA_DIR)
src/renfe_mcp/update_data.py, line 205
os.remove(LOCAL_ZIP_PATH)
src/renfe_mcp/update_data.py, line 211
os.remove(LOCAL_ZIP_PATH)
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/renfe_mcp/update_data.py, line 140
response = requests.get(RENFE_API_URL, params={"id": RESOURCE_ID})
src/renfe_mcp/update_data.py, line 181
response = requests.get(download_url, stream=True, timeout=60)
src/renfe_mcp/scraper/scraper.py, line 336
**kwargs: Additional arguments for httpx.post()
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
src/renfe_mcp/config.py, line 24
env_file=".env",
src/renfe_mcp/security.py, line 439
def generate_api_key_file(output_path: str = ".env") -> None:
src/renfe_mcp/security.py, line 474
backup_file = output_file.with_suffix('.env.backup')
Show more
.env.example, line 3
# Copy this file to .env and configure with your values
.env.example, line 4
# NEVER commit .env to version control!
.gitignore, line 22
# Environment variables
.gitignore, line 23
.env
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
uv.lock, line 1
version = 1
src/renfe_mcp/scraper/stations.json, line 1
{
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 30621f2d1629. can delete files. 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: 30621f2d162919cb14e0f41926cbd983c2803081
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.