Dome Systems

Context

Switch org, tenant, and workspace sessions and check authentication status

An environment in Dome is the place platform work runs: a tenant for hard isolation, a workspace for day-to-day operations, and a CLI context that points tools at that workspace.

Refer to Environments for how a context selects the workspace CLI and MCP tools use. The MCP server and CLI share ~/.config/dome/config.yaml: a context switch through either surface is visible to the other, and the MCP server reloads disk changes before tool calls. These tools are always available — they do not require an active workspace context or any specific permissions.

Context

dome_context_list

List all available contexts in the org/tenant/workspace hierarchy.

ParameterTypeRequiredDescription
———No parameters

Returns each context with its name, alias (if set), server, and active status.

Example tool call
{
  "name": "dome_context_list"
}

dome_context_current

Show the active context name and details.

ParameterTypeRequiredDescription
———No parameters

Returns the currently selected context including org, tenant, workspace, and server URL.

dome_context_use

Switch the active context by name, alias, or shorthand. The selection is written to the shared config file, so the next CLI command uses it too.

ParameterTypeRequiredDescription
namestringYesContext name, alias, or shorthand

Supports several shorthand formats:

  • Exact name: prod/acme/backend
  • Alias: backend (if alias is set)
  • Workspace shorthand: backend
  • Tenant/workspace: acme/backend
  • Org/tenant/workspace: prod/acme/backend

If the shorthand is ambiguous, the tool returns an error listing all matching contexts.

Example tool call
{
  "name": "dome_context_use",
  "arguments": {
    "name": "acme/backend"
  }
}

After switching context, the available tool list updates to reflect your permissions in the new workspace.

dome_context_sync

Refresh contexts from server memberships. Fetches all org/tenant memberships, creates or updates contexts with scoped session tokens across all authenticated servers, and persists the result to the shared config file.

ParameterTypeRequiredDescription
———No parameters

dome_context_rename

Rename a context. Persists the change to the config file.

ParameterTypeRequiredDescription
old_namestringYesCurrent context name or alias
new_namestringYesNew context name

dome_context_delete

Delete a context. Persists the change to the config file. If the active context is deleted, platform tools are removed. Marked destructive.

ParameterTypeRequiredDescription
namestringYesContext name or alias to delete

Deleting a context removes the local session. Re-run dome_context_sync to recreate it from server memberships.

dome_context_alias

Set or remove an alias for a context. Aliases provide short names for frequently used contexts. Persists the change to the config file.

ParameterTypeRequiredDescription
namestringYesContext name (or alias to remove when remove=true)
aliasstringYesAlias value (ignored when remove=true, but the parameter must still be provided)
removeboolNoRemove the alias instead of setting it (default: false)
Example — set alias
{
  "name": "dome_context_alias",
  "arguments": {
    "name": "prod/acme/backend",
    "alias": "backend"
  }
}
Example — remove alias
{
  "name": "dome_context_alias",
  "arguments": {
    "name": "backend",
    "alias": "",
    "remove": true
  }
}

Auth

dome_auth_status

Show authentication status for the current session.

ParameterTypeRequiredDescription
———No parameters

Returns the authenticated user, server URL, token expiry, and active workspace.

Version

dome_version

Get the Dome MCP server version.

ParameterTypeRequiredDescription
———No parameters

Returns the server version string and build metadata.

Next steps

Create tenants and workspaces from Manage, then switch context here:

On this page

Was this page helpful?