# Mute Zone: productivity DNS for agents

MCP server: https://app.mute.zone/mcp
REST schema: https://app.mute.zone/openapi.json
Human guide: https://mute.zone/agents
Connection management: https://app.mute.zone/app/agents

Use OAuth browser authorization with S256 PKCE. Discovery is available at
https://app.mute.zone/.well-known/oauth-protected-resource/mcp and
https://app.mute.zone/.well-known/oauth-authorization-server.
The resource parameter is https://app.mute.zone/mcp.
Scopes: settings:read and optional settings:write. Dynamic client registration
supports public clients and HTTPS or loopback HTTP redirect URIs.

New users can create their account in the browser sign-in flow and verify their
email. Do not ask for a password in a tool call. Once the user approves access,
the MCP client receives an account-scoped, refreshable credential. Alternatively,
use a revocable key created in the dashboard as Authorization: Bearer <key>.
Never put credentials in URLs, source files, or shared conversation transcripts.

## End-to-end workflow

1. get_profile: understand existing settings, weekly quota, and devices.
2. preview_topic: find a distraction using query and optional country/language.
   Lists and queries are shared with other users. Do not submit private information.
   Previewing does not enable the topic. Discoveries can consume the shared AI budget.
3. set_topic_enabled: enable the chosen topic without replacing existing selections.
4. add_rule/add_rules: preserve necessary work sites with allow exceptions.
   Rules apply to full domains and their subdomains, not URL paths or specific feeds.
5. register_device: create a device with one or more owned profile_ids and an optional group. Platform defaults to generic; one endpoint supports setup on every platform. Reusing it combines activity under that device.
6. get_setup with device_id: retrieve that device’s personal DoH URL, DoT hostname, or OS commands.
   For Apple, get_apple_profile with device_id returns base64 .mobileconfig content to save locally.
7. Have an on-device agent apply settings only with the user's authorization.
   A remote cloud agent cannot install settings on a device by itself. OS approval
   prompts, email verification, and payment approval require user participation.
8. start_setup_test: obtain a probe URL. Request that URL FROM THE TARGET DEVICE
   with its configured DNS, then check_setup_test using the returned nonce and expected device_id.
   Probes expire after ten minutes. Never report successful installation without
   evidence from the target device.
9. explain_domain: inspect a policy decision without creating browsing-log entries
   or consuming DNS quota. This is a policy preview, not a live connectivity test.

Other tools: list_topics, get_topic, update_profile, list_rules, remove_rule,
list_devices, remove_device. Removing a device revokes its personal DNS endpoint. Topic preview is limited to 30 calls per account per UTC hour.

Router setup uses profile-specific encrypted DoH or DoT only. Public-IP linking
and plain DNS on port 53 are not supported. Treat DNS endpoint identifiers as
private routing capabilities; they do not authenticate access to the account API.
Agent credentials cannot access activity logs, billing, account export/deletion,
credential management, or internal replication. Read-only grants cannot mutate settings.

## CLI

Download ready-to-run Mac, Linux, or Windows builds from https://mute.zone/cli.
The Mac/Linux installer is https://mute.zone/install.sh and verifies the selected archive against its pinned checksum.
Building from source with `make cli` remains available (Go is pinned in server/go.mod).
Use `mutezone login` for browser signup/sign-in and consent, or set MUTEZONE_TOKEN
from the user's secret store. OAuth credentials are saved with owner-only file
permissions in the OS configuration directory; `mutezone logout` revokes the grant.

Examples:
- mutezone status
- mutezone topic preview 'news'
- mutezone topic enable TOPIC_ID
- mutezone allow example.com
- mutezone setup mac work-mac
- mutezone download mac ./mute-zone.mobileconfig
- mutezone download windows ./mute-zone.ps1
- mutezone download linux ./mute-zone.conf
- mutezone explain example.com
- mutezone test start
- mutezone test check NONCE
- mutezone call add_rules '{"domains":["example.com"],"kind":"block"}'

The CLI returns JSON. Setup commands return instructions; they do not automatically
change network settings. A local agent can apply those instructions with permission.

## Devices and block profiles
Use list_profiles/create_profile/clone_profile to build separate focus presets.
Pass profile_id when editing a chosen profile; never assume the first visible
name is the target. update_device assigns profile_ids and a group without changing
its endpoint. Device names can use any language. remove_device revokes the token;
installed DNS settings must be removed/replaced. Legacy shared profile URLs do not
use new device assignments; legacy_setup means the personal setup needs installing.

update_profile pause_hours accepts an integer from 1 to 23, then filtering resumes
automatically. Pausing one profile leaves other assigned active profiles in effect.
get_country_rules/set_country_rules replace ISO-country rules based on resulting
IP geolocation. Unknown locations are allowed; explicit allows win. Do not equate
country with maliciousness. apply_parental_preset enables adult-content and gambling
lists, preserves existing rules, and requires an adult owner to review limitations.
Never enable profile or device logging unless requested. update_device supports
log_retention_hours 0 or 24 only. Twenty-four hours is the maximum retention. New accounts include a starter Generic device with 24-hour logging and Default with Ads & Trackers enabled; preserve that existing preference. Additional manually created devices default to logging off. get_activity_summary gives only anonymous
counters, not browsing history. Setup checks do not manufacture device queries.

Free is permanent: 10,000 queries/account/week, Monday 00:00 UTC reset. Afterwards
encrypted DNS resolves normally without blocking. Pro is USD 2/month or 18/year,
no trial. ODoH is not implemented. The management CLI is not a local DNS daemon.
