Skip to main content

mcp-ecdsa

MCP server for ECDSA cryptography

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-ecdsa

Install

pip install mcp-ecdsa

Usage

As MCP Server

Configure in your MCP client:

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

Python API

from mcp_ecdsa import generate_key, sign_data, verify_signature

# Generate key pair
result = await generate_key({"curve": "NIST256p"})
data = json.loads(result[0].text)

# Sign data
sign_result = await sign_data({
    "private_key": data["private_key"],
    "data": "Hello, World!"
})

# Verify signature
verify_result = await verify_signature({
    "public_key": data["public_key"],
    "signature": json.loads(sign_result[0].text)["signature"],
    "data": "Hello, World!"
})

Tools

Tool Description
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

Supported Curves

  • NIST192p, NIST224p, NIST256p, NIST384p, NIST521p
  • SECP256k1
  • Ed25519, Ed448

Supported Hash Functions

  • SHA1, SHA224, SHA256, SHA384, SHA512
  • SHA3-256, SHA3-384, SHA3-512

Development

git clone https://github.com/daedalus/mcp-ecdsa.git
cd mcp-ecdsa
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

Metadata

Release files for mcp-ecdsa 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-ecdsa 0.1.1
File Size Uploaded
mcp_ecdsa-0.1.1.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-ecdsa 0.1.1
File Interpreter ABI Platform
mcp_ecdsa-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / mcp_ecdsa-0.1.1.tar.gz

Download URL mcp_ecdsa-0.1.1.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
96aab9b83f6f2be423c60329b9dabc7abddaab4fddc351e70024101541f06e4d
BLAKE2b-256 checksum
How to use checksums
b6d1538aec7e73f9bf222d7c040c5b61d3f9371a5d85ff1692090420b7f70aaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.

Transparency log

Release files / mcp_ecdsa-0.1.1-py3-none-any.whl

Download URL mcp_ecdsa-0.1.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ca070799cb823444df57bc6e1ee1616ddba75333f324b72042250c274009be2
BLAKE2b-256 checksum
How to use checksums
8bc6e0f0b52a68b7d9b34b562359404632cb1ba3ad92c6958571652a28af04d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page