MCP, MCP server
Learn Mcp 5 Year Old
A complete, working Model Context Protocol server built with Next.js and deployed to Vercel — plus the lesson that explains every line of it.
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.
app/Playground.tsx, line 145
const handshake = await fetch(MCP_URL, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
BUILD_FROM_SCRATCH.md, line 617
> 🧹 **`vercel link` edits two files.** It creates `.env.local` and appends `.vercel` and `.env*` to `.gitignore` - even when the Next.js `.gitignore` already covers both, giving yo - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 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
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/Playground.tsx, line 145
const handshake = await fetch(MCP_URL, {
app/Playground.tsx, line 175
await fetch(MCP_URL, {
app/Playground.tsx, line 197
const res = await fetch(MCP_URL, {
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.gitignore, line 33
# env files (can opt-in for committing if needed)
BUILD_FROM_SCRATCH.md, line 547
**Read that `git status` output before committing.** You're looking for things that should not be there - `node_modules/`, `.next/`, `.env*`. The generated `.gitignore` covers all
BUILD_FROM_SCRATCH.md, line 617
> 🧹 **`vercel link` edits two files.** It creates `.env.local` and appends `.vercel` and `.env*` to `.gitignore` - even when the Next.js `.gitignore` already covers both, giving yo
Show more
PROJECT_2_KICKOFF_PROMPT.md, line 103
**The API key never touches the browser.** `ANTHROPIC_API_KEY` lives in `.env.local` and is read **only** inside a route handler. If it appears in a client component or in any code
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
package-lock.json, line 1
{
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 43cc52680c89. 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. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 43cc52680c8975217853ebb7c3042fa1be0e54c1
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.