1. Conduid
  2. Security
  3. Agentsecrets
MCP server · Security

Agentsecrets

Zero-knowledge credentials infrastructure built for AI agents to operate, not just consume.

75Good

Scored 7 hours ago · breakdown

About Agentsecrets

Agentsecrets is an MCP server published by The-17 in the Security category: zero-knowledge credentials infrastructure built for AI agents to operate, not just consume. Conduid read 19 tools from its source: api_call, check_domain, check_key, diff_environments, diff_secrets, get_agent_identity and 13 more. It is published to npm as @the-17/agentsecrets-mcp and starts with npx.

The The-17/agentsecrets monorepo this package is published from has 202 stars and 15 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v3.3.7 (8 Nov 2026): Fixed in v3.3.7 Windows env/exec no longer report a healthy daemon as missing. It follows v3.3.6 (18 Oct 2026), and the 5 most recent releases go back to v3.3.3 (29 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-secrets, ai-security, credential-management, devtools, devops and openclaw.

Install

Claude Code
claude mcp add agentsecrets -- npx -y @the-17/agentsecrets-mcp
npx
npx -y @the-17/agentsecrets-mcp
From source
git clone https://github.com/The-17/agentsecrets

Tools (19)

api_callMake an authenticated API call. Credentials are injected from the OS keychain — you will NEVER see the actual secret values. Use list_keys first to discover available key names.
ParameterTypeDescription
bodystringRequest body as a JSON string
headersobjectExtra request headers as key-value pairs
injections *objectMap of injection_spec to secret_key_name. Specs: "bearer", "basic", "header:X-Name", "query:param", "body:json.path", "form:field". Example: {"bearer": "STRIPE_KEY"} or {"header:X-API-Key": "API_KEY"}
methodstringHTTP method: GET, POST, PUT, PATCH, DELETE. Default: GET
url *stringTarget API URL (e.g. https://api.stripe.com/v1/charges)
check_domainCheck if a domain is in the workspace proxy allowlist. If the domain is not allowed, returns the CLI command the user should run to add it.
ParameterTypeDescription
domain *stringThe domain name to check (e.g. api.stripe.com)
check_keyCheck if a specific secret key exists in the current project. Returns existence status, which environments contain the key, and last update time. Never returns the actual secret value.
ParameterTypeDescription
environmentstringOptional environment to check (development, staging, or production). Defaults to checking all.
key_name *stringThe name of the secret key to check (e.g. STRIPE_KEY)
diff_environmentsCompare secret keys between two environments to identify drift. Shows which keys exist in one environment but not the other. Never shows actual values.
ParameterTypeDescription
source *stringThe source environment (e.g. development)
target *stringThe target environment (e.g. production)
diff_secretsCompare local secrets (.env/keychain) against cloud secrets for the current environment. Shows which keys are added locally, removed from cloud, changed, or unchanged. Never shows actual secret values.
ParameterTypeDescription
environmentstringOptional environment to diff (development, staging, production). Defaults to active env.
get_agent_identityGet the current agent's identity information including authentication status, keychain-auth configuration, and whether an agent token (AS_AGENT_TOKEN) is set.
get_allowlistGet the full proxy allowlist for the current workspace. Only domains in this list can receive injected credentials.
get_audit_summaryGet an aggregate summary of proxy audit activity: total calls, unique domains, unique credentials used, blocked/redacted counts, and breakdown by environment.
get_blocked_requestsList API requests that were blocked by the proxy (e.g. domain not in allowlist). Helps diagnose why API calls are failing.
ParameterTypeDescription
limitstringOptional: Maximum number of logs to return. Default: 20
get_coverageShow secret key coverage across all environments (development, staging, production). Identifies keys missing from specific environments to help ensure parity.
get_environmentGet the active environment (development/staging/production) and how it was resolved (env var, project config, or global default).
get_proxy_logsQuery local proxy audit logs. Returns recent API calls made through the proxy with metadata (method, domain, status, key names used). Never includes response bodies or secret values.
ParameterTypeDescription
domainstringOptional: Filter by target API domain name (e.g. api.stripe.com)
key_namestringOptional: Filter by secret key name used (e.g. STRIPE_KEY)
limitstringOptional: Maximum number of logs to return. Default: 20
sincestringOptional: RFC3339 timestamp filter (e.g. 2026-05-27T18:00:00Z)
get_redaction_eventsList requests where the proxy detected and redacted secret values from responses. Helps identify potential credential leakage in API responses.
ParameterTypeDescription
limitstringOptional: Maximum number of logs to return. Default: 20
get_statusGet the current AgentSecrets status including authentication state, active project, environment, proxy status, and keychain-auth health.
list_agent_tokensList all registered agent identities and their tokens for the current workspace. Shows token metadata (label, status, created/expiry dates) but never the token values.
list_keysList available secret key names in the current project and environment. Returns ONLY key names and metadata, never actual values. Shows which environment is active and key count per environment. By default reads from the local keyring cache (fast). Pass remote=true to fetch latest from the cloud API.
ParameterTypeDescription
remotebooleanIf true, fetch key list from the cloud API instead of the local keyring cache. Default: false.
pull_secrets⚠️ IMPORTANT: This overwrites local secrets (in .env and the OS keychain) with values fetched from the cloud. Always confirm with the user in chat before calling this tool.
ParameterTypeDescription
environmentstringOptional: The environment to pull secrets for. Defaults to active environment.
rotate_key⚠️ IMPORTANT: This permanently deletes a secret key from the current environment (cloud, local .env, and OS keychain). Always confirm with the user in chat before calling this tool.
ParameterTypeDescription
environmentstringOptional: The environment to rotate the key in. Defaults to active environment.
key_name *stringThe name of the secret key to delete/rotate (e.g. STRIPE_KEY)
switch_environment⚠️ IMPORTANT: This changes the active environment (development, staging, production) which affects which secrets the proxy resolves. Always confirm with the user in chat before calling this tool.
ParameterTypeDescription
environment *stringThe target environment to switch to (development, staging, or production)

Security checks

From the The-17/agentsecrets monorepo, not this package alone.

  • ✓README presentThe repository's README runs to about 1.0K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionScanned 77 source files and found 1 call to eval or shell execution, in npm/bin/agentsecrets.js. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

From the The-17/agentsecrets monorepo.

v3.3.7v3.3.7 · 8 Nov 2026Fixed in v3.3.7 Windows `env`/`exec` no longer report a healthy daemon as missing. `agentsecrets env` and `agentsecrets exec` open the keychain-auth named pipe twice in quick succession. keychain-auth serves one pipe instance at a time, so…
v3.3.6v3.3.6 · 18 Oct 2026Fixed in v3.3.6 Two bugs blocked any API that needs a lowercase JSON field or a Content-Type. Injection targets are no longer rewritten. `--query`, `--body-field`, `--form-field` and `--header` put the target in a proxy control header…
v3.3.5v3.3.5 · 13 Oct 2026v3.3.5 — MCP project resolution fix (Cursor/Windows) Fixes #8 — `agentsecrets mcp serve` no longer depends on the client's working directory to find your project. Fixed MCP server launched from any directory (e.g. Cursor starting it from…
v3.3.4v3.3.4 · 29 Sep 2026Changelog 189664c73f79d8f483fbaf58d62b24e0404bec3f chore: bump version to 3.3.4 bcbc256a4ffbd1233fede9d050612bb873d3a90b fix(call): remove false-alarm approval timer and bump version to 3.3.3
v3.3.3v3.3.3 · 29 Sep 2026What's Changed in v3.3.3 Fixes & Reliability Eliminated False-Alarm Approval Warning: Removed an uncoordinated 2-second background timer in `agentsecrets call` that falsely printed `⏳ Waiting for approval...` banners on requests…

README

The repository's README runs to about 1.0K words, fetched 13 days ago. The original in the repository is authoritative.

Read full README
Questions

About Agentsecrets

How do I install Agentsecrets?

In Claude Code, run claude mcp add agentsecrets -- npx -y @the-17/agentsecrets-mcp. Other MCP clients take the command after "--" in their server configuration.

Is Agentsecrets safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Agentsecrets still maintained?

Yes — the latest release in the The-17/agentsecrets monorepo is v3.3.7 (8 Nov 2026), and the last commit was 13 hours ago. The The-17/agentsecrets monorepo has 202 stars and 1 open issues.

What tools does Agentsecrets provide?

Conduid read 19 tools from the source: api_call, check_domain, check_key, diff_environments, diff_secrets, get_agent_identity, get_allowlist, get_audit_summary and 11 more. 12 of them publish their parameters, listed under Tools above.

What license is Agentsecrets released under?

The repository declares the MIT license. That applies to the latest release, v3.3.7, as well.