MIUI LSA/LSAV Decrypt
Decrypt .lsa / .lsav encrypted media files from Xiaomi MIUI Gallery via AI agents.
What it can do
- Get Upload Url: Get a presigned S3 URL for uploading an encrypted MIUI Gallery .lsa or .lsav file. Call this first, then upload the file binary to the returned uploadUrl via upload_file_to_s3, then ca
- Upload File To S3: Upload encrypted file data to temporary S3 storage using a presigned URL from get_upload_url. Provide either a local filePath (streamed directly) or base64-encoded fileData. After t
- Upload File For Decryption: Start decrypting an encrypted MIUI Gallery .lsa or .lsav file. Call get_upload_url first to get an upload URL, then upload_file_to_s3 to upload the file, then use this tool
What data it sees
Do you need an account
No: the server works without sign-in
Decrypt .lsa / .lsav encrypted media files from Xiaomi MIUI Gallery via AI agents.
Tools (11)
| Tool | What it does |
|---|---|
get_upload_url |
Get presigned S3 URL to upload encrypted files |
upload_file_to_s3 |
Upload .lsa/.lsav binary to S3 (local file or base64) |
upload_file_for_decryption |
Trigger decryption pipeline |
check_decryption_status |
Poll job progress (0–100%), returns preview URL when done |
fetch_media_file |
Download preview/original as base64 |
get_pricing |
View credit pack pricing |
create_checkout_session |
Create Stripe checkout for credit packs |
purchase_original_file |
Buy unwatermarked original of a decrypted file |
get_original_file |
Get download URL after purchase |
get_user_files |
List decrypted files with pagination/filtering |
batch_decrypt_info |
Info on batch decryption via web UI |
Auth
OAuth 2.1 with PKCE (S256) — authorization_code + client_credentials grants. Auto-registration of transient clients.
Limits
- File size: 50 MB max
- Session TTL: 30 minutes
- Token validity: 60 minutes
Integration
{
"mcpServers": {
"miuidecrypt": {
"url": "https://mcp.lsadecrypt.online/mcp"
}
}
}
Supports OpenCode, Claude Code, and Codex (OpenAI).
Homepage → https://lsadecrypt.online
How to connect
How to connect MIUI LSA/LSAV Decrypt to Claude
The server address to paste into Claude settings:
https://tambovchanin.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect MIUI LSA/LSAV Decrypt to ChatGPT
The server address to paste into ChatGPT settings:
https://tambovchanin.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect MIUI LSA/LSAV Decrypt to Cursor
The server address to paste into Cursor settings:
https://tambovchanin.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (11)
Raw names from tools/list. Only developers need these.
| get_upload_url | Get a presigned S3 URL for uploading an encrypted MIUI Gallery .lsa or .lsav file. Call this first, then upload the file binary to the returned uploadUrl via upload_file_to_s3, then call upload_file_for_decryption with the returned fileKey and jobId. |
| upload_file_to_s3 | Upload encrypted file data to temporary S3 storage using a presigned URL from get_upload_url. Provide either a local filePath (streamed directly) or base64-encoded fileData. After this succeeds, call upload_file_for_decryption to start processing. |
| upload_file_for_decryption | Start decrypting an encrypted MIUI Gallery .lsa or .lsav file. Call get_upload_url first to get an upload URL, then upload_file_to_s3 to upload the file, then use this tool with the returned fileKey and jobId. Returns a jobId for status polling. fileName is optional; if omitted it is extracted from the fileKey. |
| check_decryption_status | Poll the current status and progress of a file decryption job. Returns status (pending/processing/complete/error), progress percentage (0-100), preview URL, and completion info when done. When complete, includes a purchaseInfo hint if the file is available for original-quality purchase without watermark. Polls for up to 2 minutes. |
| fetch_media_file | Download a preview or original media file from the decryption output using the previewUrl returned by check_decryption_status. Accepts a relative or absolute URL and returns the file as base64 with metadata. |
| get_pricing | Get current pricing for credit packs, detected currency, and country code. Credit packs are used to purchase original-quality downloads of decrypted files. |
| create_checkout_session | Create a Stripe checkout session to purchase credit packs for downloading original decrypted files. Returns a redirect URL to Stripe checkout. |
| purchase_original_file | Create a Stripe checkout session to purchase the original (unwatermarked) quality of a decrypted file. The user will be redirected to Stripe for payment. After successful payment, use get_original_file to retrieve the download link. |
| get_original_file | After purchasing a file via purchase_original_file, check if payment was completed and get the download URL for the original (unwatermarked) file. If the file has been purchased, returns a downloadUrl that can be used with fetch_media_file. |
| get_user_files | List files the current user has decrypted. Supports pagination, search by filename, filtering by file type (preview/original), and sorting. |
| batch_decrypt_info | Provides information about batch decrypting multiple MIUI Gallery files at once. When a user has a large gallery of encrypted .lsa/.lsav files, they can decrypt them all simultaneously via the web application instead of one-by-one through this MCP interface. |