# Workspaces

Source: https://modulify.ai/docs/reference/workspaces

The container that owns your projects, credits, billing and people.

A workspace owns projects, folders, credits, billing and members. Every project belongs to exactly one workspace, and the workspace is the boundary for who can see what.

The switcher at the top of the sidebar is where all of this starts. It shows the workspace you are in, and opening it lists every workspace you belong to.

## What a workspace holds

Credits belong to the workspace, not to you. Everyone working in it draws from the same balance, and the switcher shows that balance as a bar reading `Credits` on the left and `N left` on the right, with the reset date underneath.

Billing also belongs to the workspace. The plan is the plan of whoever owns it, which is why the switcher header reads something like `Pro - 4 members` under the workspace name.

## Your default workspace

One of your workspaces is marked as the default, shown with a filled star in the switcher list and the tooltip `Default workspace`. Your free plan lives there: the free credits, the free project and the free site.

That has two consequences. The default workspace cannot be deleted, and it cannot be transferred to someone else. Making a different workspace your default moves the free plan with it, and the dialog says so: `Your free plan moves to this workspace. Projects and sites in your current default lock until you subscribe or switch back.`

It is also where [Share and Earn](https://modulify.ai/docs/plans/share-and-earn) pays. The 5 credits a signup earns you and the 50 credits their first payment earns you land in the workspace holding the star when the reward is earned, never in the one you happen to have open, and they are never split across the workspaces you own.

## Create a workspace

Open the switcher and choose **Create workspace** at the bottom of the menu.

The dialog asks for a **Name** between 2 and 48 characters, with `Mdlfy, Inc.` as the placeholder. Pressing Enter in the field is the same as clicking **Create**.

You can own up to 5 workspaces. Once you hit that, the menu item is disabled and reads `Workspace limit reached (5)`, and the API answers `You can create up to 5 workspaces!`.

A new workspace starts on the Free plan with no subscription credits of its own, and it is not your default. It becomes the workspace you are in straight away and drops you back on the dashboard. In the mobile app, **Create workspace** sits at the bottom of the list that **Switch** opens on the **Account** tab and takes you back to **Projects**, see [On the mobile app](https://modulify.ai/docs/projects/projects-overview#on-the-mobile-app).

If you have no workspaces at all, the menu shows `No workspaces` with `Create a workspace to start building projects.` and a **Create workspace** button.

## Switch workspaces

Open the switcher and click any row under **All workspaces**. Each row shows the avatar, the name, a star if it is your default, and the plan of its owner.

If you are inside a project or a folder when you switch, you land back on the dashboard rather than on a page belonging to the workspace you just left. In the mobile app a folder left open on **Projects** closes instead. Switching also resets the connectors you had loaded.

Each browser tab and the app keep the workspace you picked there, so you can work on projects from two workspaces side by side. Switching in one tab or on one device leaves the others where they are, and a new tab or a fresh start of the app opens in the workspace you picked last. Opening a project that lives in another of your workspaces, for example from a link or a notification, moves that tab, or the app, into the project's workspace, so its folders, skills and credits are the project's. The Modulify tab or app in front of you checks your account every 10 seconds, and again whenever you come back to it, so workspaces you create, join or rename show up everywhere.

If you lose access to the workspace you are in, for example because its owner removed you, Modulify moves you to another of your workspaces and shows `Workspace switched` with `You've been switched to one of your active workspaces.` On the web you land back on the dashboard if a folder or the plans page was open, and from inside a project you land back on the dashboard without the message. In the app, a folder or the **Archive** left open on the **Projects** tab closes, so that tab is back on its main list.

The same menu carries four shortcuts to the workspace pages: **Settings**, **Members**, **Plans** and **Spending**. Domains the workspace buys belong to it, and **Domains** in the sidebar lists them, see [Buy a domain](https://modulify.ai/docs/publish/buy-a-domain).

## Rename a workspace or change its avatar

Go to **Settings** in the switcher menu, or the **Settings** link in the sidebar. The page is headed `Workspace settings` with `Workspaces allow you to collaborate on projects in real time.` It splits into a **General** and a **GitHub** tab, and everything below is on **General**. See [Move your code to GitHub](https://modulify.ai/docs/editor/move-code-to-github). The workspace's caps, alerts and auto top-up have their own **Spending** page, see [Spending caps and alerts](https://modulify.ai/docs/plans/spending).

The card holds **Avatar**, which takes an image up to 10 MB and shows a **Remove** button once one is set, and **Name**, the same 2 to 48 character field as at creation, with a live character counter. Click **Save changes**, or press Enter in the name field.

Both rows need the **Edit workspace** permission. Without it the field and the button are disabled and the button carries the tooltip `You do not have permission to do this.`

## Set a workspace as default

The last row of the settings card is **Default workspace**. If this is already the default, the button reads `Default workspace` and is disabled with the tooltip `This is already your default workspace.` Otherwise it reads **Set as default** and opens a confirmation.

Only the workspace owner sees this row.

## Transfer a workspace

**Transfer workspace** sits in the **Danger zone** section at the bottom of Settings, headed `These actions are permanent and affect everyone in this workspace.`, and only the owner sees it. It is disabled for your default workspace, with the tooltip `You cannot transfer your default workspace. Set another workspace as default first!`

A dialog titled **Transfer workspace** asks for the recipient's **Email**, then **Transfer**. The invite is good for 7 days. An address on a temporary email domain, the throwaway inboxes described in [Temporary email addresses](https://modulify.ai/docs/getting-started/create-an-account#temporary-email-addresses), is refused unless it already belongs to a Modulify account, with `Could not send the transfer invite` and `We do not allow invites to temporary email domains like this one. If you think this is wrong, please contact support!` An address that belongs to a Modulify site is refused the same way, with `Email addresses that belong to a Modulify site cannot be invited. Please use a different email!` So is an address with a `+` before the `@` that no account uses, described in [Addresses with a plus sign](https://modulify.ai/docs/getting-started/create-an-account#addresses-with-a-plus-sign), with `You cannot transfer to an address with a + unless it already has a Modulify account. Please use the address without the + part!` While it is outstanding, **Transfer workspace** reopens the dialog with the invited address locked and a **Cancel invitation** button in place of **Transfer**. Cancelling puts the address back in the field, so you can send it again or change it. A workspace has one pending transfer invite at a time, and making it your default withdraws the one it has.

When workspace transfers are turned off for your account, **Transfer workspace** is disabled with the tooltip `Workspace transfers are turned off for your account. Contact support to turn them on.`, and sending or accepting one is refused with `Workspace transfers are turned off for your account. Contact support if you think this is a mistake!` When they are turned off for the other person, it is refused with `Workspace transfers are turned off for the other person, so this transfer cannot go ahead!`

The recipient accepts from the link in the invitation email, or from **Pending invitations** in the sidebar, where the invite is labelled `Owner`. Both open **Accept workspace transfer** with the workspace's name and who sent it, and **Accept transfer** completes it. The link only works for the account it was sent to. Signed in with another one, it answers `This transfer invite was sent to a different email. Sign in with that account to accept it.`

In the mobile app the invite waits on the **Workspaces** tab of **Pending invitations**, which opens from the invitations row in the **Workspace** card on the **Account** tab, and opens the same **Accept workspace transfer** with **Back** and **Accept transfer**. Where the web app reloads after accepting, the app closes the lists and refreshes your list of workspaces.

When the recipient accepts, ownership moves to them, the workspace stops being anyone's default, and any active subscription on it is cancelled so the workspace lands on the Free plan under its new owner. An Enterprise workspace stays on Enterprise. A workspace that lands on Free arrives as one of the new owner's non-default workspaces, so its projects and sites stay locked until they subscribe it or make it their default, as the dialog warns, and its custom domains are [paused](https://modulify.ai/docs/publish/custom-domains#when-your-plan-ends) until it is on a paid plan again. The previous owner gets an email confirming the transfer and loses access, and on every site of the workspace the new owner's account email takes the previous owner's place among the [forwarding addresses](https://modulify.ai/docs/built-in/emails#forwarding-addresses), and the previous owner's account email comes off those lists, including where they added it themselves. The recipient cannot accept if they already own 5 workspaces.

A workspace with a GitHub account connected on its **GitHub** tab cannot change hands. Sending the invite answers `Disconnect the GitHub accounts connected to this workspace before transferring it!`, and accepting it answers `The owner has to disconnect the GitHub accounts connected to this workspace before the transfer can be accepted!` if an account was connected after the invite went out. Disconnecting an account does not move any code. A site that still keeps its code in that account arrives at the new owner as **Access required**, and can only be edited again once that GitHub account is connected to the workspace, so move the code back to Modulify before you disconnect if the site should keep working, as [Move your code to GitHub](https://modulify.ai/docs/editor/move-code-to-github#move-the-code-back-to-modulify) explains.

Domains the workspace bought move with it. Each one keeps its registrant, the person or company it is registered to, until the new owner changes it, and the new owner sees those details on the domain's **Settings** tab. See [Change the registrant](https://modulify.ai/docs/publish/buy-a-domain#change-the-registrant). When the transfer is accepted, auto-renew is turned off for the workspace's domains, and the new owner turns it on again to have them renewed on their own card, see [Auto-renew](https://modulify.ai/docs/publish/buy-a-domain#auto-renew). Any domain checkout still open in the workspace is closed when the transfer is accepted, so it can no longer be paid. Accepting waits while a domain payment in the workspace is still being processed, with `A domain payment in this workspace is still being processed. Please try again in an hour!`, and if an open checkout cannot be closed it answers `A domain checkout in this workspace could not be closed right now. Please try again!`

The [spending settings](https://modulify.ai/docs/plans/spending) stay with the workspace: its monthly caps and alerts keep working, and alert emails go to the new owner. Auto top-up is turned off when the transfer is accepted, so the previous owner's card is not charged again, and the previous owner gets an email saying so. The new owner turns it on again with their own card, see [Turn on auto top-up](https://modulify.ai/docs/plans/spending#turn-on-auto-top-up).

## Leave a workspace

**Leave workspace** appears in the Danger zone for members, not for the owner. The confirmation warns `You will no longer have access to this workspace or any of its projects.` Leaving also takes your account email off the [forwarding addresses](https://modulify.ai/docs/built-in/emails#forwarding-addresses) of the workspace's sites where you added it yourself.

An owner cannot leave. The API is explicit: `Workspace owner cannot leave workspace! Transfer ownership or delete workspace!`

## Delete a workspace

**Delete workspace** is owner only and permanent. The confirmation reads `This action cannot be undone. It will permanently delete all members, projects, and workspace data.`

Two things block it. Your default workspace refuses with `Your primary workspace cannot be deleted!`, and if it is the only workspace you own the button is disabled with the tooltip `You cannot delete your last workspace. You must have at least one workspace.`

It also waits while a domain payment in the workspace is still being processed, with `A domain payment in this workspace is still being processed. Please try again in an hour!`

If the workspace has a paid plan that still renews, a second confirmation asks `Keep paying for it?`. For a Starter plan it reads `Deleting this workspace does not cancel its Starter Plan. It keeps renewing and charging your card, and you can no longer open the workspace to cancel it. To stop paying, cancel it on Plans first, or contact support after you delete the workspace.` Confirm with **Delete workspace** to go ahead. Deleting a workspace never cancels its plan, so cancel it on **Plans** first if you want to stop paying, see [Managing your subscription](https://modulify.ai/docs/plans/managing-your-subscription).

If the workspace still holds bought domains that have not expired, another confirmation asks `Delete it anyway?`. For two domains it reads `This workspace still holds 2 bought domains. They stay registered until they expire, but you can no longer manage or renew them in Modulify. To keep one, move it to another registrar first.` Confirm with **Delete workspace** to go ahead. The domains leave the **Domains** list with the workspace and stay registered at Name.com until their term ends, but nothing renews them and no reminders are sent. To keep one, move it to another registrar before you delete the workspace, see [Move a domain to another registrar](https://modulify.ai/docs/publish/buy-a-domain#move-a-domain-to-another-registrar).

Any domain checkout still open in the workspace is closed when you confirm, so it can no longer be paid. If one cannot be closed, the workspace is kept and the refusal reads `A domain checkout in this workspace could not be closed right now. Please try again!`

## On the mobile app

In the Modulify app for iPhone and Android, **Settings** in the **Workspace** card on the **Account** tab opens the same `Workspace settings` page, with the same **General** and **GitHub** tabs. **General** holds the **Workspace** card and the `Danger zone`. It saves through the same requests as the web, so its confirmations, toasts and refusals read the same. The **GitHub** tab is described in [Move your code to GitHub](https://modulify.ai/docs/editor/move-code-to-github#on-the-mobile-app).

- Tap the avatar to pick a photo from your library, up to 10 MB. Your phone lets you crop it to a square first. **Remove** clears it, and nothing changes until you tap **Save changes**.
- **Name** shows the same character counter, and the keyboard's done key saves like pressing Enter.
- Where the web shows a tooltip on a disabled button, the app writes the same text under it, for example `This is already your default workspace.` or `You cannot transfer your default workspace. Set another workspace as default first!`
- **Transfer workspace** opens a sheet titled **Transfer workspace** with the same **Email** field, **Transfer**, and, while an invite is outstanding, the invited address locked with **Cancel invitation**. **Close** closes it.
- After you leave or delete a workspace, the app moves you to another of your workspaces, opens **Projects** and shows `Workspace switched`, as the web does.

## From an AI client over MCP

`list_workspaces` and `get_workspace` read them, and `create_workspace`, `rename_workspace`, `set_default_workspace` and `leave_workspace` manage them. `get_workspace_credits`, `get_workspace_credit_usage` and `list_workspace_credit_activity`, which lists every charge one by one, answer where the AI credits went, and `get_site_usage` reports how close your own default workspace is to its site limit.

`transfer_workspace` sends the transfer invite, `get_workspace_transfer` reads the one that is pending and `cancel_workspace_transfer` withdraws it. Accepting stays with the recipient in the product, so a client can offer a workspace but never complete the handover.

Reads need `workspaces:read`, ticked by default. Changes need `workspaces:write`, which is not. Deleting a workspace is deliberately not available over MCP or the [HTTP API](https://modulify.ai/docs/api), because it removes every site and member in it.

See [MCP tools](https://modulify.ai/docs/mcp/tools#workspaces). Members, invitations and roles have tools of their own, see [Members and roles](https://modulify.ai/docs/reference/members-and-roles#from-an-ai-client-over-mcp).

A site's chat reads the workspace, renames it, changes its logo and makes it your default when you ask, within your permissions, see [Your workspace and account from chat](https://modulify.ai/docs/build/site-chat#your-workspace-and-account-from-chat).

## Next

- [Members and roles](https://modulify.ai/docs/reference/members-and-roles) covers inviting people and what each role can do.
- [Your account](https://modulify.ai/docs/reference/your-account) is the personal settings that sit outside any workspace.
- [Core concepts](https://modulify.ai/docs/getting-started/core-concepts) puts workspaces next to the other words the docs assume.