Tokens and scopes

Every MCP scope, what it permits, and how tokens are created, expire, and are edited, revoked or deleted.

On this page

An access token is how an AI client signs in to Modulify over MCP, and how your own code calls the HTTP API. The same token works for both. It belongs to your user account, carries a fixed list of scopes, and can be limited to specific workspaces and to specific sites. Tokens live at /dashboard/tokens, reached from Tokens in the user menu. In the Modulify app for iPhone and Android, Tokens is a row on the Account tab, see On the mobile app.

The scopes

Twenty-seven scopes exist. The label column is what the checkbox says in the Tokens form.

Scope Label in the product What it permits Ticked by default
workspaces:read Read workspaces and credits Your workspaces, your role in each, their members and how many hold each role, whether an address can be invited, the AI credit balance and what it was spent on, the spending settings with their monthly caps, alerts and auto top-up, a pending workspace transfer, and the site usage of the default workspace you own Yes
sites:read Read sites and settings Listing sites and templates, reading one site, its AI media preferences and a pending site transfer, whether a free subdomain or a folder slug is taken, folders, publish status and history, backups, including storage and database backups Yes
sites:create Create and duplicate sites Creating a site from a prompt, duplicating an existing one Yes
sites:write Rename and update sites Name, slug, description, infrastructure location, badge, free subdomain, AI media preferences, sharing settings, turning visitor collection on and off, taking and restoring backups, taking storage and database backups and turning their daily run on and off, archiving and unarchiving sites, and all folder work short of deleting one or moving it to another workspace Yes
sites:delete Delete sites Deleting a site, deleting a backup, deleting one or every storage or database backup, emptying a collection, dropping a whole database, clearing visitor history, clearing the history of a chat, closing a chat, discarding a chat's unmerged changes, deleting or moving a folder, removing a queued message, restoring a code version, and moving a site to another workspace, offering it to another person and withdrawing that offer No
chat:read Read chat and generation progress Generation progress, chat history, the message queue, the code backup history, the chats of a site Yes
chat:write Send prompts and cancel generations Sending a prompt, cancelling a generation, editing, reordering and resuming the queue, moving a queued message to another chat, starting and renaming a chat, merging its unmerged changes, and choosing which chat the preview shows live Yes
code:read Read site source files Listing and reading source files, and whether the code lives with Modulify or in GitHub Yes
code:write Write site source files Replacing source files directly in the running preview, bypassing the AI. The change is saved to the code backup history straight away, or when the chat ends if one is running. Also moving the code to GitHub and back, and renaming the publish branch No
publish:write Publish and unpublish sites Publishing a site, including through one of its deploy hooks, stopping a publish that is running, and taking a site offline Yes
config:read Read site domains, secrets, crons, webhooks and deploy hooks Variable names, the skills and connectors a site can use and which are on, scheduled jobs and their runs, webhooks and deliveries, deploy hooks with their masked URLs and their call log, the counts of both over time, domain status, and a site's email settings, email domains, forwarding addresses, allowance, sent emails read one at a time or as a list, email counts over time, opens and clicks, credits spent on email and blocked addresses, a site's AI settings, usage over time and request history, and the site environment and its build logs Yes
config:write Change site domains, secrets, crons, webhooks and deploy hooks Setting, renaming and deleting variables, turning a site's skills and connectors on or off, creating, editing, deleting, toggling and running scheduled jobs and clearing their history, creating, editing, deleting, toggling and testing webhooks and clearing their delivery log, creating, renaming, toggling and deleting deploy hooks and clearing their call log, all changes to a site's custom domains, and turning a site's email on or off, changing its sender and tracking, sending an email or a test email, blocking and unblocking addresses, managing its email domains, forwarding and forwarding addresses, removing emails from its history or clearing it, rotating its email key, turning a site's AI on or off and rotating its AI key, and changing the site environment or going back to the last one that worked No
domains:read Read bought domains, prices and DNS records The domains a workspace bought, each one's registrant for the workspace owner, the domains open to buy and their prices, and the DNS records of a bought domain Yes
domains:write Change the DNS, registrant and transfer lock of bought domains Adding, changing and deleting the DNS records of a bought domain, changing its nameservers, its registrant and its transfer lock, removing a failed or released domain from the list, and, together with credentials:reveal, reading its transfer code No
domains:buy Buy and renew domains through a checkout link, and turn auto-renew on or off Opening a Stripe checkout link to buy or renew a domain, and closing one, and turning auto-renew on or off for a bought domain, which lets Modulify charge your saved card for each renewal. A checkout link is paid by a person and paying on it saves no card, so your saved card is charged only through auto-renew No
data:read Read CMS collections and stored files Database state, collections, schemas, rows, listing and reading everything in file storage, and browsing a storage backup, reading a text file out of one and following a restore Yes
data:sql Run SQL against the site database Running any statement, including one that drops a table or deletes rows No
data:write Change CMS rows and stored files Creating, updating and deleting rows, giving a site a database, uploading, creating, moving, deleting, clearing and making stored files public or private, and restoring a storage backup over what is there now No
workspaces:write Create, change and transfer workspaces and roles Creating and renaming a workspace, setting the default, leaving one, offering a workspace to a new owner and withdrawing that offer, creating, changing and deleting custom roles, and setting or removing the monthly spending caps and spending alerts of a workspace you own. Auto top-up charges a card, so no scope turns it on or changes it No
members:write Invite and remove members Inviting, resending, cancelling, removing a member and putting one on a different role No
account:read Read your account and referrals Your own profile and preferences, invitations waiting for you, your referrals and payouts, whether a referral code is free, and your Share and Earn invite Yes
account:write Change your account settings Your display name, phone, avatar, notification preferences, referral code and payout email No
comments:read Read site comments Review comments, their replies, reactions and attachments, and the open thread count Yes
comments:write Write, resolve and delete comments Leaving, editing, replying to, resolving, reopening and deleting comments, reactions, pin positions and attachments No
logs:read Read site server logs The recent server log lines of the preview machine and the published site, and the build log of a publish Yes
analytics:read Read visitor analytics Visitor stats, the full overview, realtime visitors, the collection status, the analytics installation check, free-form breakdown queries and the all-time export Yes
credentials:reveal Reveal and rotate credentials in plain text Reading environment variable values, the private storage key, the analytics API key, webhook signing secrets, deploy hook URLs, the site email key, the site AI key and, together with domains:write, the transfer code of a bought domain, and replacing the storage key, the analytics key, signing secrets and hook URLs with new ones No

Which tools each scope unlocks

Each tool's own page names its scope too. This table is built from those pages, in the order of the scope names.

Scope Tools
account:read get_account, list_pending_invitations, list_referrals, list_payouts, check_affiliate_code, get_share_and_earn
account:write update_account, update_affiliate
analytics:read get_site_analytics, get_site_analytics_overview, get_analytics_status, get_site_realtime_visitors, check_analytics_installation, query_site_analytics, export_site_analytics
chat:read get_job, list_messages, list_queued_messages, list_chats, list_code_backups
chat:write send_message, cancel_job, edit_queued_message, reorder_queued_message, move_queued_message, resume_queue, create_chat, rename_chat, merge_chat_changes, show_live_changes
code:read list_files, read_file, get_site_repository
code:write write_file, move_site_code_to_github, move_site_code_to_modulify, rename_publish_branch
comments:read list_comments, get_comment, count_open_comments, list_comment_attachments
comments:write create_comment, reply_to_comment, update_comment, resolve_comment, reopen_comment, delete_comment, move_comment_pin, add_comment_reaction, remove_comment_reaction, upload_comment_attachment, delete_comment_attachment
config:read get_domain_status, get_domain_connect_url, list_secrets, list_site_skills, list_site_connectors, list_site_crons, list_site_cron_runs, preview_cron_schedule, export_site_crons, list_agent_automations, list_agent_automation_runs, list_site_webhooks, list_webhook_deliveries, get_webhook_delivery_stats, export_site_webhooks, list_deploy_hooks, list_deploy_hook_calls, get_deploy_hook_call_stats, export_deploy_hooks, get_site_environment, get_site_environment_log, get_site_email_settings, get_site_email_usage, list_site_email_sends, get_site_email, get_site_email_stats, list_site_email_suppressions, list_site_email_engagement, list_site_email_credits, get_site_email_credit_stats, get_site_email_bulk, list_site_email_bulks, get_site_messages, quote_site_message, list_site_message_sends, get_site_message_send, list_site_message_opt_outs, list_site_message_templates, list_site_message_countries, get_site_message_stats, get_site_message_registration, get_site_payment_status, list_site_payments, get_site_payment_analytics, get_site_ai_settings, get_site_ai_stats, list_site_ai_requests
config:write add_custom_domain, remove_custom_domain, add_www_domain, remove_www_domain, start_domain_verification, verify_domain, cancel_domain_verification, set_primary_domain, set_secret, set_secrets, delete_secret, rename_secret, set_site_skill, set_site_connector, toggle_site_cron, run_site_cron, create_site_cron, update_site_cron, delete_site_cron, delete_all_site_crons, delete_site_cron_run, clear_site_cron_runs, create_agent_automation, update_agent_automation, toggle_agent_automation, run_agent_automation, delete_agent_automation, toggle_site_webhook, test_site_webhook, create_site_webhook, update_site_webhook, delete_site_webhook, delete_all_site_webhooks, delete_webhook_delivery, clear_webhook_deliveries, toggle_deploy_hook, create_deploy_hook, rename_deploy_hook, delete_deploy_hook, delete_all_deploy_hooks, delete_deploy_hook_call, clear_deploy_hook_calls, update_site_environment, undo_site_environment, toggle_site_emails, update_site_email_settings, send_site_email, send_test_site_email, block_site_email_address, delete_site_email_suppression, add_site_email_domain, check_site_email_domain, remove_site_email_domain, set_site_email_sending_domain, set_site_email_domain_receiving, restart_site_email_domain_verification, get_site_email_domain_connect_url, set_site_email_forwarding, add_site_email_forward_address, resend_site_email_forward_address, remove_site_email_forward_address, delete_site_email_send, clear_site_email_history, rotate_site_email_key, send_site_email_bulk, cancel_site_email_bulk, update_site_messages, update_site_message_sender, send_site_message, cancel_site_message_send, block_site_message_number, unblock_site_message_number, save_site_message_template, submit_site_message_template, delete_site_message_template, rotate_site_message_key, register_site_message_business, update_site_ai_settings, rotate_site_ai_key
credentials:reveal get_domain_transfer_code, get_secret, get_all_secrets, get_site_webhook_secret, rotate_site_webhook_secret, get_deploy_hook_url, rotate_deploy_hook_url, get_site_email_key, get_site_message_key, get_storage_key, rotate_storage_key, get_analytics_key, rotate_analytics_key, get_site_ai_key
data:read get_site_database, list_collections, get_collection_schema, list_rows, list_reference_options, export_collection, list_storage_files, get_storage_stats, get_storage_info, get_storage_file_url, read_storage_file, browse_storage_backup, read_storage_backup_file, get_storage_restore_status
data:sql execute_sql
data:write create_row, update_row, delete_row, create_site_database, upload_storage_file, create_storage_folder, move_storage_files, delete_storage_files, delete_storage_folder, clear_storage, set_storage_visibility, set_storage_root_visibility, restore_storage_backup
domains:buy buy_domain, renew_domain, cancel_domain_checkout, set_domain_auto_renew
domains:read list_bought_domains, get_bought_domain, list_domain_extensions, search_available_domains, get_domain_price, list_dns_records, preview_dns_records
domains:write create_dns_record, update_dns_record, delete_dns_record, apply_dns_records, set_domain_nameservers, update_domain_registrant, set_domain_transfer_lock, remove_domain_from_list
logs:read get_site_logs, get_publish_logs
members:write invite_workspace_member, resend_workspace_invite, cancel_workspace_invite, remove_workspace_member, assign_member_role, set_site_member_access
publish:write publish_site, unpublish_site, stop_publish, trigger_deploy_hook
sites:create create_site, duplicate_site, clone_site
sites:delete delete_site, move_site_to_workspace, transfer_site, cancel_site_transfer, delete_folder, move_folder_to_workspace, remove_queued_message, clear_site_chat, archive_chat, discard_chat_changes, clear_collection, clear_site_database, restore_code_backup, delete_storage_backup, clear_storage_backups, delete_database_backup, clear_database_backups, clear_site_analytics
sites:read list_sites, get_site, check_subdomain_available, list_templates, get_ai_preferences, get_site_transfer, list_site_member_access, list_folders, check_folder_slug_available, get_publish_status, list_deployments, get_publish_timeline, list_storage_backups, list_database_backups
sites:write rename_site, archive_sites, unarchive_sites, set_show_badge, update_ai_preferences, change_subdomain, update_sharing, create_folder, rename_folder, update_folder_slug, move_sites_to_folder, remove_sites_from_folder, reorder_folders, create_storage_backup, set_storage_backup_schedule, create_database_backup, set_database_backup_schedule, set_analytics_enabled
workspaces:read list_workspaces, get_workspace, list_workspace_members, check_member_email, get_workspace_credits, get_workspace_credit_usage, list_workspace_credit_activity, get_workspace_spending, get_role_member_counts, list_github_accounts, get_workspace_transfer, get_site_usage
workspaces:write update_workspace_spending, create_workspace, rename_workspace, set_default_workspace, leave_workspace, create_workspace_role, update_workspace_role, delete_workspace_role, transfer_workspace, cancel_workspace_transfer

get_domain_transfer_code is listed under credentials:reveal, but it needs domains:write as well: a token that lacks either one does not see it.

The twelve that are off by default

sites:delete, config:write, domains:write, domains:buy, data:write, comments:write, workspaces:write, members:write, account:write, code:write, data:sql and credentials:reveal are unticked when the form opens. They are the scopes behind work that is hard or impossible to undo: deleting sites and backups, offering a workspace to a new owner, emptying collections, overwriting rows, uploading over and deleting stored files, restoring a storage backup over the files in the bucket, clearing a whole bucket, deleting scheduled jobs and their history, deleting deploy hooks, removing a domain and its certificate, and rewriting environment variables. Tick them only for a client you want doing that unattended. members:write deserves its own thought: it sends real email to real colleagues and can remove someone's access to every site in a workspace. So does config:write, which lets a client send real email from a site with send_site_email, counted against that site's monthly allowance.

domains:write changes the DNS that every site and mailbox on a bought domain depends on: a wrong record or a nameserver change can take them offline until it is put back. On a token of the workspace owner it reaches further, to who legally owns the domain and to its transfer lock: a client holding it can put the domain in someone else's name with update_domain_registrant and unlock it with set_domain_transfer_lock, which leaves it open to a move to another registrar. Tick it only for a client you would trust with the domain itself, not just its records. domains:buy lets a client start a purchase or a renewal, but never pay for one on the spot. buy_domain and renew_domain only open a Stripe checkout and hand back its link, paying on that link does not save the card to your account, and nothing is bought until someone opens the link and pays. It also turns auto-renew on or off, with set_domain_auto_renew or, for a new domain, by passing autoRenew true to buy_domain, which lets Modulify charge your saved card for each renewal before the domain expires, without asking again. So over MCP and the HTTP API, the card saved on your account is charged only through auto-renew. Tick it only for a client you would trust to commit that card to renewals. Both scopes act within your role, so buying, renewing and the registrant, transfer and auto-renew settings still need the Manage billing permission, which only the workspace owner holds.

credentials:reveal is the one to think hardest about. It is the only scope that hands a client a live credential in plain text: your environment variable values, the private storage key, which reads and writes every file in your bucket, the analytics API key, which reads every visitor number of the site, the site AI key, which spends your workspace credits on AI as the site, webhook signing secrets, which let anyone holding them forge a delivery that passes verification, deploy hook URLs, which let anyone holding one publish the site, and a bought domain's transfer code, which lets anyone holding it move an unlocked domain to another registrar, and which also takes domains:write. Environment variable values means the platform-managed ones too, so get_secret reads back DATABASE_URL and DATABASE_TOKEN, the credentials to your site database, which no other tool returns at all. Whatever you connect keeps those values in its transcript, so grant it only for a one-off job and revoke the token afterwards. Every other scope lets a client work with your database, your storage, your webhooks and your deploy hooks without ever seeing a secret. That includes a deploy hook URL saved as a scheduled job's request URL, which list_site_crons, list_site_cron_runs and export_site_crons return with its secret part as mdh_<redacted>.

Note that sites:delete covers more than sites. It also gates clear_collection, clear_site_database, clear_site_analytics, delete_storage_backup, clear_storage_backups, delete_database_backup, clear_database_backups, delete_folder, move_folder_to_workspace, remove_queued_message, clear_site_chat, which clears a chat's messages and queue and keeps it open, archive_chat, which closes a chat and clears its messages and queue, discard_chat_changes, which throws away a chat's unmerged changes, and restore_code_backup, which erases the entire site chat history. It also gates handing a site over: move_site_to_workspace, transfer_site, which emails a real person an invitation to take the site, and cancel_site_transfer.

code:write does more than write files. It also moves a site's code into a connected GitHub account and back with move_site_code_to_github and move_site_code_to_modulify, and renames the publish branch with rename_publish_branch. Moving the code into a repository that already exists deletes every branch and tag that was in it.

Creating a token

Click Create token on the Tokens page. The button is disabled once you hold 10 active tokens, with the tooltip "You can hold 10 active tokens. Revoke one, or contact support to raise the limit." Revoked and expired tokens do not count towards that.

Field Rule
Token name Required, up to 60 characters
Expires after 1 hour, 1 day, 7 days, 30, 90 or 180 days, 1 year, the longest dated choice, or No expiry. Defaults to 90 days
When it expires Keep it as expired by default, or Delete it. Not shown when you choose No expiry
Workspaces Every workspace I am a member of by default, or Only the workspaces I pick, which opens a checklist of your workspaces with Select all. Only shown when you belong to more than one
Sites Every site in those workspaces by default, or Only the sites I pick, which opens a checklist of the sites you can open in those workspaces, grouped by workspace, with a Search sites box and Select all
What this token can do The scopes, in groups: Sites, Chat and code, Site settings and credentials, Data, Analytics and logs, Comments, Bought domains, and Workspaces and account. Select all at the top ticks or clears every scope, and each group's own checkbox ticks or clears that group. At least one scope must be ticked

Workspaces and Sites sit together under Where it can work. Each checklist counts what you picked, for example 3 of 12 selected. With a search typed, Select all in the site checklist ticks or clears only the sites that match it. An archived site carries an Archived badge and can be picked like any other.

A problem is flagged under the field itself, and the form scrolls to it:

Problem Message
No name "Give the token a name so you can recognise which client is using it."
Only the workspaces I pick with none ticked "Pick at least one workspace, or let it reach every workspace."
Only the sites I pick with none ticked "Pick at least one site, or let it reach every site."
Your sites did not load "Your sites could not load, so the sites this token reaches cannot be saved. Try again first."
No scope ticked "Pick at least one thing this token is allowed to do."

When the sites cannot load, the site checklist reads "Could not load sites" with a Try again button. With no sites in the workspaces you picked it reads "No sites", and a search that matches nothing reads "No matching sites".

The generated value starts with mdf_mcp_ and is shown exactly once, in a grey Copy this token now panel right under the new token's row, with a copy button and I have copied it to close it. Modulify never stores the token itself, only a one-way hash of it and the last six characters, which is what the token list displays. If you lose it, revoke it and create another.

A token set to No expiry keeps working until you revoke or delete it.

A dated token stops working the moment it expires, whatever When it expires says. That choice only decides what happens to its row. Keep it as expired leaves it in your list marked Expired until you delete it. Delete it deletes the token for you, as if you had chosen Delete token, so it drops off the list within about a minute of expiring. A token you revoked before then is deleted at its expiry too. Pick Delete it with a short expiry, such as 1 hour or 1 day, for a token made for one job, so it cleans up after itself.

Workspace and site access

A token acts as you, so by default it reaches every workspace where you are a member, and every site in them that you can open. Narrowing it to one workspace, or to a few sites, is the right move when you hand it to a client that only works on those.

Every tool that works inside a workspace has to say which workspace or site it is acting on, and three checks run before it does:

  1. The call must resolve to a workspace you are a member of, from its workspaceId or from the workspace that owns its projectId, folderId, commentId, parentCommentId or attachmentId. A call that resolves to none is refused before it runs, rather than being left to the endpoint behind it. An id that does not exist, or one in a workspace you are not a member of, gets one identical refusal, so a token cannot be used to find out whether someone else's id exists.
  2. That workspace must be one the token is allowed to reach. Otherwise the call is refused with a message telling the client to use list_workspaces to see where it can work.
  3. Your role in that workspace must hold the API access permission, described in the product as "Reach this workspace with an access token, from an AI client or the API". Workspace owners hold every permission. The stock member role does not, so an owner grants it on a custom role.

On a site that is locked for going over the plan's site limit, a tool that changes the site is refused too, with "This site is locked because it goes over the plan's site limit, so "rename_site" changed nothing. Upgrade the plan or add an extra site to unlock it, or archive, move or delete a site to free a slot!" Tools that only read keep working, and so do moving, handing over, archiving and deleting the site, cancelling a generation, clearing, closing or discarding the changes of a chat, and cancelling a bulk email.

A few tools belong to no workspace, so these checks do not apply to them. list_workspaces enumerates the workspaces you can reach, and a token narrowed to some workspaces gets only those back. list_templates lists public templates, and list_domain_extensions the domain extensions Modulify sells. create_workspace makes a new workspace of your own, and get_site_usage reports the default workspace you own. The account tools, get_account, update_account, list_pending_invitations, list_referrals, list_payouts, check_affiliate_code, update_affiliate and get_share_and_earn, act only on the account the token belongs to.

When you save the token, a picked workspace you are not a member of is dropped, and a pick with none you are a member of is refused.

Limiting a token to sites

A token limited to sites reaches only those sites, on top of the checks above. A call aimed at a site, through its projectId, a list of projectIds, a commentId, parentCommentId or attachmentId, or the slug of get_site, must point only at sites in the token's list. Otherwise it is refused with "This token is limited to specific sites, and "move_sites_to_folder" was pointed at something outside them. Use list_sites to see the sites this token can work on!", naming the tool.

list_sites returns only the sites in the list, list_workspaces only the workspaces that hold them, and get_workspace works on those workspaces. The account tools, list_templates, list_domain_extensions and get_site_usage work as on any token. Every other tool that works on a whole workspace, a folder or a bought domain rather than on one site is refused with "This token is limited to specific sites, and "list_folders" works on a whole workspace, folder or domain rather than on one site, so it was refused!". That covers listing and changing folders, members, roles, credits and bought domains. Moving sites into a folder or out of one, archiving them and bringing them back work when every site in the call is in the list.

A token limited to sites cannot make anything new outside them either: create_site, duplicate_site, clone_site and create_workspace are refused with "This token is limited to specific sites, so it cannot run "create_site", which makes something new outside them!".

The tools such a token can never use are left out of the tool list your client sees, and out of GET /v1/tools. Calling one by name through the HTTP API gets the refusal above.

The site checklist only lists sites you can open, so a site where your site access is No access is not on it, and one sent anyway is dropped when the token is saved. A save where none of the picked sites can be reached is refused with "None of the sites you picked can be reached with this token!". When you limit a token to workspaces as well, only the sites in those workspaces are kept. A token can be limited to up to 500 sites. Your site access still applies to every call, so a site that becomes No access for you stays on the token but cannot be reached until your access comes back.

When a site or workspace goes away

A deleted site drops off every token limited to it, and so does a site moved to a workspace the token cannot reach. When you leave a workspace, are removed from it, hand it to a new owner or it is deleted, it drops off your tokens, together with its sites. A token whose last site or last workspace goes this way is revoked, because an empty list would otherwise mean every site or every workspace. It stays in your list marked Revoked. Restoring a deleted site from Recently deleted does not put it back on those tokens.

The token list

Column What it shows
Name The name you gave it
Token ... followed by the last six characters of the token
Status Active, Revoked or Expired
Permissions How many scopes it holds
Access "All workspaces", the workspaces it is limited to such as "2 workspaces", or the sites such as "3 sites" when it is limited to sites
Last used Time since the last call, or "Never"
Expires The time left when an active token expires within a week, such as "in 5h" or "in 6d", otherwise the expiry date, with ", then deleted" after it for a token set to Delete it. "Never" for a token with no expiry, or a dash once revoked

Last used is written at most once a minute per token, so a client calling in a tight loop does not move it on every call.

Search filters by token name. The status filter offers All, Active, Revoked and Expired, and the sort offers Newest, Oldest, Name and Recently used. With no tokens at all the page reads "No tokens" and "Create one to connect an AI client." A search or status filter that matches nothing reads "No matching tokens" and "Try a different search or status filter." If the list cannot load, the page reads "Could not load tokens" with a Try again button. The list refreshes itself about every 10 seconds while the page is open. Revoked and expired tokens look the same as active ones apart from their status badge.

Learn more, after the description under the page title, opens Connect a client in a new tab.

Editing a token

The three-dots menu on a row offers Edit token. You can change the name, the scopes, the workspaces and the sites. You cannot change the token value, its expiry date or When it expires: as the form says, "The token itself and its expiry date stay as they were issued. New permissions reach every client already using it."

Edit is disabled on a revoked or expired token, with the tooltip "A revoked or expired token cannot be edited."

Revoking a token

The same menu offers Revoke token, in red. Confirming asks: "Any AI client signed in with this token loses access to your account immediately. This cannot be undone, so you would need to create and paste a new token."

Revoking takes effect at once. The next request carrying that token gets a 401 reading "This access token is invalid, revoked or expired." The row stays in the list marked Revoked, so you keep the record of what existed, and it no longer counts towards your 10 active tokens.

Expiry works the same way from the client's side, with its own message: past the date, every call is refused with a 401 reading "This access token has expired.", and the token cannot be edited or extended. Create a new one. A token set to Delete it is then deleted rather than kept marked Expired, after which its calls get the same answer as a revoked token, and a token with no expiry never reaches that point.

Deleting a token

The menu also offers Delete token, in red, on any token, revoked and expired ones included. Confirming asks: "Any AI client signed in with this token loses access immediately and the token disappears from this list. This cannot be undone." A deleted token stops working at once like a revoked one, drops off the list and no longer counts towards your limit.

A token created with When it expires set to Delete it is deleted the same way when it expires, without you opening the menu.

Rate limits and result size

A token may make 240 tool calls per minute. Beyond that, a call comes back as an error naming the seconds to wait: "Too many tool calls. Wait 27 seconds and try again!" The window is counted per token, and calls through the HTTP API count against the same budget, so two clients sharing one token, or a client and a script, share it.

The visitor analytics tools that read numbers have a second limit, 1,200 analytics lookups per site per hour. It is counted per site, not per token, so every access token reading the same site shares it, whether the calls come from an MCP client or the HTTP API. It is kept apart from the lookups of the site's own analytics API key, so neither your access tokens nor the site's server code can use up the other's hour, and opening the Analytics tab never counts toward either. get_site_analytics costs 2 lookups, get_site_analytics_overview 9, export_site_analytics 6, and get_site_realtime_visitors and query_site_analytics 1 each. get_analytics_status and check_analytics_installation cost none, and neither does an answer already cached. A site never published costs nothing either, except to query_site_analytics, which spends its lookup all the same. Over the limit, those tools fail with "Access tokens, through MCP clients or the API, used their 1,200 analytics lookups for this site this hour. Wait and try again!"

The bought domain tools share the limits of the Domains page, whichever way the calls come in. One person can run 30 domain searches, load 20 prices and list DNS records 20 times a minute, and a workspace can make 30 domain changes a minute and start 10 purchases and renewals an hour. Past one, the tool fails with how long to wait, for example "This workspace is changing its domains too fast. Try again in 12 seconds!" See Limits.

Over MCP, a single tool result is capped at 60,000 characters, while the HTTP API returns the whole JSON result. A result that would go over it is sent without indentation instead, and anything still longer is cut off with a note asking for a narrower slice, which is why the listing tools page: list_sites and list_templates return 8 per call, list_rows returns 50 and caps at 200, list_messages, list_code_backups, list_storage_backups and list_database_backups return 10, list_site_cron_runs and list_bought_domains return 25, list_webhook_deliveries and list_deploy_hook_calls return 30, and list_storage_files returns 50. read_storage_file is capped by size rather than by count, refusing anything over 5 MB.

On the mobile app

In the Modulify app for iPhone and Android, Tokens is a row on the Account tab, between Spread the word and Affiliates. It opens the token list on its own screen, headed Tokens with "Connect any MCP client to Modulify." The app uses the same requests, checks and messages as the web page.

  • Create token sits next to the title. When the web would explain in a tooltip why it is disabled, the app writes that reason under the title instead, for example "You can hold 10 active tokens. Revoke one, or contact support to raise the limit."
  • Each token is a card with its name, ... and the last six characters, the status badge, and Permissions, Access, Last used and Expires.
  • Search by token name filters by name, and Status and Sort each open a sheet with the same choices as the web dropdowns. They reset when you leave the screen.
  • The list refreshes itself about every 10 seconds while the screen is in front of you, and once more when you come back to it from another tab or a sheet.
  • Tap a card, its three dots or press and hold it to open Edit token, Revoke token and Delete token. A disabled choice shows the reason under it, and revoking or deleting asks the same question as on the web.
  • Create token and Edit token open a sheet with Token name, Expires after as a list and When it expires as a row of two choices when creating, Where it can work with Workspaces when you belong to more than one workspace and Sites, each with the same checklists as the web, and What this token can do with the same groups, Select all and scopes ticked by default.
  • After creating a token, Copy this token now shows the value once, in a grey panel under the new token's card. The copy button copies it, and I have copied it hides it. Leaving the screen hides it too, so copy it first.
  • Connecting a client at the bottom opens Connect a client in a browser window inside the app.

Next