﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>---
url: https://docs.puppetflow.com/guide/workspaces.md
---
# Workspaces

Workspaces are the top-level organizational unit in Puppetflow. They group flows, variables, integrations, mailboxes, and channels together for a team.

## Creating a workspace

Open the workspace switcher and click **New workspace**. In the modal, select **Create Workspace**. Every user starts with a default workspace.

Workspaces can also be managed through the REST API with an API key:

```http
GET /api/v1/workspaces
POST /api/v1/workspaces
GET /api/v1/workspaces/{workspace}
PATCH /api/v1/workspaces/{workspace}
```

The API supports creating workspaces and updating their name, lookup key, preferences, and API-managed appearance fields. Workspace deletion is not exposed through the REST API.

An optional `lookup_key`, such as `production_eu`, gives a workspace a stable API identifier. Posting a workspace with an existing lookup key updates it instead of creating a duplicate. Workspace detail and update endpoints accept either the workspace ID (`work_...`) or lookup key.

## Members and roles

| Role | Permissions |
| --- | --- |
| **Admin** | Manage members, settings, integrations, and all flows. |
| **Manager** | Manage flows and shared resources. |
| **Member** | Create and manage own flows. Access shared resources. |

Workspace ownership is separate from member roles. See [Users, Teams, and Access Control](/guide/users-teams-access) for details.

### Inviting members

Go to **Workspace > Members** and enter an email address. If the user doesn't have an account, they'll receive an invitation email with a registration link tied to the workspace.

Pending invitations can be resent or cancelled.

### Transferring ownership

The workspace owner can transfer ownership to another member from the workspace settings.

## Teams and resource access

Teams let you share flows, variables, channels, mailboxes, integrations, and other resources with a selected group of workspace members. Each resource can be private to its owner, shared with a team, or shared with the workspace.

See [Users, Teams, and Access Control](/guide/users-teams-access) for roles, ownership, teams, and resource permissions.

## Workspace settings

Workspace settings contain **General**, **Flows**, and **Proxies**. **Private Libraries** and **Instance MCP** appear when enabled. All members can view the tabs, but only workspace admins can make changes.

### General tab

#### General

* **Name** - Display name for the workspace.
* **Icon** - Emoji or uploaded image, with a preset or custom background color.

Through the REST API, appearance updates support `icon_type`, `icon_value`, and `icon_color`. Uploaded icon files remain managed from the web interface.

Instance administrators can view and edit workspace lookup keys from **Admin > Workspaces**.

#### Ownership

The current workspace owner is shown here. The owner can transfer ownership to another user, who becomes a workspace admin.

#### Security

* **Require two-factor authentication for all members** - Members must configure 2FA before accessing the workspace.

This setting is available when two-factor enforcement is enabled on the instance.

#### Danger zone

Workspace admins can delete the workspace after entering its name for confirmation. Deletion permanently removes its resources, runs, and artifacts.

### Flows tab

#### Browser

* **Default viewport width** - Browser width, from 320 to 3840 pixels.
* **Default viewport height** - Browser height, from 200 to 2160 pixels.
* **Default keyboard speed** - Delay between simulated keystrokes.
* **Default user agent** - Browser user agent used when a flow does not override it.
* **Default browser language** - Browser language used when a flow does not override it.

Flows can override these defaults in their own settings.

#### Run retention

* **Default retention limit** - Number of runs kept when a flow has no specific limit.
* **Maximum retention limit** - Maximum number of runs that any flow can keep.

Set a value to `0` for no workspace limit. Instance-level limits may still apply.

#### Performance

* **Default flow timeout** - Timeout used when a flow has no specific value.
* **Maximum flow timeout** - Hard timeout limit for flows in the workspace.
* **Default max retries** - Retry count used when a flow has no specific value.
* **Maximum max retries** - Hard retry limit for flows in the workspace.

Instance-level limits can cap workspace timeout and retry settings.

The same settings are available through the REST API. Instance-level limits still apply, so submitted values may be capped before they are stored.

#### Debug

* **Object depth** - Maximum depth used when expanding nested objects in flow console logs, from 0 to 20. Default: 8.
* **Array item limit** - Maximum number of array entries included in flow console logs, from 1 to 1000. Default: 100.

These limits apply to every flow in the workspace and prevent deeply nested or large values from overwhelming run logs.

#### Default Flow

Choose the starting type and content used for new flows in the workspace:

* **Visual Builder** - Edit the default nodal graph.
* **Raw Code** - Edit the default JavaScript template.

Use **Reset to default** to restore Puppetflow's built-in graph or code template. Existing flows are not changed when the workspace default is updated.

### Proxies tab

Workspace administrators can add HTTP, HTTPS, SOCKS4, and SOCKS5 proxy servers for flow runs. A proxy can be personal, shared with a team, or shared with the workspace. Proxies can be selected explicitly in a flow or included in automatic round-robin routing.

Instance administrators can also provision proxies for every workspace through the `MANAGED_PROXIES` environment variable. Managed proxies display a lock badge in the table. They are available to workspace users and flows, but cannot be edited or deleted from the interface.

Each proxy can have a country and group. Flow round-robin pools can use grouped `AND`/`OR` rules to select proxies from specific countries and groups.

See [Managed proxies](/reference/configuration#managed-proxies) for the JSON format and synchronization behavior.

### Instance MCP tab

This tab is available when MCP is enabled for the instance.

| Setting | Description |
| --- | --- |
| **Enable MCP access for this workspace** | Makes the workspace available to MCP clients. |
| **Include flows not enabled for MCP in search results** | Includes visible, non-executable flows in MCP search results. |
| **Universal MCP Connection** | Shows the single public address, `https://mcp.puppetflow.com/mcp`, recommended for Claude and ChatGPT. |
| **Direct OAuth** | Shows the instance and workspace OAuth endpoints, manages fixed OAuth clients, and lists connected clients. |
| **Manual Access Token** | Creates and revokes named `mcp_...` bearer tokens. |
| **MCP Tools** | Enables or disables individual MCP tools. |
| **Exposed Flows** | Controls which flows can be inspected and run through MCP. |

See [Connect AI clients with MCP](/guide/mcp) for the connection steps.

The available tool groups are:

* **Flows**: search and inspect flows, list authoring resources, and create or update code and visual flows.
* **Automation**: list, create, update, and delete flow triggers and actions.
* **Snippets**: search and inspect snippets, and create or update code and visual snippets.
* **Runs**: search, start, inspect, and continue flow runs.
* **Artifacts**: list and retrieve screenshots, downloads, and recordings.
* **Workspace**: inspect or update the connected workspace.
* **Teams**: list workspace members and manage teams and memberships.

Each tool is marked read-only or potentially destructive. AI clients can use these annotations to request confirmation before writes or external browser actions. See the [MCP API reference](/reference/api#mcp-server) for the complete tool list.

Only flows visible to the connected user and explicitly exposed to MCP can be executed.

See [Connect AI clients with MCP](/guide/mcp) for setup instructions for Claude, ChatGPT, Cursor, and other MCP clients.

### Private Libraries tab

This tab is available when private libraries are enabled. Private libraries add flows and snippets from a public GitHub repository to the blueprints store.

To add a library, configure:

| Field | Description |
| --- | --- |
| **Label** | Display name shown in workspace settings. |
| **GitHub URL** | Public repository URL in `https://github.com/owner/repo` format. |
| **Branch** | Branch to use, defaulting to `main`. |
| **Group** | Optional grouping label. |
| **Visibility** | Owner, workspace, or team. |
| **Owner** | Workspace member who owns the imported resources. |

Libraries can be refreshed manually. When deleting one, you can choose whether to delete its imported fl