MCP, MCP server
mcp_rails_template
A simple Ruby on Rails application demonstrating how to integrate and use the ActionMCP gem.
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
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
app/mcp/jwt_identifier.rb, line 31
ENV.fetch("ACTION_MCP_JWT_SECRET") { Rails.application.secret_key_base } - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.dockerignore, line 46
/.env.example
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
app/mcp/jwt_identifier.rb, line 31
ENV.fetch("ACTION_MCP_JWT_SECRET") { Rails.application.secret_key_base }
app/mcp/tools/fetch_weather_by_location_tool.rb, line 20
response = http.request(request)
config/environments/production.rb, line 37
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
Show more
Gemfile, line 4
gem "activerecord", ENV.fetch("RAILS_VERSION", "~> 8.1.0")
Gemfile, line 5
gem "railties", ENV.fetch("RAILS_VERSION", "~> 8.1.0")
Gemfile, line 8
gem "actionview", ENV.fetch("RAILS_VERSION", "~> 8.1.0")
Gemfile, line 9
gem "activejob", ENV.fetch("RAILS_VERSION", "~> 8.1.0")
config/database.yml, line 4
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.dockerignore, line 11
/.env*
.dockerignore, line 46
/.env.example
.gitignore, line 5
/.env
Show more
README.md, line 28
Copy the provided `.env.example` file:
README.md, line 31
cp .env.example .env
README.md, line 34
Edit `.env` and fill in necessary values according to your setup (especially any required API keys for tools like `fetch_weather_by_location_tool`).
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit d6ea38eb8765. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.
Date and source
Date checked:
github.com
Commit graded: d6ea38eb8765a8a3b908d0a98d910ecc36c8bc59
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.