Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

harness-mcp-v2

by harness/mcp-serverMIT licenceAudited 12 Oct 2026 · source f5ffcf9c8f3d

npm harness-mcp-v2 3.2.33stdiostreamable-http★ 105
✕BLOCKGrade D · 69/100 · 12 Oct 2026 · f5ffcf9

Is it safe? No — BLOCK, grade D (69/100). It exposes 282 tools: 259 read, 21 write and 2 destructive. The audit recorded 25 findings (0 critical, 1 high, 6 medium, 13 low). Maintainer's description: Harness’ official MCP Server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “harness-mcp-v2 (harness/mcp-server)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/harness/mcp-server

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at src/audit/sinks/otel.ts:13. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score69/100✕BLOCK D
0 critical1 high6 medium13 low5 info

25 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared7 observations
  • NetworkDeclared10 observations
  • ShellDeclared6 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (25)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/audit/sinks/otel.ts:13
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return await (Function("m", "return import(m)")(moduleName) as Promise<unknown>);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMNetwork egressnet.raw_ip · Dockerfile:71
F-04 Network egressCWE-200 · CWE-319Layer L1
CMD ["node", "-e", "const port=process.env.PORT||'3000';fetch(`http://127.0.0.1:${port}/health`).then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"]
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/registry/toolsets/gitops.ts:1689
F-04 Network egressCWE-200 · CWE-319Layer L1
"   {list:{elements:[{cluster:'staging', url:'https://1.2.3.4'}, {cluster:'prod', url:'https://2.3.4.5'}]}}\n" +
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/registry/toolsets/gitops.ts:1704
F-04 Network egressCWE-200 · CWE-319Layer L1
"   {matrix:{generators:[{list:{elements:[{cluster:'staging', url:'https://1.2.3.4'}]}}, {git:{repoURL:'...', revision:'HEAD', directories:[{path:'apps/*'}]}}]}}\n" +
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/client/harness-client.test.ts:380
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/client/harness-client.test.ts:384
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
harness_delete, pod-delete
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .mcpbignore
F-13 Inventory / provenanceCWE-1104Layer L0
.mcpbignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.credential_store · tests/registry/chaos-probe.test.ts:322
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
env: [{ name: "KUBECONFIG", value: "/root/.kube/config" }],
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.credential_store · tests/registry/chaos-probe.test.ts:336
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
env: [{ name: "KUBECONFIG", value: "/root/.kube/config" }],
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · src/audit/sinks/jsonl-file.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createLogger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/audit/sinks/otel.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createLogger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/audit/sinks/stderr.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createLogger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/audit/sinks/webhook.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { createLogger } from "../../utils/logger.js";
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/registry/toolsets/alerts.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { buildBodyNormalized } from "../../utils/body-normalizer.js";
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/ci.yml:111
F-04 Network egressCWE-200 · CWE-319Layer L1
if curl --fail --silent --show-error http://127.0.0.1:3000/health; then
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/workflows/ci.yml:122
F-04 Network egressCWE-200 · CWE-319Layer L1
--request POST http://127.0.0.1:3000/mcp)"
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@hono/node-server, @modelcontextprotocol/sdk, adm-zip, dotenv, express, hono, jsonwebtoken, yaml
Why
20 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · README.md:121
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| `/mcp`    | `POST`    | MCP JSON-RPC endpoint (initialize + session requests)            |
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · README.md:1603
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
When packaging a directory, include the source, manifests, lockfiles, configuration, and intended uncommitted edits needed to build it. Exclude credentials, `.git`, installed dependencies, and generat
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · src/data/schemas/v0/pipeline.ts
F-13 Inventory / provenanceCWE-1104Layer L0
src/data/schemas/v0/pipeline.ts
Why
4100249 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · src/data/schemas/v0/template.ts
F-13 Inventory / provenanceCWE-1104Layer L0
src/data/schemas/v0/template.ts
Why
5075173 bytes not read
Fix
—
INFOPrompt injectionprompt.authority_framing · README.md:5
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 261 resource types.
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.authority_framing · <listing:description>:1
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Give AI agents full access to the Harness.io platform — manage pipelines, deployments, cloud costs, chaos engineering, feature flags, SEI, and 125+ resource types through 11 MCP tools
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.credential_read · docs/gemini.md:142
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Go to Harness Platform > Account Settings > Access Management > API Keys
Why
asks the agent to read credentials
Fix
—

Tools it exposes

282 declared in source · 2 destructive

259 read21 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
harness_deleteNo description in the sourcedestructive
pod-deletePod delete chaosdestructive
DeployProd deploywrite
applied_at_startAPPLIED-tab only: appliedAtStartTime epoch ms. Ignored for OPEN. Do not send the Open-tab calendar as days_back.write
date_startStart date for metric calculationwrite
harness_createNo description in the sourcewrite
harness_executeNo description in the sourcewrite
harness_updateNo description in the sourcewrite
import_request_idRequired. importRequestId from the import execute response.write
include_policy_set_countInclude count of policy sets referencing each policywrite
is_custom(get only) Whether the check is a custom check. Set to true for custom checks; defaults to false.write
metric_set_idFilter by metric set UUIDwrite
orderSort orderwrite
order_by_directionOrder directionwrite
order_by_fieldField to order bywrite
org_idOptional — not supported; use fme_segment_definition execute actions for Harness-native segment key operations.write
phase_idOptional authored phase id. When set, limits the list to the latest artifacts_reported attempt of that phase.write
policy_set_refOPA policy set referencewrite
project_idOptional — not supported; use fme_segment_definition execute actions for Harness-native segment key operations.write
AcmeNo description in the sourceread
ServiceA serviceread
actionFilter audit logs by action typeread
activity_typeComma-separated activity typesread
afterOnly entries created at/after this timestamp (unix millis)read
agent_idScope-prefixed GitOps agent identifier (required).read
allWhen true, include delegates in child org/project scopes under the requested scope. Omit for the current scope only.read
annotationsFilter by annotation key(s). Only types with at least one matching annotation are returned.read
annotator_typehuman | automatedread
anomaly_viewView type for anomaly groupingread
app_nameGitOps application nameread
applied_at_endAPPLIED-tab only: appliedAtEndTime epoch ms. Ignored for OPEN.read
approval_statusApproval status filterread
approval_typeApproval type filterread
artifact_idArtifact ID to list components forread
artifact_typeFilter by artifact type (e.g., CONTAINER, FILE)read
aspectWhich BA data to fetchread
audit_resource_typeFilter audit logs by resource type (renamed from resource_type to avoid conflict with MCP parameter)read
authenticationProvider authentication object {type, spec}. Use secret references only (e.g. spec.tokenRef=read
auto_upgradeFilter by auto upgrade statusread
beforeOnly entries created before this timestamp (unix millis)read
branchBranch to filter executionsread
budget_sort_typeSort fieldread
categoriesSecurity violation categories to includeread
categoryConnector category filterread
checkout-experimentdread
cloud_filterFilter by cloud providerread
commanderFilter by incident commander (multi-value). Validated against the projectread
committerFilter by committerread
comparisonsOptional filter to a subset of the experimentread
connectivity_statusesFilter by connectivity statusread
connector_connectivity_modesFilter by connectivity moderead
connector_identifiersFilter by connector identifiers (comma-separated)read
connector_namesFilter by connector names (comma-separated)read
cost_bucketsCost bucket(s) within the cost category. Comma-separated for multiple (e.g.read
cost_categoryCost category name to filter by (must pair with cost_buckets). Use with cost_recommendation_filter to list teams/buckets.read
created_afterOnly alerts created at or after this time (ISO-8601, e.g. 2026-05-01T00:00:00Z)read
created_beforeOnly alerts created at or before this time (ISO-8601)read
created_date_fromFilter evaluations created after this epoch-millis timestamp. ⚠️ IMPORTANT: when omitted, the upstream policy-mgmt API silently defaults toread
created_date_toFilter evaluations created before this epoch-millis timestampread
cursorCursor for the next page (from previous response pagination.next_cursor)read
dataset_idParent dataset UUIDread
date_endEnd date for metric calculationread
days_backOPEN/IGNORED freshness window: lastProcessedAt within this many UTC days (CCM default 4). Do NOT map the UI date picker here — that picker is appliedAt for APPLIED recs. Omitted automatically when recommendation_states is APPLIED only.read
dbinstance_idInstance identifier — requiredread
dbschema_idSchema identifier — required to list instancesread
delegate_group_identifierFilter by delegate group identifierread
delegate_instance_filterFilter by delegate instanceread
delegate_nameFilter delegates by nameread
delegate_typeDelegate type filterread
deletedInclude soft-deleted packagesread
dependency_typeFilter by dependency type (DIRECT or TRANSITIVE)read
deplay-action-01optional descread
deployed_afterOnly deploys at or after this time (ISO-8601, e.g. 2026-05-01T00:00:00Z)read
deployed_beforeOnly deploys at or before this time (ISO-8601)read
deployment_typeFilter by deployment type (e.g. Kubernetes, ECS)read
descriptionFilter by connector descriptionread
drift_idDrift ID from scs_sbom_drift calculate responseread
end_timeEnd time in ISO 8601 format (e.g. 2025-07-10T23:59:59Z). Default: now.read
enforcement_idEnforcement ID (from artifact overview violations.enforcementId)read
entityFilter by entity identifierread
entity_identifierEntity identifier inread
entity_typeFilter global templates by entity typeread
env_typeEnvironment type filterread
environmentFilter by environment (multi-value, OR-combined). Validated against the projectread
environment_idFME environment ID (get from fme_environment)read
epssEPSS probability bucket (single select).read
epss_percentileEPSS percentile bucket (single select).read
eval_idEvaluation UUIDread
event_groupsEvent groups to include (multi-value, OR-combined). Omit for all named groups — which is not every event:read
event_type_idsFilter by base event type IDsread
exception_idFilter by exception IDread
exclude_regoExclude rego source from list responseread
exclude_repo_patternsGlob patterns matching target.name on repository targets (sto-core excludeRepoPatterns).read
execution_idFilter by pipeline plan execution ID (e.g.read
exemption_statusesComma-separated statusesread
experiment_idExperiment ID (get from fme_experiment). Required.read
exploitabilityExploitability filter.read
favoritesOnly return entities the current user has favoritedread
feature_flag_nameFeature flag name whose definitions to list. Required.read
feature_typeProductivity feature typeread
filter_typeWhich groups to include at this scoperead
folder_idFilter by CCM folder IDread
folder_name_patternFilter folders by name pattern (substring match)read
freeze_statusFilter by freeze statusread
git_refGit reference (branch/tag) filterread
globalWhen true, accesses global templates (list: passes isGlobal=true; get: forces accountIdentifier to __GLOBAL_TEMPLATES_ACCOUNT_ID__)read
granularityTime granularityread
groupKubernetes API group filter (e.g.read
group_byGroup results by field. Use predefined fields (region, product, etc.) OR any label key name (env, team, app, environment, etc.)read
harness_describeNo description in the sourceread
harness_diagnoseNo description in the sourceread
harness_getNo description in the sourceread
harness_listNo description in the sourceread
harness_schemaNo description in the sourceread
harness_searchNo description in the sourceread
harness_statusNo description in the sourceread
has_moduleFilter by module presence (hasModule)read
host_nameFilter by host nameread
identifier_filterFilter by policy identifierread
identifiersOptional list of File Store identifiers to fetch details for (repeatable query param)read
idsFilter to specific metric IDsread
impacted_serviceFilter by impacted Harness service identifier (multi-value, OR-combined). Validated against the projectread
include_child_scopesInclude evaluations from child scopesread
include_directoriesIf true, include directories in the listing as well as files.read
include_metaInclude list-envelope counts (read
include_parent_scopesInclude settings that exist only at parent scopesread
inheritedInclude rules inherited from parent spaces (true/false)read
inheriting_credentials_from_delegateFilter connectors inheriting credentials from delegateread
integration_typeAI coding assistant typeread
is_cluster_hourly_dataWhether to use cluster hourly dataread
is_cluster_queryWhether this is a cluster queryread
issue_typesComma-separated issue typesread
keyMetadata key whose values to enumerate (required)read
kindKubernetes resource kind filterread
kindsFilter by object kind(s). Pass one or more OBJECT_KIND_* values.read
labelFilter by labelread
lifecycleComma-separated list of lifecycles to filter on (e.g.read
limitResult limitread
match_typeHow name is matched. Ignored when name is omitted.read
metadataFilter by metadata using key:value formatread
metadata_onlyWhen true, fetches only template metadata via list-metadata — faster than full listread
metricDORA metric to fetchread
metric_idsOptional display filter to a subset of metrics. Never affects multiple comparison correction, which is always computed from the metricread
metric_typeMetric to retrieveread
migration_typeFilter by migration typeread
min_amountMinimum actual amount thresholdread
min_anomalous_spendMinimum anomalous spend thresholdread
min_savingMinimum monthly savings. Default 1 (Open/Ignored tabs). Default 0 when recommendation_states is APPLIED only. Pass 0 to include sub-$1 recs.read
moduleFilter audit logs by moduleread
module_typeModule type (e.g. CD, CI)read
my-namedescread
my_deploymentsShow only my deploymentsread
nameFilter delegate tokens by nameread
namespaceKubernetes namespace filterread
new-apm-probedvdvNo description in the sourceread
new-custom-script-action-8s3optional descread
node_execution_idNode execution ID to filter by stepread
object_kindFilter by type kindread
object_typeType of object to list (e.g. Table) — required for listread
offsetPagination offsetread
only_favoritesOnly favorited projectsread
only_true_positive_issue_typesIssue types that must have a TRUE_POSITIVE triage verdict to stay in scoperead
origin_statusesComma-separated origin statuses.read
originsComma-separated origin layers.read
oss_risk_filterFilter by OSS risk category. Comma-separated values from: DEFINITE_EOL, DERIVED_EOL, CLOSE_TO_EOL, UNMAINTAINED, OUTDATEDread
owned_by_meOnly return entities owned by the current userread
ownerComma-separated list of owner references to filter onread
package_idPackage ID to scope the file searchread
package_idsComma-separated package IDsread
package_kindPackage kind (huggingface model/dataset, terraform module/provider)read
package_nameFilter by package nameread
package_typeFilter registries by package typeread
pagePage number (0-based)read
page_tokenPagination token from a previous list responseread
parent_nameFilter to this parent name (Feature Flag/AI Config/Config name matching parent_type). Unknown or mismatched name returns 404.read
parent_typeParent kind to list. Required. FEATURE_FLAG and AI_CONFIG are implemented; CONFIG returns 404.read
pathFile path filterread
perspective_idCost perspective identifierread
perspective_nameFilter by perspective name(s) (comma-separated)read
phase_identifierFilter to activities in a specific phaseread
pipeline_idPipeline identifier to filter executionsread
pipeline_idsComma-separated pipeline IDsread
principal_typePrincipal type filterread
priorityFilter by priority option id (multi-value, OR-combined)read
priyanshu-http-probe-1ops descread
product_namesComma-separated scanner product names (e.g.read
profile_idBusiness alignment profile IDread
providerLLM provider (required)read
purlPackage URL of the component (e.g. pkg:npm/[email protected]) — requiredread
queryThe semantic search query (e.g.read
reachabilityReachability filter.read
recommendation_statesOPEN (default, matches Open tab), APPLIED, or IGNORED (expands to IGNORED+TEMPORARILY_IGNORED). Comma-separated.read
regionOptional provider region (e.g. for Bedrock/Vertex)read
registry_idRegistry ID to scope the file searchread
registry_idsComma-separated registry IDs to filter withinread
repo_creds_idFilter by repository credentials IDread
reported_afterOnly incidents reported after this time (ISO-8601)read
reported_beforeOnly incidents reported before this time (ISO-8601)read
resource_group_identifierResource group identifier filterread
resource_group_identifiersFilter by resource group identifiers (comma-separated)read
200 of 282 tools listed; the bar and the counts include all of them.

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · f5ffcf9c8f3d

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about harness-mcp-v2

What is the harness-mcp-v2 MCP server?
Harness’ official MCP Server
What tools does harness-mcp-v2 expose?
200 in total: 259 read-only, 21 that write, and 2 that can delete or overwrite (harness_delete, pod-delete). Every one is listed on this page with its risk.
Is harness-mcp-v2 safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does harness-mcp-v2 need?
It reads GITHUB_TOKEN and HARNESS_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does harness-mcp-v2 run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as harness-mcp-v2 at 3.2.33.
How current is this page?
The grade is for one exact copy of the source (f5ffcf9c8f3d), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed harness-mcp-v2. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • harness/mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit f5ffcf9c8f3dObserved · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.