Infisical MCP Server

Official

Use Infisical MCP to work with secrets, projects, environments and folders through Infisical’s documented machine-identity or access-token authentication.

Local serverstdio

What is the Infisical MCP Server?

Infisical’s MCP server exposes operations on secrets and the projects that contain them. Its tool set includes looking up, creating and updating secrets, plus project, environment and folder operations. It connects an assistant to Infisical’s API rather than simply supplying a key to another integration.

Select the project and environment first

Specify the project, environment and secret path before requesting a value or an update. Begin with the smallest lookup that answers the question. When changing configuration, keep the exact target and operation visible so development and production values are not confused.

Use the documented identity mode

Run the npm package @infisical/mcp. Universal authentication uses a machine-identity client ID and secret; access-token mode uses INFISICAL_TOKEN. A custom host URL selects self-hosted or dedicated infrastructure. Choose the authentication mode explicitly and verify the identity’s project permissions in Infisical.

Maintainer’s setup and tool reference. Browse secrets management MCP servers for related workflows.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list-secretsList secrets in the selected scope.
get-secretRetrieve a secret.
update-secretUpdate an existing secret.
list-projectsList accessible projects.

How to install the Infisical MCP Server

{
  "mcpServers": {
    "infisical": {
      "command": "npx",
      "args": [
        "-y",
        "@infisical/mcp"
      ],
      "env": {
        "INFISICAL_AUTH_METHOD": "access-token",
        "INFISICAL_TOKEN": "YOUR_INFISICAL_TOKEN"
      }
    }
  }
}

Use the maintainer’s authentication and account setup instructions.

Configuration

An Infisical identity authorised for the intended project and environment.

VariableDescriptionRequired
INFISICAL_AUTH_METHODSelect universal-auth or access-token.Optional
INFISICAL_TOKENRequired for access-token mode.Check documentation
INFISICAL_UNIVERSAL_AUTH_CLIENT_IDRequired for universal-auth mode.Check documentation
INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRETRequired for universal-auth mode.Check documentation

Example prompts to try

  • “List the available environments for this Infisical project before selecting a secret path.”

Frequently asked questions

The README documents INFISICAL_HOST_URL for a custom Infisical host.