DeCloudUs DNS
Model Context Protocol

Connecting an AI assistant

This platform speaks the Model Context Protocol, so an AI assistant can read and manage your DNS filtering directly — with access you grant explicitly and can withdraw at any moment.

Endpointhttps://api.decloudus.com/mcp
TransportStreamable HTTP (POST)
AuthorizationOAuth 2.1 with PKCE, or a bearer token

The usual way: let the assistant authorise itself

Point your client at the endpoint. It will discover the authorisation server, register itself, and open your browser so you can approve it. Nothing is copied by hand.

claude mcp add --transport http decloudus-dns https://api.decloudus.com/mcp

Clients that run on your own machine work without any setup on our side: they redirect to a loopback address, which is always permitted. Hosted clients redirect to their own domain, which has to be on our allowlist — ask if yours is not. Native apps using a private-use URI scheme are supported for: claude://, cursor://, vscode:// .

The fallback: a token you paste in

For a client that cannot open a browser — a script, or anything without a callback we permit — create a connection in Account › AI Connections and paste the token it gives you. It is shown once.

Authorization: Bearer <your token>

What you are granting

You choose at the moment you approve, not the assistant. Two things are decided:

Changes are live. Every write reaches the resolver nodes within seconds and affects real DNS for every device using the profile. There is no staging copy and no undo.

Limits

Deleting things

Tools that destroy something require the profile's full hostname to be passed back as confirmation. The assistant has to have read the profile to know it, so a deletion cannot come from a guessed identifier — and you see the hostname in the call before approving it.

Managing what is connected

Account › AI Connections lists everything currently authorised, what each may do, and which profiles it can reach. Revoking takes one click and takes effect immediately, even mid-conversation.

The REST API this is built on is documented at /developer.