Skip to content
MCP server

Sops MCP

MCP server for creating and managing SOPS-encrypted secrets

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.12.0
Listing updated
6 days ago

About Sops MCP

Sops MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add sops-mcp --env SOPS_MCP_AGE_PUBLIC_KEY='<SOPS_MCP_AGE_PUBLIC_KEY>' --env SOPS_AGE_KEY='<SOPS_AGE_KEY>' -- uvx sops-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "sops-mcp": {
      "command": "uvx",
      "args": [
        "sops-mcp"
      ],
      "env": {
        "SOPS_MCP_AGE_PUBLIC_KEY": "<SOPS_MCP_AGE_PUBLIC_KEY>",
        "SOPS_AGE_KEY": "<SOPS_AGE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "sops-mcp": {
      "command": "uvx",
      "args": [
        "sops-mcp"
      ],
      "env": {
        "SOPS_MCP_AGE_PUBLIC_KEY": "<SOPS_MCP_AGE_PUBLIC_KEY>",
        "SOPS_AGE_KEY": "<SOPS_AGE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "sops-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sops-mcp"
      ],
      "env": {
        "SOPS_MCP_AGE_PUBLIC_KEY": "<SOPS_MCP_AGE_PUBLIC_KEY>",
        "SOPS_AGE_KEY": "<SOPS_AGE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sops-mcp": {
      "command": "uvx",
      "args": [
        "sops-mcp"
      ],
      "env": {
        "SOPS_MCP_AGE_PUBLIC_KEY": "<SOPS_MCP_AGE_PUBLIC_KEY>",
        "SOPS_AGE_KEY": "<SOPS_AGE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "sops-mcp": {
      "command": "uvx",
      "args": [
        "sops-mcp"
      ],
      "env": {
        "SOPS_MCP_AGE_PUBLIC_KEY": "<SOPS_MCP_AGE_PUBLIC_KEY>",
        "SOPS_AGE_KEY": "<SOPS_AGE_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SOPS_MCP_AGE_PUBLIC_KEYAge recipient public key. Required at startup.Required
  • SOPS_AGE_KEYAge private key. Required at call time for any mutation tool (decrypt + re-encrypt). Read-only tools do not need it.

Pricing

Open source

Sops MCP FAQ

Is Sops MCP free?

Yes. Sops MCP is open source, so you can use and self-host it for free.

How do I add Sops MCP to Claude Code?

Run this command in your terminal: claude mcp add sops-mcp --env SOPS_MCP_AGE_PUBLIC_KEY='<SOPS_MCP_AGE_PUBLIC_KEY>' --env SOPS_AGE_KEY='<SOPS_AGE_KEY>' -- uvx sops-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers