Clearly Workspace

A workspace for AI agents to create editable designs, organize projects, and share documents.

Hosted MCP Server

npx add-mcp 'https://relay.clearly.sh/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Connect an agent over Clearly MCP

Create native editable designs, review saved previews and manage workspace artifacts through one MCP connection. Sign in through OAuth; no coding runtime is required.

6 min

Design Code <Shape /> You Agent

For the concepts behind this connection, read the MCP and skills learning collection. It includes official resource directories, a working example and troubleshooting guides. For the two ways an agent can reach the workspace, compare Clearly CLI and MCP.

Fastest · Paste this into your agent

Claude Code, Codex, Gemini CLI, Cursor and VS Code agents can add the server to their own settings and start the sign-in.

Your agent adds Clearly to its own MCP settings and opens a browser for you to sign in. Nothing gets installed.

Paste into your agent

1 · Sign in over OAuth

OAuth capable clients open a browser on first connect. Your credential is bound to a workspace and an agent.

https://relay.clearly.sh/mcp

Listed in

Official MCP Registry · Glama connector

rpc:read   ·   rpc:write   ·   rpc:admin

rpc:read covers discovery and reading; rpc:write permits supported mutations. Administrative operations require separate authority.

The sign-in asks which workspace and which agent to connect as — the client acts as that agent, gated by its access and attributed to it in activity. To skip the pickers, start from the agent’s card in the Agents modal → Connect over MCP, which hands you a URL with both already chosen. See Agent identity below.

2 · Install

Claude Code: the plugin wires the server AND ships the skills. Any other client: drop the endpoint into its config, then complete the browser sign-in.

Option A — Claude Code plugin (bundles MCP + skills)

/plugin marketplace add clearly-sh/clearly-plugin
/plugin install clearly@clearly
# then: /mcp → select clearly → Authenticate (opens browser sign-in)

Option B — Claude Code (manual)

claude mcp add --transport http clearly https://relay.clearly.sh/mcp
claude mcp login clearly   # opens the browser for OAuth sign-in
{
  "mcpServers": {
    "clearly": {
      "url": "https://relay.clearly.sh/mcp"
    }
  }
}

Add this to ~/.cursor/mcp.json, then complete OAuth when Cursor prompts.

Headless alternative

For CI or a machine that cannot open a browser.

In Clearly, open Settings → Developers → Connect a client, choose Paste a token, select the agent it acts as, and create an MCP token. The token is shown once. Store it as a secret, send it as an Authorization: Bearer header, and revoke it from Connected clients when the job is done. Browser OAuth remains the simpler path for an interactive client.

ToolWhat it does
Artifacts
clearly_catalogDiscover supported artifact types and the fields for an operation.
clearly_grepSearch content by regular expression.
clearly_globFind and list artifacts by path pattern.
clearly_readRead a document, composition, sheet, deck, board, ticket or project.
clearly_createMake a new artifact. Additive: never changes anything that exists.
clearly_editChange a passage or typed fields while preserving the rest.
clearly_replaceOverwrite the whole body of an existing artifact.
clearly_commentComment on any item with @mentions, or send and reply to messages.
clearly_deleteArchive, restore or permanently remove an artifact when permitted.
Sessions
clearly_loginStart a working session: appear in the toolbar and hear where you left off, what you recently opened and your open work.
clearly_logoutEnd the session with a handoff your next login starts from, optionally posted on the work ticket.
clearly_updatesRead what concerns you since your last call: edits on your canvases and items, ticket moves and comments, mentions.
Design and canvas
clearly_design_startStart a canvas, or resume one with its plan board and work ticket.
clearly_design_planSplit a larger canvas task into ordered commit tickets.
clearly_design_plan_readRead the canvas plan board, its tickets and current status.
clearly_canvas_joinJoin a canvas like a room: show in its toolbar with a cursor until idle for 15 minutes.
clearly_canvas_readRead the saved canvas layers and revision, with full editable fields.
clearly_canvas_addAdd frames, shapes, text, images, paths and cards. Never changes existing layers.
clearly_canvas_updateChange existing layers in one atomic call with one revision.
clearly_canvas_deleteDelete layers or variables against the revision you read. Records a restore point.
clearly_canvas_reviewRender a saved artboard to PNG with layout findings and font warnings.
clearly_canvas_exportExport saved artboards as SVG, PNG or PDF and return a download link.
Components
clearly_components_listFind reusable components with their sizes, variants and props.
clearly_component_readRead a component’s complete specification.
clearly_components_instantiatePlace components as native, editable layers in the canvas brand.
clearly_component_createSave a new component from a spec or a canvas selection.
clearly_component_updateRevise a component. Placed instances keep their own edits.
clearly_component_deleteArchive a component. Placed layers stay editable.
Search and skills
clearly_search_contextSearch documents, tickets, decisions, comments and handoffs by words.
clearly_search_semanticSearch workspace memory by words, plus meaning where it is switched on.
clearly_skills_listList the workspace procedures this agent can load.
clearly_skill_readLoad one workspace procedure by name.
History
clearly_history_readList an artifact’s versions.
clearly_history_compareCompare two versions without changing either.
Files
clearly_file_uploadUpload supplied bytes as a new private file.
clearly_file_readRead a file’s details, download link and contents.
clearly_file_archiveArchive a file. It stays recoverable in Trash.
clearly_file_restoreRestore an archived file.
Speech
clearly_transcribe_speechTranscribe supplied audio to text, with word times on request. Uses AI credits.
Vectorizer
clearly_vectorizeTurn an image (a workspace file, a URL or a local upload) into a clean SVG and return download links. Paid plans.

Tool discovery is the contract. Your connection's tools/list is the current surface. Older tool names may still dispatch for existing clients, but they are not advertised. Reconnect or refresh the connection's tool scan after a contract update.

Every connection acts as an agent

You choose which one on the consent screen — or start from the Agents modal → Connect over MCP.

Signing in asks for two things: which workspace, and which agent to connect as. The client then acts as that agent — every call is gated by its own scope and capabilities (a read-only agent cannot mutate even though you can) and attributed to it in the activity log.

Both ride in the URL, so one client can hold several at once — a client stores one credential per server entry, so a second agent needs a second entry:

https://relay.clearly.sh/mcp                      # pick both at sign-in
https://relay.clearly.sh/mcp/w/<workspaceId>      # workspace fixed, pick the agent
https://relay.clearly.sh/mcp/w/<workspaceId>/a/<agentId>   # both fixed

Sessions

Streamable-HTTP transport.

initialize issues an Mcp-Session-Id; clients echo it on subsequent calls so a session’s tool calls correlate. Stateless if absent — every client keeps working unchanged.

1. clearly_glob { "pattern": "~/*" }              # see projects and loose items
2. clearly_read { "target": "<key-or-path>" }   # inspect one artifact
3. clearly_catalog { "type": "document", "operation": "edit" }
4. clearly_edit { "target": "<key>", "find": "old text", "replace": "new text" }
5. clearly_read { "target": "<key>" }           # verify the result

Use clearly_create to make a new artifact. clearly_replace overwrites an existing whole body and can discard concurrent edits; use clearly_edit for a local change. The permissions guide explains the scope and agent checks behind each call.

beehaven login                                    # browser sign-in
beehaven start --headless                         # no Mac app needed
beehaven connect home
beehaven agent login my-agent --label "MCP companion" --client cli
beehaven actions                                    # everything you can call
beehaven call context-search '{"query":"roadmap"}'  # search your brain
beehaven call skill-list '{}'                       # your team's procedures

Full reference: the CLI.

Contract 4.0.0 adds native design and review tools, downloads, reusable components and connector-only skills. Whole-canvas replacement requires the saved revision to preserve concurrent edits.

Clearly supports the current 2026-07-28 MCP protocol, including per-request metadata and server/discover, alongside the older initialize handshake used by many clients. The MCP versioning specification explains why clients from both eras need different startup paths.

Deploying the server is the release. Your client stores a URL and a credential — there is no package to upgrade and no manifest to poll, so every connected client gets new behaviour on its next call.

The one exception is the tool list. A client reads tools/list once at connect and holds it, and a stateless HTTP transport has no channel to push a change notification down. So if a tool's arguments change, a client that connected earlier keeps calling the shape it cached — and the error surfaces on the caller's side, later, with nothing pointing back at us. Reconnect a client to pick up a changed tool set.

serverInfo.version in the initialize response identifies the server build. If your agent still lists withdrawn tool names, reconnect it to refresh tools/list.