# Infisical Model Context Protocol [Health: Active]

**Category:** 🔒 Security  
**Repository:** https://github.com/Infisical/infisical-mcp-server  
**GitHub Stars:** 79  
**npm Downloads (last month):** 8355  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/infisical-mcp

## Description
Infisical's official MCP server.

## Tools
Capabilities this server exposes over MCP:

- **create-secret** — Create a new secret
- **delete-secret** — Delete a secret
- **update-secret** — Update a secret
- **list-secrets** — Lists all secrets
- **get-secret** — Get a single secret
- **create-project** — Create a new project
- **create-environment** — Create a new environment
- **create-folder** — Create a new folder
- **list-folders** — List the folders in an environment
- **invite-members-to-project** — Invite one or more members to a project
- **list-projects** — List all projects

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "infisical-model-context-protocol": {
    "command": "npx",
    "args": ["-y","@infisical/mcp"],
    "env": {
      "INFISICAL_AUTH_METHOD": "",
      "INFISICAL_UNIVERSAL_AUTH_CLIENT_ID": "",
      "INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET": "",
      "INFISICAL_TOKEN": "",
      "INFISICAL_HOST_URL": "",
      "INFISICAL_ENABLED_TOOLS": "",
      "INFISICAL_MASK_SECRET_VALUES": "",
      "INFISICAL_AUDIT_LOG": ""
    }
  }
}
```

**Requires environment variables:** `INFISICAL_AUTH_METHOD`, `INFISICAL_UNIVERSAL_AUTH_CLIENT_ID`, `INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET`, `INFISICAL_TOKEN`, `INFISICAL_HOST_URL`, `INFISICAL_ENABLED_TOOLS`, `INFISICAL_MASK_SECRET_VALUES`, `INFISICAL_AUDIT_LOG` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/infisical-mcp/readme_

