Set up DNSFilter in Metorial for Claude, ChatGPT and Cursor
Share DNSFilter with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 27 tools (13 read-only).
To give your team DNSFilter in Claude, ChatGPT, Cursor and other AI clients, an admin shares the DNSFilter integration in a Metorial portal, and each person connects with an API token. Agents can manage DNS-layer security, content filtering, and threat protection across organizations. The integration has 27 tools, 13 read-only and 14 write, plus 5 triggers.
What you'll learn
- How an admin shares DNSFilter in a portal and how each person connects
- What DNSFilter asks for when you connect, and where to find it
- How to keep the 13 read-only tools and reject the other 14
Before you start
- A portal with at least one access group
- An API token from DNSFilter for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| API Token | API token | token |
API Token
To connect, a person enters:
token: DNSFilter API token (JWT). Generate from DNSFilter Dashboard > Account Icon > API Keys.
Setup settings
Setup also asks for:
organizationId(optional): Default organization ID to scope API requests to. If not set, requests use the token owner's organization.
Admin: share DNSFilter in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose DNSFilter. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from DNSFilter.
Choose who gets it
Add the access groups that should see DNSFilter. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user DNSFilter integration. Once it exists, check which groups have it:
Employee: connect DNSFilter
In the portal
Open DNSFilter in the catalog
Sign in to your portal and open DNSFilter. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your DNSFilter connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 13 read-only tools, such as get_policy and get_billing, and lose the 14 write tools, such as manage_policy or manage_network.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 27 tools, minus any you rejected. list_organizations takes no input.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (13)
get_query_log: Retrieve raw DNS query logs for detailed analysis.list_networks: Lists network sites configured in DNSFilter.list_organizations: Lists all organizations accessible to the authenticated user.lookup_domain: Look up one or more domains (FQDNs) to retrieve their associated categories and threat classifications. Needsdomains.get_billing: Retrieve billing information, invoices, and estimated upcoming charges. Needstype.get_traffic_report: Retrieve total DNS request counts over time.list_policies: Lists DNS filtering policies.list_roaming_clients: Lists roaming client (agent) deployments.get_organization: Retrieves detailed information about a specific organization by ID. NeedsorganizationId.list_categories: Lists all available content filtering categories (36+ categories).get_policy: Retrieve a filtering policy and its configured allow lists, block lists, categories, applications, and relationships.get_current_user: Retrieve the user whose permissions are used by this API key, including their ID, name, and email.get_network: Retrieve a network site, its filtering configuration, and related resource IDs.
Write tools (14)
create_organization: Creates a new organization (tenant). Needsname.update_organization: Updates an existing organization's settings. NeedsorganizationId.manage_roaming_client: Get, update, or delete a roaming client (agent). NeedsactionandroamingClientId.suggest_domain_categorization: Submit a domain for categorization review or report it as a threat. Needstypeanddomain.manage_network_secret_key: Generate, rotate, or revoke a network's secret key used for agent authentication. - **generate**: Creates a new secret key for the network. - **rotate**: Replaces the existing secret key with a new one. - **revoke**: Removes the secret key entirely. NeedsnetworkIdandaction.manage_block_page: List, create, update, or delete custom block pages. Needsaction.manage_network: Create, update, or delete a network (site) in DNSFilter. Needsaction.manage_mac_addresses: List, create, update, or delete MAC addresses associated with organizations for device-level identification. - **list**: Get all registered MAC addresses. - **create**: Register a new MAC address. - **update**: Modify an existing MAC address entry. - **delete**: Remove a MAC address. Needsaction.manage_policy: Create, update, or delete a DNS filtering policy. Needsaction.manage_collection: Create, update, delete, or list user collections. Needsaction.manage_scheduled_policy: List, create, update, or delete scheduled policies. Needsaction.manage_organization_users: List, add, update, or remove users in an organization. - **list**: Get all users in the organization. - **add**: Add a new or existing user by email. - **update**: Change a user's role/permissions (Admin, Read-Only). - **remove**: Remove a user from the organization (does not delete their account). NeedsactionandorganizationId.manage_collection_users: List, add, or remove users from a user collection. NeedsactionandcollectionId.manage_ip_addresses: List, create, update, or delete IP addresses associated with networks. Needsaction.
Triggers
DNSFilter has 5 triggers, which fire on events in DNSFilter:
network_changes: Triggers when network sites are added or removed.roaming_client_changes: Triggers when roaming clients (agents) are added or removed.policy_changes: Triggers when filtering policies are added or removed.inbound_webhookorganization_changes: Triggers when organizations are added or removed.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use DNSFilter there
- Tool permissions: tool filters and what employees see
- DNSFilter on metorial.com: the integration overview