SikkerKey

आधिकारिक

एक MCP सर्वर जो आपके AI एजेंट को आपके SikkerKey सीक्रेट्स वॉल्ट को प्रबंधित करने की अनुमति देता है।

SikkerKey MCP के साथ आप क्या कर सकते हैं?

Connect your AI assistant to the SikkerKey management plane with a scoped, audited AI-agent identity.

  • Verify agent identity — Ask whoami to confirm the active agent, granted scopes, project access, and recent attributed audit activity.
  • Manage secrets — Use manage_secrets to create, rotate, and schedule managed secrets within permitted projects without reading stored plaintext.
  • Issue temporary secrets — Use manage_temporary_secrets to create one-time, self-destructing secret shares for human recipients.
  • Oversee machines — Use manage_machines to list, approve, deny, rename, or revoke machine identities.
  • Review audit activity — Use read_audit to query activity, export audit evidence, and review usage statistics.

दस्तावेज़

vault

  • Audit Log
  • Alerts
  • IP Allowlist
  • Trash
  • Machines
    • Standard Machines
    • Temporary Machines
    • Enrollment Tokens and Ephemeral Machines

applications & projects

  • Applications
  • Standalone Projects
  • Secrets
    • Standard Secrets
    • Structured Secrets
    • Managed Secrets
    • Leased Secrets
    • Certificate Secrets
    • Canary Secrets
    • TTL Secrets
  • Access Policies

Organization & Team Management

  • Organizations
  • Vault Roles
  • Access Roles
  • Single Sign-On (SSO)

account

  • Support
  • Settings

tools

  • CLI
  • MCP Server
  • SDK Overview
  • SDKs
    • Kotlin SDK
    • Go SDK
    • Python SDK
    • Node.js SDK
    • .NET SDK
    • PHP SDK
  • Tunnels

security

  • Security Overview
  • Bring Your Own Key (BYOK)
  • SikkerLink Security

tools/MCP Server

MCP Server

Connect MCP-compatible AI clients to SikkerKey through a dedicated, scoped, audited, and plaintext-blind AI-agent identity.

Updated 22 days ago

The SikkerKey MCP server connects MCP-compatible AI clients to the SikkerKey management plane. It lets an AI assistant help administer projects, secret metadata, policies, machines, alerts, audit activity, and other vault operations through a dedicated AI-agent identity.

The MCP server is read-blind for stored secret values. It can create or replace values that you deliberately provide, but no tool can retrieve the plaintext of an existing stored secret.


#How it works

The MCP server runs locally as a child process of your AI client and communicates with it over standard input and output. When the AI invokes a SikkerKey tool, the server signs the corresponding SikkerKey API request with the selected AI agent identity.

  • Local identity. The AI agent's Ed25519 private key is generated and stored on your computer. Only the public key is registered with SikkerKey.
  • Signed requests. Every request covers the HTTP method, path, timestamp, one-time nonce, and request-body hash. A modified or replayed request fails verification.
  • Scoped authorization. Management scopes control vault-wide operations. An access role controls the applications, projects, secret types, machine operations, and policy capabilities the agent can reach.
  • Live creator bound. The agent's effective access can never exceed the current access of the person who created it. If that person's access is reduced or removed, the agent's permissions shrink on the next request.
  • Full attribution. Every successful change is recorded in the Audit Log under the AI agent's identity.

#Requirements

  • A SikkerKey vault
  • Permission to provision an AI agent in the vault
  • An MCP-compatible AI client
  • A supported desktop or server platform

The packaged server supports Linux on x64 and arm64, macOS on x64 and Apple silicon, and Windows on x64. It works with any MCP client that can launch a server over stdio.

Clients with generated configuration

  • Claude Code
  • Claude Desktop
  • Cursor
  • Codex

#Install the server

Install the command globally with npm:

bashCopy

npm install -g sikkerkey-mcp

You can also run a command without a global installation:

bashCopy

npx sikkerkey-mcp <subcommand>

#Set up an AI agent

In the SikkerKey dashboard, open Machines → AI Agents and choose Bootstrap AI agent.

Choose the management scopes and access role the agent should receive, then copy the one-time bootstrap token.

Register the identity on the computer that will run the MCP server.

Approve the pending AI agent in the dashboard.

Generate the configuration for your AI client, paste it into the indicated configuration file, and restart the client.

Ask the connected client to call whoami and confirm the displayed vault, scopes, project access, and agent status.

Register the identity

bashCopy

sikkerkey-mcp install <bootstrap-token>

Add an optional local display name during registration:

bashCopy

sikkerkey-mcp install <bootstrap-token> -name="Operations assistant"

Registration generates an Ed25519 key pair locally and stores the identity under:

textCopy

~/.sikkerkey/agents/<agent-id>/

The agent directory, identity file, and private key are created with restricted permissions. The agent remains pending until you approve it from the dashboard.

Generate client configuration

bashCopy

sikkerkey-mcp config claude-code
sikkerkey-mcp config claude-desktop
sikkerkey-mcp config cursor
sikkerkey-mcp config codex

Each command prints a ready-to-paste configuration block and the location used by that client. The generated configuration launches sikkerkey-mcp serve and selects the agent with SIKKERKEY_AGENT_ID.

Use a separate AI-agent identity for each client, automation environment, or trust boundary. This keeps permissions and Audit Log attribution easy to review.


#Verify the connection

After restarting the AI client, ask it to use whoami. This call is always available and reports:

  • The AI agent ID and name
  • Approval and enabled status
  • Granted management scopes
  • The access role and reachable applications and projects
  • Per-project capabilities
  • The 20 most recent audit entries attributed to the agent

Use whoami at the beginning of a sensitive session or after changing the creator's role, the agent's scopes, or its access role.


#What the tools can manage

You can describe the outcome you want in normal language. The AI client selects the appropriate tool and action, while SikkerKey independently checks the agent's current authorization for every request.

ToolPurpose
whoamiConfirm the active agent, permissions, project access, status, and recent attributed activity.
manage_projectsBrowse the applications and projects the agent can reach.
manage_secretsManage secret metadata, values, versions, rotation, and scheduled managed secrets within permitted projects.
manage_temporary_secretsCreate and inspect one-time, self-destructing secret shares.
manage_policiesCreate and manage access policies and their secret bindings.
manage_canariesPlant, configure, arm, or disarm canary secrets and recover frozen projects.
manage_machinesList, inspect, approve, deny, rename, or revoke machine identities.
manage_project_machinesAttach machines to projects and manage their explicit per-secret grants.
manage_enrollmentIssue, inspect, and revoke enrollment tokens for ephemeral machines.
manage_ai_agentsInspect and manage AI-agent lifecycle state, names, and approvals.
manage_alertsChoose which audit actions trigger alerts.
manage_webhooksCreate and manage signed alert-delivery webhooks.
manage_ipallowlistManage the vault IP allowlist used by machine authentication and enrollment.
manage_trashList, restore, or permanently purge soft-deleted secrets.
read_auditQuery activity, export audit evidence, and review usage statistics.
supportOpen, read, reply to, and rate support tickets.
manage_sdksLook up installation and quick-start guidance for official runtime SDKs.

The tools shown to an AI client are stable, but an individual action succeeds only when the selected agent has the required scope and project capability at the time of the call.


#Management scopes and project access

An AI agent receives two complementary permission sets.

Management scopes

Management scopes control vault-wide areas such as machines, AI agents, enrollment, audit, alerts, webhooks, the IP allowlist, Trash, and support. Read and write scopes can be granted separately where the feature supports them.

Access role

The access role controls the project plane. It decides which applications and standalone projects appear to the agent and what it may do in each project, including permitted secret types, machine attachment and grants, policies, and canaries.

SikkerKey intersects both permission sets with the creating user's current access on every request. The agent cannot use MCP tools to replace its own management scopes or access role.

Start with the smallest set of scopes and project capabilities that covers the intended workflow. Add access later from the dashboard when the agent genuinely needs it.


#How stored secret values are handled

The MCP surface separates secret administration from runtime secret retrieval.

  • Metadata reads. Listing a secret, opening its detail, or viewing its version history returns identifiers, names, types, field names, notes, versions, and timestamps—not stored values.
  • Create and update. When you deliberately supply a value for creation or replacement, that value passes through the AI client into the signed write request and is encrypted by SikkerKey. The response returns metadata and does not echo the value.
  • Server-generated rotation. Rotation and managed-secret creation can generate the new value inside SikkerKey. The AI receives the new version and schedule metadata, not the generated plaintext.
  • Runtime retrieval. Applications read secrets through an official SDK or the CLI using a separate machine identity. An AI-agent identity cannot authenticate as a machine.

Only place a plaintext value into an AI conversation when you intentionally want that AI client to submit it in a secret write. After storage, MCP cannot read the value back.

One-time credentials

Some management actions return newly generated credentials once so you can complete their setup. These include enrollment tokens, a new webhook signing secret, and the token and passphrase for a temporary secret share. Store or deliver them at creation time; later list and detail actions do not reveal them.

A temporary secret share is intended for a human recipient. Opening its link consumes the one-time reveal, so the AI should deliver the share details rather than opening the link.


#Audit, approval, and revocation

SikkerKey records each management action with the AI agent's ID and name. You can review the activity from the dashboard Audit Log or through read_audit. Alert rules and webhooks can notify you when selected agent actions occur.

Your AI client controls its own confirmation prompts before it sends a tool call. Configure that client to require confirmation for changes that deserve human review, particularly permanent deletion, access changes, machine revocation, policy changes, IP allowlist changes, and externally delivered messages.

Disable or revoke an agent

  • Disable. Immediately refuses the agent's signed requests while preserving its scopes and access role for later re-enablement.
  • Revoke. Deletes the server-side AI-agent identity and makes the local key pair unusable for future requests.

Both take effect on the next request. Manage the server-side lifecycle from the dashboard. After revocation, remove the local identity slot:

bashCopy

sikkerkey-mcp revoke <agent-id>

The local revoke command removes files from this computer. It does not revoke the AI agent in the SikkerKey dashboard.


#Use more than one AI agent

A computer can store several AI-agent identities. List the registered local identities with:

bashCopy

sikkerkey-mcp whoami

Generated client configuration creates a separate server entry for each identity. If you configure the server manually, set SIKKERKEY_AGENT_ID to the exact agent that client should use:

jsonCopy

{
  "mcpServers": {
    "sikkerkey": {
      "command": "sikkerkey-mcp",
      "args": ["serve"],
      "env": {
        "SIKKERKEY_AGENT_ID": "agent_..."
      }
    }
  }
}

When exactly one identity is installed, the server selects it automatically. When several exist and no agent ID is configured, startup stops and asks you to choose rather than selecting one implicitly.


#Environment variables

VariablePurpose
SIKKERKEY_AGENT_IDSelect the local AI-agent identity used by the MCP server.
SIKKERKEY_HOMEChange the local SikkerKey identity root from its default of ~/.sikkerkey.

#Command reference

CommandPurpose
sikkerkey-mcp install Register a new local AI-agent identity from a one-time dashboard token.
sikkerkey-mcp whoamiList locally registered AI-agent identities.
sikkerkey-mcp config Print configuration for Claude Code, Claude Desktop, Cursor, or Codex.
sikkerkey-mcp serveRun the MCP server over stdio.
sikkerkey-mcp revoke [agent-id]Remove a local AI-agent identity slot.
sikkerkey-mcpRun the MCP server; equivalent to serve.

#Source code and license

The SikkerKey MCP server is fully open source under the MIT License. Review the authentication, identity storage, protocol handling, tool schemas, and request behavior through the SikkerKeyOfficial GitHub organization.

On this page

  • How it works
  • Requirements
  • Install the server
  • Set up an AI agent
  • Verify the connection
  • What the tools can manage
  • Management scopes and project access
  • How stored secret values are handled
  • Audit, approval, and revocation
  • Use more than one AI agent
  • Environment variables
  • Command reference
  • Source code and license