Privara Unmask · MCP server
Unmask MCP connector for Claude and AI agents
Ask your AI assistant to unmask an Android malware sample and get back the recovered C2 server, with its evidence, liveness and a report. The Privara Unmask MCP server works in Claude (claude.ai, Claude Desktop, Claude Code) and in any client that speaks the Model Context Protocol. Samples run on Privara's own sandboxed phone, never on your machine. Pay only for results: $25 live C2, $9 dead C2, $0 when nothing is found.
Connect Privara Unmask to your AI assistant
Privara Unmask is listed in Claude’s connector directory as a community connector. You need a Privara account with Unmask (free until your first C2, up to 10 samples). In other clients, add the server URL:
https://app.tajapps.com/mcp/unmask
Claude (claude.ai and Claude Desktop)
- Open Settings, then Connectors, and find Privara Unmask in the directory (or open the listing). You can also choose Add custom connector and paste the URL. On Team and Enterprise plans an owner adds connectors for the organisation.
- Click Connect. You sign in to Privara and see a permission page.
- Approve read access, and tick submit samples if Claude should start paid analyses. Only the company owner or a company admin can grant submit.
- In a chat, turn the connector on from the tools menu. Claude Desktop and the mobile apps use the same connector.
Claude Code
claude mcp add --transport http privara-unmask https://app.tajapps.com/mcp/unmask
Then run /mcp, choose privara-unmask and Authenticate. Your browser opens the same permission page.
Cursor, VS Code, MCP Inspector and other MCP clients
Add a remote MCP server (Streamable HTTP) with the URL above. The client discovers the sign-in on its own: the server answers an unauthenticated request with 401 and a pointer to its OAuth metadata.
Scripts and clients without OAuth
Send an Unmask API key from the dashboard's Unmask API page as a bearer token. The key's own permissions apply.
claude mcp add --transport http privara-unmask https://app.tajapps.com/mcp/unmask \
--header "Authorization: Bearer pvu_..."
For plain scripts and CI, the Unmask API and its command-line client privara-unmask are usually simpler.
Tools
Eight tools. The four read tools never cost anything. Text that comes from a malware sample (file names, C2 values, family names) is returned defanged and marked as untrusted data, so the model treats it as evidence, never as instructions.
| Tool | What it does | Permission | Cost |
|---|---|---|---|
get_balance | Balance, amount held for running jobs, your prices, free trial, fair use and upload limits | read | free |
list_jobs | Your jobs, newest first; filter by status, batch or sample SHA-256 | read | free |
get_job | One job: status, outcome, charge and the defanged C2 servers with liveness | read | free |
get_report | The finished report: outcome and why, family, C2, rejected candidates, static indicators and the dashboard link | read | free |
request_upload | A one-time upload link for one sample (files are too large for tool arguments) | submit | free |
submit_sample | Starts the analysis of 1 to 10 uploaded samples; asks you to accept the charges first | submit | per result |
continue_batch | Runs, at the normal price, samples that were not run because the free trial ended | submit | per result |
dispute_job | Reports a wrong C2 within 7 days; an approved report credits the charge back | submit | free |
Permissions
| Permission | Scope | Tools | Who can grant it |
|---|---|---|---|
| Read balance, jobs and reports | unmask:read | get_balance, list_jobs, get_job, get_report | anyone with Unmask on the account |
| Submit samples | unmask:submit | request_upload, submit_sample, continue_batch, dispute_job | the company owner or a company admin |
A client usually connects with read access first. When it calls a submit tool without that permission, the server answers 403 with insufficient_scope, and the client asks you to approve the extra permission (in Claude: reconnect the connector). Submit is checked again on every request: if an admin loses that role, their connections lose submit at once.
Costs
The connector spends your company's prepaid Unmask balance at the same prices as the web panel and the API. Each sample is charged once, when its result is in:
| Result | Charge |
|---|---|
| Live C2 (the server answered) | $25 |
| Dead C2 (found, no longer answering) | $9 |
| No C2 found | $0 |
| Platform fault | never charged |
- Free trial: 10 samples or one C2, whichever comes first. If several samples are waiting when the first C2 arrives, they are not run and not charged, and you are asked whether to run them at the normal price (
continue_batch). - Holds: each queued sample holds $25 of the balance until it finishes; the difference comes back.
- Same sample again within 30 days: the earlier result at no charge, scored with today's rules. Ask for a fresh run to analyse it again (charged like a new sample).
- Confirmation:
submit_samplerequiresaccept_charges: trueand is marked as a spending tool, so your client asks you before it runs. - Not an Android app: refused, never charged.
Prices, the trial and refunds are explained on the Unmask page; the rules are in the Unmask pay-per-result terms.
Uploading a sample
- Ask the assistant for an upload link.
request_uploadreturnshttps://app.tajapps.com/mcp/unmask/upload/…. - Upload the file: open the link in a browser and choose the file, or run
curl -T sample.apk '<link>'(Claude Code can run this for you). - Tell the assistant to submit it. Up to 10 samples go in one batch.
The link works once, for 15 minutes, for your account only. APK, XAPK, APKM and .apks files up to 200 MB are accepted. An uploaded file waits one hour for submit_sample and is then deleted.
Example prompts
- "Use Privara Unmask: show my balance."
- "Get me an upload link, then unmask the APK I upload and tell me its C2."
- "List my last five Unmask jobs and summarise which C2 servers are still live."
- "Show the report of job j_… and give me the C2 as STIX-ready indicators."
- "The C2 in job j_… is a CDN, not the attacker. Report it as a wrong C2."
Security and privacy
- Sign-in: OAuth 2.1 with PKCE (S256). Access tokens last one hour and work only for this server; refresh tokens rotate on every use. Tokens are stored as hashes.
- Your account only: every request is checked against your company, your role and your Unmask subscription. Disconnect at any time from the dashboard's Unmask API page.
- Samples never run on your machine: they are detonated on Privara's own isolated Android phone.
- Sample data is untrusted: everything from a sample is defanged and labelled as data, so a malicious string cannot instruct the model.
- Privacy: how samples, results and connections are handled is in the privacy policy.
Troubleshooting
| You see | What it means |
|---|---|
| "This connector requires additional permissions" | The connection has read access only. Reconnect and approve submit samples (owner or company admin). |
insufficient_balance | The balance does not cover the $25 hold per sample. Top up in the dashboard's Unmask wallet; nothing was queued. |
fair_use_reached | This month's limit of results with no C2 is used up. New submissions can start next month, or ask us to raise it. |
not_apk on upload | The file is not an Android app. Nothing is charged; ask for a new link. |
nothing_to_continue | No sample of that batch is waiting to run; nothing was charged. |
| A job stays queued or running | A run usually takes 20 to 60 minutes on the sandbox phone, up to about 90 when it retries on Android 14, plus any wait behind other samples. The job's progress says exactly what it is doing (waiting in line, running for N minutes, retrying, verifying); a wait in line is normal, not a fault. Ask again later; get_job says when to check. |
rate_limited | Too many requests at once. Wait a few seconds and try again. |
Frequently asked questions
What is the Privara Unmask MCP server?
It connects AI assistants to Privara Unmask, the Android malware sandbox that recovers the C2. Your assistant can submit APK samples, follow the analysis and read the report, including the command-and-control servers, whether they are live, and the evidence for each.
Which AI assistants does it work with?
Claude (claude.ai, Claude Desktop, the mobile apps and Claude Code, where it is listed in the connector directory) and any client that supports remote MCP servers over Streamable HTTP with OAuth, such as Cursor, VS Code and MCP Inspector.
Does the malware run on my computer?
No. Samples run on Privara's own sandboxed Android phone. Your assistant only sends the file and reads the result.
What does it cost?
Connecting and reading are free. Each analysed sample costs $25 when a live C2 is found, $9 for a dead C2 and nothing when no C2 is found. New accounts get a free trial of 10 samples or one C2.
Can I give my assistant read-only access?
Yes. Approve read access only: the assistant can see your balance, jobs and reports but cannot start analyses or spend your balance.
How is this different from the Unmask API?
The MCP server is the Unmask API made for AI assistants: the same prices, wallet, results and rules, with tools a model can call. For scripts, CI and integrations such as OpenCTI or TheHive, use the Unmask API.
Questions
Something not working, or a volume price for your team: talk to us. See also the Unmask product page and the API documentation.
Connect Unmask to Claude and send your first sample.
Up to 10 samples free. Then $25 for a live C2, $9 for a dead one, and nothing when nothing is found.