shed
Get started / Use it from your agent
Get started

Use it from your agent

Add Shed to Claude Code, Cursor or any MCP client, and the agent that builds a tool can also deploy it and share it with your team.

View Markdown

The fastest way: one sentence

You don't need to set anything up. Say this to any agent that can run terminal commands, in the project you want online:

Text
Put this on Shed so I can share it. Follow https://shedcloud.dev/start.md

start.md is a guide written for agents. It walks yours through checking the sign-in, asking you for your email, sending the sign-in link (the one step you do: click it and approve), checking the app fits Shed, building and deploying it, and offering to share it. It ends with the address. On Shed Cloud it's free.

Self-hosting? Your own server serves the same guide, with its address in every command, at https://shed.yourcompany.com/start.md.

Make it permanent

For agents you use every day, give them Shed for good. Shed ships an MCP server inside the same shedcloud package, and a skill file. With them, your agent can sign you in, deploy a folder, share the app and check what's live, and it already knows how to write apps that use the SDK.

Terminal
$ claude mcp add shed -- npx -y shedcloud@latest mcp
$ mkdir -p ~/.claude/skills/shed && curl -fsSL https://shedcloud.dev/skill.md -o ~/.claude/skills/shed/SKILL.md

Restart the agent if it was already running, and check that it lists the shed_ tools. Not signed in yet? Just ask for something: the agent asks for your email and calls shed_login, and you click the link. For a self-hosted Shed, sign in once from a terminal with npx shedcloud login --server https://shed.yourcompany.com.

Ask for a tool

Describe what you want, who it's for, and that it should go on Shed:

Text
Build a retro board for the design team: columns for went well, didn't, and
try next; anyone can add a card and vote. Put it on Shed and share it with
everyone at our company as editors.

A typical run looks like this:

  1. The agent writes retro/index.html, using shed.me(), shed.db() and subscribe() from the SDK. The server's instructions teach it the SDK and the kit.
  2. It calls shed_deploy with the folder and gets back the address.
  3. It calls shed_share with org_role: "editor".
  4. It tells you the link, and the message to post to your team. With people's emails, it would call shed_share with invite: true instead, and Shed emails each of them a sign-in link.

Ask for changes the same way. Deploying the same folder again updates the same app as a new version.

Tools

ToolWhat it doesArguments
shed_loginEmail the user a sign-in link. The next tool call finishes the sign-in once they approve it.email (required), server (self-hosted only)
shed_whoamiWho is signed in, on which Shed, and the plan and how much of it is used.none
shed_deployDeploy a folder that has an index.html. Returns the address and who can open it.folder (absolute path, required), name (optional app name)
shed_shareChange who can open an app.app (required), add (list of { email, role }, role defaults to viewer), remove (list of emails), org_role, public_role (none, viewer or editor)
shed_listThe apps you can open, with version, role and address.none
shed_infoAn app's sharing, versions and record count.app
shed_dataWhat people entered in an app, with who added each entry and when.app, collection (optional)
shed_add_entriesAdd entries as if typed into the page: import a list or a CSV, or add test data. Follows the app's rules; anonymous collections can't be added to.app, collection, and records (a list of objects) or file (a .json, .jsonl or .csv path)
shed_update_entryChange some fields of one entry and keep the rest.app, collection, id, fields
shed_remove_entriesRemove entries (owners).app, collection, ids
shed_initWrite the starter app into a folder.folder
shed_deleteDelete an app, its versions and its data for good. Agents are told to use it only when you ask to delete that app by name.app, confirm (the app name again)

The MCP server has no tool to roll back. Do that from the CLI or the dashboard.

Troubleshooting

  • "Not signed in to Shed yet": give the agent your email; it sends the link, and you approve it. Or run npx shedcloud login in a terminal yourself.
  • "Sign-in is waiting on …": the email hasn't been approved yet. Open it, check the code, choose Approve terminal, then tell the agent to carry on.
  • The tools don't show up: check that npx shedcloud mcp starts without errors in a terminal (it waits silently for input; press Ctrl+C to stop it), and that your agent's config points at it.
  • "is taken": someone else already has an app with that name. Ask the agent to deploy with a different name.

↑↓ to move, Enter to open