NHI-as-Code Zero-Secret NHI Governance MCP Server
Finds static CI keys and unpinned GitHub Actions, then proposes OIDC migrations
NHI-as-Code Zero-Secret NHI Governance MCP Server is a freemium MCP server for security. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, Linux
- Runs
- Locally
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server -- npx -y @nhiascode/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@nhiascode/mcp-server"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@nhiascode/mcp-server"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@nhiascode/mcp-server"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nhiascode/mcp-server"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server -- npx -y @nhiascode/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@nhiascode/mcp-server"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@nhiascode/mcp-server"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Or run: gemini mcp add -s user mcp-server npx -- -y @nhiascode/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@nhiascode/mcp-server" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About NHI-as-Code Zero-Secret NHI Governance MCP Server
Scans a repository locally for long-lived AWS keys, stale GitHub tokens and GitHub Actions that are not pinned to a commit SHA. Discovery runs inside your own machine or CI runner, and only metadata and salted fingerprints are ever sent to the hosted service, which also rejects raw credentials with an HTTP 422 response.
For each finding it can generate remediation output: AWS IAM trust policies that match the audience and repository-plus-branch or environment subject exactly, GitHub Actions snippets pinned to 40-character SHAs, and GitHub App token migrations. Compliance bundles for SOC 2 and ISO 27001 controls are canonicalized and signed with Ed25519 so they can be checked offline against a published key set.
The project is aimed at platform and security teams that want to retire static machine credentials and show auditors evidence of it. The core CLI, GitHub Action and MCP server are free and dependency-free; continuous monitoring, automated pull requests and signed bundles are on paid plans.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- nhi_scan_workflow
- Scans a GitHub Actions workflow for static keys and unpinned actions.
- nhi_generate_oidc_migration
- Generates an OIDC migration for AWS trust policies.
- nhi_generate_app_token_migration
- Generates a GitHub App token migration.
- nhi_verify_evidence
- Verifies a signed evidence bundle.
- nhi_offboarding_playbook
- Produces an offboarding playbook for a non-human identity.
What it does
- Local workflow scanning
- Checks GitHub Actions workflows and repository files for static keys and unpinned actions without sending secrets off the machine.
- Raw-secret rejection
- The hosted ingestion endpoints refuse payloads containing recognizable AWS, GitHub, Stripe, OpenAI, Anthropic, Cloudflare or PEM credentials.
- OIDC migration output
- Generates AWS trust policies with exact audience and subject conditions in place of wildcards.
- SHA-pinned action snippets
- Produces workflow snippets that reference third-party actions by full commit SHA.
- Signed compliance evidence
- Builds SOC 2 and ISO 27001 evidence bundles signed with Ed25519 and verifiable against a public JWKS endpoint.
- SARIF output for code scanning
- Exports findings as SARIF 2.1.0 for upload to GitHub Code Scanning.
Good for
- Find long-lived AWS access keys in CI workflows before an audit
- Replace stored GitHub PATs with OIDC or GitHub App tokens
- Pin third-party GitHub Actions to commit SHAs in pull requests
- Offboard non-human identities with a documented playbook
- Attach signed identity-governance evidence to a SOC 2 or ISO 27001 review
Pricing
Freemium, from $249 a month
Free local CLI and GitHub Action; Team $249/mo, Growth $599/mo, Scale $1,299/mo
Prices change. Check nhiascode.dev before you buy.
NHI-as-Code Zero-Secret NHI Governance MCP Server FAQ
Does NHI-as-Code Zero-Secret NHI Governance MCP Server send my secrets to the service?
Discovery runs locally. Only metadata and salted HMAC-SHA256 fingerprints are uploaded, and the server rejects raw credentials with HTTP 422.
Is there a free plan?
Yes. The local CLI and GitHub Action are free, covering one repository and 25 monitored non-human identities with SARIF output and a public trust badge.
Which tools does the MCP server expose?
nhi_scan_workflow, nhi_generate_oidc_migration, nhi_generate_app_token_migration, nhi_verify_evidence and nhi_offboarding_playbook.
What does the Team plan cost?
The Team plan is listed at $249 per month for 15 repositories, 250 monitored identities and 25 automated OIDC or App pull requests per month.
How do I add NHI-as-Code Zero-Secret NHI Governance MCP Server to Claude Code?
Run this command in your terminal: claude mcp add mcp-server -- npx -y @nhiascode/mcp-server
What are the best alternatives to NHI-as-Code Zero-Secret NHI Governance MCP Server?
The closest alternatives to NHI-as-Code Zero-Secret NHI Governance MCP Server are Ci Guard MCP, Secret Scanner, Secrets Leak Audit, GitHub Actions Audit and Secret Scan.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.