MCP, MCP server
Midnight + Next.js MCP
A Model Context Protocol (MCP) server combining Midnight Network blockchain development tools with Next.js DevTools for building decentralized applications.
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.
Rescanned at commit 4a88d659890f, unchanged since the check below.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/_internal/nextjs-runtime-manager.ts, line 73
const response = await fetch(url, { - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
src/_internal/nextjs-runtime-manager.ts, line 73
const response = await fetch(url, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/tools/midnight/scaffold-project.ts, line 782
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/providers/docs-sync.ts, line 371
const token = process.env.GITHUB_TOKEN
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. can reach .... The description does not name that host. can reach next-data-api-endpoint.vercel.app. The description does not name that host. can reach api.example.com. The description does not name that host. can reach api.cms.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
src/_internal/nextjs-runtime-manager.ts, line 73
const response = await fetch(url, {
src/_internal/nextjs-runtime-manager.ts, line 317
const response = await fetch(url, {
src/middleware/middleware.ts, line 279
const entry = requests.get(key)
Show more
src/middleware/middleware.ts, line 295
requests.delete(key)
src/providers/docs-sync.ts, line 376
const response = await fetch(url, { headers })
src/providers/docs-sync.ts, line 433
const response = await fetch(url, { headers })
src/providers/indexer.ts, line 32
const response = await fetch(this.url, {
src/providers/node.ts, line 34
const response = await fetch(this.url, {
src/resources/(nextjs-docs)/llms-index.ts, line 24
const response = await fetch("https://nextjs.org/docs/llms.txt")
src/tools/nextjs/nextjs-docs.ts, line 61
const response = await fetch("https://nextjs.org/docs/llms.txt")
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/_internal/mcp-client.ts, line 36
env: options?.env,
src/providers/docs-sync.ts, line 371
const token = process.env.GITHUB_TOKEN
src/tools/midnight/scaffold-project.ts, line 782
.env
Show more
src/providers/docs-sync.ts, line 428
const token = process.env.GITHUB_TOKEN
src/resources/(midnight-sdk)/reference.ts, line 382
key: process.env.ENCRYPTION_KEY
src/server/config.ts, line 354
if (process.env.MIDNIGHT_WALLET_KEY) {
src/server/config.ts, line 355
midnight.walletKey = process.env.MIDNIGHT_WALLET_KEY
src/tools/midnight/scaffold-project.ts, line 783
.env.local
.gitignore, line 10
test/e2e/.env
.prettierignore, line 13
# Environment files
.prettierignore, line 14
.env
.prettierignore, line 15
.env.local
.prettierignore, line 16
.env.development.local
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 4a88d659890f. can reach a host that is not written as a fixed address. can reach .... The description does not name that host. can reach next-data-api-endpoint.vercel.app. The description does not name that host. can reach api.example.com. The description does not name that host. can reach api.cms.com. The description does not name that host. reads a credential or environment file. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 4a88d659890ff9006058c2f3f1e0c4d1924ba310
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.