Infisical Model Context Protocol logo

Infisical Model Context Protocol

Manage Infisical secrets, projects, environments, folders, and memberships through authenticated MCP tools.

Install Infisical Model Context Protocol

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "infisical-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@infisical/mcp"
      ],
      "env": {
        "INFISICAL_AUTH_METHOD": "YOUR_VALUE_HERE",
        "INFISICAL_UNIVERSAL_AUTH_CLIENT_ID": "YOUR_VALUE_HERE",
        "INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET": "YOUR_VALUE_HERE",
        "INFISICAL_TOKEN": "YOUR_VALUE_HERE",
        "INFISICAL_HOST_URL": "YOUR_VALUE_HERE",
        "INFISICAL_ENABLED_TOOLS": "YOUR_VALUE_HERE",
        "INFISICAL_MASK_SECRET_VALUES": "YOUR_VALUE_HERE",
        "INFISICAL_AUDIT_LOG": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

@infisical/mcp connects MCP clients to Infisical APIs through function-calling tools for secret and project administration. It runs over stdio, authenticates with universal auth or an access token, and sends HTTPS requests to Infisical Cloud or a configured self-hosted host. Reach for it when an agent needs to inspect or modify Infisical resources, while using tool allowlists and secret masking to reduce access. It also records tool activity to stderr and supports Infisical's v4 secrets API with fallback behavior for older self-hosted deployments.

Use cases

  • List secrets for an agent-assisted deployment workflow
  • Create and update Infisical secrets from an MCP client
  • Provision projects, environments, and folders
  • Invite members to Infisical projects
  • Restrict an agent to read-only secret access

Key features

  • Secret CRUD operations
  • Project and environment management
  • Folder creation and project invitations
  • Universal auth and access-token authentication
  • Tool allowlisting and secret-value masking
  • Structured stderr audit logging

Tools11

What Infisical Model Context Protocol lets your agent do. Expand a tool for its parameters.

Self-reported~99 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 27d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @infisical/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars79Stargazers on the source repository.
npm downloads8.4kPackage downloads in the last 30 days.
Last commit17d agoMost recent push to the default branch.
Tools exposed11Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Infisical Model Context Protocol works

What @infisical/mcp does

@infisical/mcp exposes Infisical operations through the Model Context Protocol. Agents can list projects, retrieve individual secrets, enumerate secrets, and create, update, or delete secrets. Administrative operations cover project creation, environment creation, folder creation, and inviting project members.

Read-only operations are list-projects, list-secrets, and get-secret. The remaining tools change Infisical state. By default, all tools are available and secret values can appear in responses, matching the server's backward-compatible defaults.

How it works

The server communicates with its MCP client over standard input and output and does not open a listening port. It makes outbound HTTPS requests to the URL in INFISICAL_HOST_URL, which defaults to https://app.infisical.com. Proxy behavior follows the standard HTTPS_PROXY and NO_PROXY environment variables.

Authentication uses either a Machine Identity's universal-auth client credentials or an access token. Universal auth is the default method; access-token mode accepts a personal access token or a Machine Identity access token. Universal-auth sessions can renew their token while running.

Secret operations use Infisical's v4 API when available. On self-hosted installations before v0.150.0, the server falls back to the older v3 secret routes.

Setup and configuration

Run the package with:

Terminal
npx -y @infisical/mcp

For universal auth, set INFISICAL_UNIVERSAL_AUTH_CLIENT_ID and INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET. For access-token authentication, set INFISICAL_AUTH_METHOD=access-token and INFISICAL_TOKEN. Set INFISICAL_HOST_URL when using self-hosted Infisical or dedicated infrastructure.

Use INFISICAL_ENABLED_TOOLS as a comma-separated allowlist. For example, list-projects,list-secrets,get-secret creates a read-only tool surface. Omitted tools are hidden and rejected, while unknown or empty values prevent startup.

Set INFISICAL_MASK_SECRET_VALUES=true to replace returned secret values with <masked> and request that Infisical omit values from secret reads. Names, paths, and other metadata remain available. Infisical Cloud and self-hosted v0.116.0 or later can keep those values from reaching the server or model during list and get operations.

Tools and capabilities

  • list-projects reads available projects.
  • create-project creates a project.
  • create-environment adds an environment to a project.
  • create-folder creates a folder.
  • list-secrets enumerates secrets.
  • get-secret reads one secret.
  • create-secret, update-secret, and delete-secret manage secret records.
  • invite-members-to-project invites one or more project members.

Limitations and notes

The machine identity or token determines the resources the agent can access, so scope it to the required projects and environments. Secret values, access tokens, client secrets, and other credentials are not written to the audit output.

The server writes newline-delimited JSON audit records to stderr, including startup information and tool calls. Tool-call logging can be disabled with INFISICAL_AUDIT_LOG=false; startup logging remains part of the server's operational output. Records include identifiers and request outcomes, but not secret values. Infisical also records secret operations in its own audit log, while listing projects is not recorded there.

Runtime tool failures return an MCP result marked isError; unknown or disabled tools remain JSON-RPC errors. Self-hosted versions without the v4 secrets API use the deprecated v3 routes when the fallback applies.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Infisical Model Context Protocol

@infisical/mcp is an MCP server that connects MCP clients to Infisical APIs. Its main tools list, retrieve, create, update, and delete secrets, while also creating projects, environments, and folders, inviting project members, and listing projects. It authenticates with universal auth or access tokens and communicates over stdio.

Install and run it with `npx -y @infisical/mcp`. Configure the command in an MCP client such as Claude Desktop, then provide the required authentication environment variables for universal auth or access-token mode.

Set `INFISICAL_AUTH_METHOD=access-token` and provide the token in `INFISICAL_TOKEN`. The token may be a personal access token or a Machine Identity access token.

Set `INFISICAL_MASK_SECRET_VALUES=true`. Secret values are replaced with `<masked>`, and list and get requests ask Infisical not to send values when the connected Infisical deployment supports that behavior.

Set `INFISICAL_ENABLED_TOOLS` to a comma-separated list of allowed tool names. For read-only access, use `list-projects,list-secrets,get-secret`; excluded tools are hidden and rejected when called.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewInfisical Model Context Protocol AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/infisical-mcp?style=directory)](https://allmcps.com/mcp/infisical-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/infisical-mcp"><img src="https://allmcps.com/api/badge/infisical-mcp?style=directory" alt="Infisical Model Context Protocol on AllMCPs" /></a>