# mcp-ecdsa [Health: Active]

**Category:** 🔑 Cryptography  
**Repository:** https://github.com/daedalus/mcp-ecdsa  
**GitHub Stars:** 1  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-ecdsa

## Description
MCP server for ECDSA cryptography

## Tools
Capabilities this server exposes over MCP:

- **generate_key** — Generate ECDSA key pair
- **sign_data** — Sign data (with hashing)
- **sign_digest** — Sign pre-hashed digest
- **verify_signature** — Verify signature over data
- **verify_digest_signature** — Verify signature over digest
- **import_private_key** — Import from PEM/DER/base64
- **import_public_key** — Import from PEM/DER/base64
- **export_private_key** — Export to PEM/DER/base64/SSH
- **export_public_key** — Export to PEM/DER/base64/SSH
- **get_key_info** — Get key information
- **recover_public_key** — Recover public keys from signature

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

```json
"mcpServers": {
  "mcp-ecdsa": {
    "command": "uvx",
    "args": ["mcp-ecdsa"]
  }
}
```

## Documentation

## What mcp-ecdsa MCP server does

The mcp-ecdsa MCP server makes elliptic-curve cryptography available as MCP tools. It supports key-pair generation, signing, signature verification, key conversion, key inspection, and public-key recovery. Operations can work with complete data or with digests that have already been calculated by another process.

Supported curves include NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1, Ed25519, and Ed448. The listed hash options are SHA1, SHA224, SHA256, SHA384, SHA512, SHA3-256, SHA3-384, and SHA3-512.

## How it works

The server runs as the `mcp-ecdsa` command and communicates with an MCP client through the command configuration. A client sends arguments to individual tools and receives structured tool results. The repository also exposes Python functions, including `generate_key`, `sign_data`, and `verify_signature`, for callers using the package directly.

Data signing tools cover two workflows. `sign_data` hashes the supplied data before signing, while `sign_digest` accepts a digest that was prepared elsewhere. Matching verification tools are available for both forms: `verify_signature` checks a signature against data, and `verify_digest_signature` checks one against a digest.

## Setup and configuration

Install the package from PyPI with:

```bash
pip install mcp-ecdsa
```

Register the server in an MCP client by using the installed executable as the command:

```json
{
  "mcpServers": {
    "mcp-ecdsa": {
      "command": "mcp-ecdsa"
    }
  }
}
```

The repository also includes development instructions for an editable installation with test dependencies, followed by pytest, Ruff, and mypy commands.

## Tools and capabilities

Available tools are:

- `generate_key`: create an elliptic-curve key pair.
- `sign_data`: hash and sign supplied data.
- `sign_digest`: sign an existing digest.
- `verify_signature`: verify a signature over data.
- `verify_digest_signature`: verify a signature over a digest.
- `import_private_key` and `import_public_key`: read keys from PEM, DER, or base64 input.
- `export_private_key` and `export_public_key`: write keys as PEM, DER, base64, or SSH output.
- `get_key_info`: return information about a key.
- `recover_public_key`: recover public keys from a signature.

## Limitations and notes

Those details should be confirmed before relying on the server in a production signing workflow.

The package can be used through MCP or its Python API. The documented Python example uses asynchronous functions and reads text from the returned tool result before passing key and signature values to later operations.

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

