
A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A lightweight MCP server that generates, stores, rotates, and uses per-agent signing keypairs entirely on the local machine, keeping private keys local and never exposing them through responses.
Local-first MCP server for per-agent signing key management is cataloged as an MCP server attributed to diegoescalonaro. A lightweight MCP server that generates, stores, rotates, and uses per-agent signing keypairs entirely on the local machine, keeping private keys local and never exposing them through responses. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Local-first MCP server for per-agent signing key management are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The server is designed so private keys never leave the process, never touch the network, and are not returned through MCP responses.
Key files are written with 0600 permissions, and at-rest encryption can optionally be enabled for anything beyond throwaway local development.
HTTP mode does not add authentication or TLS by itself, so it should be kept behind a trusted local boundary or a reverse proxy.
README.md · 22b134562371 · Fetched 2026-11-13 12:27:01 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Local-first, lightweight MCP server for per-agent key management.
Give every agent its own signing identity - without relying on external KMS or exposing private keys.
local-kms-mcp-server generates, stores, rotates, and uses signing keypairs entirely on the local machine. Keys never
leave the process, never touch the network, and stay under control.
It’s built for MCP clients and agent runtimes that need isolated, composable identities for tasks such as DID/SSI flows, auth handshakes, challenge signing, and any workflow where agents must prove something cryptographically
| Algorithm | Tool value | Notes |
|---|---|---|
| Ed25519 | ed25519 | Good default for general signing and DID-style use cases |
| ECDSA secp256k1 | ecdsa-secp256k1 | Common for Ethereum, Bitcoin, and other Web3 flows |
| ECDSA P-256 | ecdsa-prime256v1 | ES256, WebAuthn, and common cloud KMS compatibility |
| ECDSA P-384 | ecdsa-secp384r1 | Higher-security NIST P-384 environments |
>=24.0.0Use stdio when running from Claude Desktop, Cursor, or another local MCP client.
{
"mcpServers": {
"local-kms": {
"command": "npx",
"args": ["-y", "local-kms-mcp-server"],
"env": {
"STORE_PATH": "/Users/yourname/.local-kms",
"ENCRYPT_STORE": "true",
"STORE_ENCRYPTION_KEY": "<base64-32-byte-key>"
}
}
}
}
Use HTTP only when you explicitly want a local network endpoint.
TRANSPORT=http PORT=8080 npx local-kms-mcp-server
Endpoint:
POST http://localhost:8080/mcp
Run directly with npx:
npx -y local-kms-mcp-server
Or install globally:
npm install -g local-kms-mcp-server
local-kms-mcp-server
| Environment variable | Default | Description |
|---|---|---|
STORE_PATH | ./keys | Directory used for persisted key files |
TRANSPORT | stdio | MCP transport: stdio or http |
PORT | 8080 | HTTP port used only when TRANSPORT=http |
ENCRYPT_STORE | false | Set to true or 1 to encrypt key files at rest |
STORE_ENCRYPTION_KEY | none | Base64-encoded 32-byte key required when encryption is enabled |
For local development there is an example file at .env.example, but for actual MCP client usage it is better to pass
values through the client's env configuration so startup is deterministic.
Generate an encryption key:
node -e "console.log(require('node:crypto').randomBytes(32).toString('base64'))"
All tool inputs are validated with Zod. Public keys and signatures are returned as base64 strings.
| Tool | Purpose | Input | Output |
|---|---|---|---|
check_keypair | Check whether a key exists | { "keyId": "agent-1" } | { "exists": true } |
list_keys | List all stored key IDs | {} | { "keys": ["agent-1", "agent-2"] } |
list_algorithms | List all supported signing algorithms | {} | { "algorithms": ["ed25519", ...] } |
generate_key | Create and persist a new keypair | { "keyId": "agent-1", "algo": "ed25519" } | { "publicKey": "..." } |
get_key_info | Return the stored public key for a key ID | { "keyId": "agent-1" } | { "publicKey": "..." } |
rotate_key | Rotate an existing keypair using its stored algorithm | { "keyId": "agent-1" } | { "newPublicKey": "..." } |
delete_key | Delete a keypair with optional secure wipe | { "keyId": "agent-1", "secureWipe": true } | { "success": true } |
sign_message | Sign a base64-encoded payload | { "keyId": "agent-1", "message": "aGVsbG8=" } | { "signature": "..." } |
Notes:
generate_key fails if the keyId already existsrotate_key increments the stored versiondelete_key with secureWipe: true overwrites the key file with random data before deletionsign_message expects message to already be base64-encodedsign_message accepts an optional algo override, but in normal usage the stored algorithm is usually what you wantlist_algorithms to see available signing algorithmsgenerate_key for a new keyIdget_key_info to retrieve the public key for registration or distributionsign_message whenever the agent needs to sign a challenge or payloadrotate_key when you need new key material for the same keyIddelete_key to securely remove a keypair when no longer neededcheck_keypair or list_keys for inventory and existence checksExample sign_message payload:
{
"keyId": "key-1",
"message": "eyJub25jZSI6IjEyMyJ9"
}
Unencrypted keys are stored as one file per key under ${STORE_PATH}:
${STORE_PATH}/${keyId}.json
Stored records contain:
{
"keyId": "key-1",
"algo": "ed25519",
"publicKey": "...",
"privateKey": "...",
"version": 1,
"createdAt": "2026-04-18T12:34:56.000Z"
}
When ENCRYPT_STORE=true, the file contents are encrypted and persisted as base64 ciphertext instead of plaintext JSON.
0600 permissionskeyId values become filenames, so use stable, filesystem-safe IDspnpm install
pnpm build
pnpm test
pnpm lint
pnpm format:check
Run locally after building:
pnpm start
Watch the built output during development:
pnpm start:dev
KeyAlgorithmAdaptersrc/keystore/index.tsimport { KeyAlgorithmAdapter } from '../adapter.js';
import type { KeyPair } from '../types.js';
export class MyAdapter extends KeyAlgorithmAdapter {
readonly name = 'my-algo';
generate(): KeyPair {
/* ... */
}
sign(privateKey: string, data: Buffer): string {
/* ... */
}
verify(publicKey: string, data: Buffer, signature: string): boolean {
/* ... */
}
rotate(_currentKeyPair: KeyPair): KeyPair {
return this.generate();
}
}
src/
config/ environment parsing and validation
keystore/ adapters, registry, and file-based storage
tools/ MCP tool registration and handlers
utils/ crypto helpers, errors, serializers
server.ts MCP server construction
main.ts stdio and HTTP entry point
test/ unit tests
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Local-first MCP server for per-agent signing key management from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/local-kms-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.