MCP, MCP server
com.opsmill/infrahub-mcp
Infrahub MCP Server connects AI assistants and IDE agents to Infrahub using the open Model Context Protocol standard — so agents can query, create, update, and propose changes to your infrastructure data t
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 3484a1a8b0ae, unchanged since the check below.
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.
development/keycloak/setup-keycloak.sh, line 12
# $1 = method, $2 = path (relative to KC_URL), rest = extra curl args - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/infrahub_mcp/config.py, line 21
# A .env file supplies only these four Infrahub SDK connection variables. The - 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
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
development/keycloak/setup-keycloak.sh, line 12
# $1 = method, $2 = path (relative to KC_URL), rest = extra curl args
development/keycloak/setup-keycloak.sh, line 14
curl -sf -X "$method" "${KC_URL}${path}" \
development/keycloak/setup-keycloak.sh, line 24
http_code=$(curl -s -o /dev/null -w "%{http_code}" -X "$method" "${KC_URL}${path}" \
Show more
development/keycloak/setup-keycloak.sh, line 36
ADMIN_TOKEN=$(curl -sf -X POST "${KC_URL}/realms/master/protocol/openid-connect/token" \
development/keycloak/setup-keycloak.sh, line 87
curl -s -o /dev/null -X DELETE "${KC_URL}/admin/realms/${REALM}/clients/${CLIENT_UUID}/default-client-scopes/${SCOPE_UUID}" \
development/keycloak/setup-keycloak.sh, line 154
curl -s -o /dev/null -X DELETE "${KC_URL}/admin/realms/${REALM}/clients/${CLIENT_UUID}/optional-client-scopes/${READ_SCOPE_UUID}" \
development/keycloak/setup-keycloak.sh, line 162
OIDC_STATUS=$(curl -s -o /dev/null -w "%{http_code}" "${KC_URL}/realms/${REALM}/.well-known/openid-configuration")
development/keycloak/setup-keycloak.sh, line 174
TOKEN=$(curl -sf -X POST "${KC_URL}/realms/${REALM}/protocol/openid-connect/token" \
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
development/keycloak/setup-keycloak.sh, line 191
echo "==> User UUIDs for .env.auth-test credential mapping"
src/infrahub_mcp/config.py, line 21
# A .env file supplies only these four Infrahub SDK connection variables. The
src/infrahub_mcp/config.py, line 24
# foreign project's .env must not be able to reroute credential-bearing traffic
Show more
src/infrahub_mcp/config.py, line 219
"""Copy the four ``_DOTENV_ALLOWED_KEYS`` connection variables from a ``.env`` file.
src/infrahub_mcp/config.py, line 230
- unset: default to ``./.env``; a missing file is a silent no-op.
src/infrahub_mcp/config.py, line 239
path = Path(configured or ".env").expanduser()
src/infrahub_mcp/config.py, line 241
logger.warning("INFRAHUB_MCP_ENV_FILE=%r is not a readable file; no .env values loaded.", str(path))
src/infrahub_mcp/config.py, line 249
logger.warning("Could not read .env file %r: %s", str(path), exc)
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
docs/pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
Licence
Pass
A licence file is present (LICENSE.txt).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 3484a1a8b0ae. 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: 3484a1a8b0aef62d263bdaf4e78319f72dae83d1
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.