mcp-server-datovka¶
An MCP server for the Czech ISDS data box system (“datové schránky”), built on
FastMCP and python3-datovka. Companion package:
mcprack-mcp-server-datovka. Binary: /usr/bin/mcp-server-datovka.
sudo apt install mcprack-mcp-server-datovka
Configuration¶
Variable |
Default |
Meaning |
|---|---|---|
|
required |
ISDS login name |
|
required |
ISDS password (keep it in the secret store) |
|
production endpoint |
Use the testing sandbox ( |
|
|
Where |
|
|
|
Register the plain values and keep the password in the secret store:
sudo mcprack server edit mcp-server-datovka \
--set-env DATOVKA_URL=https://ws1.czebox.cz/ \
--add-secret-key DATOVKA_USERNAME --add-secret-key DATOVKA_PASSWORD \
--allow-user-override
sudo mcprack secret set mcp-server-datovka DATOVKA_USERNAME
sudo mcprack secret set mcp-server-datovka DATOVKA_PASSWORD
Data boxes carry legally binding messages. Allow sending only for people who are
entitled to send on behalf of the box, ideally through a per-user override of
DATOVKA_USERNAME and DATOVKA_PASSWORD.
Tools¶
Tool |
Purpose |
|---|---|
|
Summaries, most recent first (without a date range ISDS returns about 90 days) |
|
A full message; attachment bytes only on request (base64) |
|
Save documents as files under |
|
Find a recipient’s box id by name, trade name or IČO (offline directory first) |
|
Send a message / compose plain text as a PDF and send it (write) |
|
Mark as read (write) |
|
Check that the session is alive |