Skip to content
theperipetycompany avatar

NHI-as-Code Zero-Secret NHI Governance MCP Server

theperipetycompany/nhi-as-code

Scans CI workflows, generates OIDC and GitHub App migrations, and verifies Ed25519-signed compliance evidence offline.

CCM score
46 of 100
tools
5
transport
STDIO
last updated
Nov 28, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Audits workflows with nhi_scan_workflow for blast-radius risk, and generates zero-wildcard AWS OIDC trust policies via nhi_generate_oidc_migration plus SHA-pinned GitHub App token migrations via nhi_generate_app_token_migration
  • Checks signed SOC 2 and ISO 27001 evidence bundles with nhi_verify_evidence, and drafts credential revocation steps with nhi_offboarding_playbook
  • Runs as a local stdio server with zero shell execution and zero filesystem access; no API key or cloud credentials are needed for the MCP tools
  • Designed for security and platform teams removing static CI secrets and preparing audit evidence for SOC 2 or ISO reviews

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

nhi_scan_workflow

No parameter schema in public metadata yet.

nhi_generate_oidc_migration

No parameter schema in public metadata yet.

nhi_generate_app_token_migration

No parameter schema in public metadata yet.

nhi_verify_evidence

No parameter schema in public metadata yet.

nhi_offboarding_playbook

No parameter schema in public metadata yet.

Readme

NHI-as-Code (nhiascode.dev)

Zero-dependency, zero-secret Non-Human Identity (NHI) governance, GhostAction blast-radius auditing, auto-OIDC/GitHub App PR remediation, and Ed25519-signed SOC 2 / ISO 27001 compliance evidence.

Built by The Peripety Company on Node.js 22+ native TypeScript and Cloudflare Workers + D1 + R2 — with dependencies: {} and devDependencies: {} across the entire monorepo.


Why NHI-as-Code?

Non-human identities (AWS IAM keys, GitHub PATs, Cloudflare tokens, Stripe keys, OpenAI/Anthropic API keys, Google service accounts, and CI/CD workflow tokens) frequently outnumber human engineers across modern cloud stacks and are a prime target of CI supply-chain attacks — including GhostAction (compromised-PAT workflow injection exfiltrating static CI secrets) and tj-actions/changed-files (CVE-2025-30066) (upstream mutable Action tag hijacking).

NHI-as-Code eliminates static machine keys without ever asking for your production credentials:


View the full README on GitHub

Details

Repository
github.com/theperipetycompany/nhi-as-code
Website
nhiascode.dev
Categories
Security, DevOps & Cloud
Package
@nhiascode/mcp-server
Transport
STDIO
Registry
MCP registry, active

Questions

What does the NHI-as-Code MCP server let an agent do?

It gives an agent five tools for non-human identity governance: nhi_scan_workflow, nhi_generate_oidc_migration, nhi_generate_app_token_migration, nhi_verify_evidence and nhi_offboarding_playbook. The server runs over stdio and, per its README, executes no shell commands and reads no filesystem files.

Which tool generates OIDC migration output for GitHub Actions?

The nhi_generate_oidc_migration tool produces AWS OIDC trust policy guidance for replacing static keys. According to the README, the Terraform trust policies use StringEquals conditions on the audience and an exact subject, with no wildcards, and the server also produces 40-character SHA-pinned GitHub Actions snippets.

Where does NHI-as-Code rank in the Security category on Claude Marketplaces?

It sits in the top 100 of the Security category on Claude Marketplaces. The other servers listed in its category include Jshookmcp, OpenOSINT, JS Reverse, Semgrep and EVMole.

How do I install the NHI-as-Code MCP server?

The server is published on npm as @nhiascode/mcp-server and uses the stdio transport. No install command is listed on the Claude Marketplaces page, so check the npm package page or the GitHub repository for setup steps.

Similar to NHI-as-Code Zero-Secret NHI Governance MCP Server

More Security