mcp-ecdsa
MCP server for ECDSA cryptography
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)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_ecdsa-0.1.1.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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