MCP, MCP server
Planhat Mcp
Planhat 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 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.
AGENTS.md, line 36
const r = await fetch("https://api.planhat.com"+p+"?limit=1", { headers: { Authorization: "Bearer "+t } }); - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
AGENTS.md, line 36
const r = await fetch("https://api.planhat.com"+p+"?limit=1", { headers: { Authorization: "Bearer "+t } }); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/env.ts, line 1
// Minimal .env loader for the manual-install path (the one-click bundle injects - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
AGENTS.md, line 33
const t = process.env.PLANHAT_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 api.planhat.com. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
AGENTS.md, line 36
const r = await fetch("https://api.planhat.com"+p+"?limit=1", { headers: { Authorization: "Bearer "+t } });
src/http.ts, line 46
const r = await fetch(buildUrl(path, params), {
src/http.ts, line 54
const r = await fetch(buildUrl(path), {
Show more
src/http.ts, line 64
const r = await fetch(buildUrl(path), {
src/http.ts, line 74
const r = await fetch(buildUrl(path), {
src/tools.ts, line 68
return http.get("/companies", params);
src/tools.ts, line 76
handler: async (http, a) => http.get(`/companies/${pathId(a.company_id)}`),
src/tools.ts, line 131
return http.get("/endusers", params);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
AGENTS.md, line 33
const t = process.env.PLANHAT_TOKEN;
src/env.ts, line 1
// Minimal .env loader for the manual-install path (the one-click bundle injects
src/index.ts, line 17
// Manual installs keep .env beside the source or one level up from dist/; bundle
Show more
src/index.ts, line 18
// installs pass config via the environment and have no .env at all.
src/index.ts, line 19
loadDotenv([join(here, ".env"), join(here, "..", ".env"), join(process.cwd(), ".env")]);
src/index.ts, line 21
const token = process.env.PLANHAT_TOKEN;
src/index.ts, line 23
console.error("PLANHAT_TOKEN is not set. Add it to .env or your MCP client config.");
.env.example, line 1
# Copy this file to .env (same folder) and paste your real token after the "=".
.env.example, line 3
# Keep .env out of version control; it is already listed in .gitignore.
.gitignore, line 1
# Secrets: never commit. The MCP server reads its token from .env at runtime.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
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 2011de5b83f5. can reach api.planhat.com. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 2011de5b83f5c671f6cff1b3d5e4d177f283f1e9
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.