MCP Integration

Share from inside Claude. No copy-paste needed.

Connect ShareDuo to Claude via MCP and get a shareable link without ever leaving the conversation. Works in claude.ai and Claude Code.

See it in action

How it works

1

Build an artifact in Claude

Create any HTML artifact — a dashboard, a calculator, a game, a form — the usual way.

2

Say "share this" or "push to ShareDuo"

Claude uses the MCP tool to upload the artifact directly. It'll ask about password and expiry before sharing.

3

Get a link instantly

ShareDuo returns a preview URL and a manage URL. Anyone with the link can open it — no Claude account required.

Setup — Claude.ai

Under 30 seconds. Works on Pro, Team, and Enterprise plans.

1

Open Connectors

In Claude.ai, click your profile picture → SettingsConnectors.
2

Add ShareDuo

Click Add custom connector and paste this URL:
https://api.shareduo.com/mcp
3

Sign in

A ShareDuo window opens. Log in — or create an account — then click Authorize. Claude receives a token automatically. Nothing to copy or paste.
4

Start a conversation

Open a new chat. You should see the ShareDuo tools available. Build an artifact and say “share this as a ShareDuo link” — Claude handles the rest.

Setup — Claude Code

Add ShareDuo as an MCP server in your Claude Code config. Same OAuth flow as Claude.ai.

1

Add the server to your config

Run this command from your project directory (or anywhere):

claude mcp add shareduo --transport http https://api.shareduo.com/mcp

Or add it manually to ~/.claude/settings.json:

{
  "mcpServers": {
    "shareduo": {
      "type": "http",
      "url": "https://api.shareduo.com/mcp"
    }
  }
}

The same URL works for Cursor, Windsurf, Zed, and any other MCP-compatible client.

2

Sign in via browser

The first time Claude Code calls a ShareDuo tool, a browser window opens for OAuth. Log in — or create an account — then click Authorize. The token is handed back to your client automatically.

3

Verify it's connected

Run claude mcp list and confirm shareduo appears. Then ask Claude to list your artifacts to test it end-to-end.

Available tools

Six tools, mapped 1:1 to the things you'd otherwise click around for. Every tool is scoped to your artifacts only — you can't accidentally see or touch anyone else's.

upload_artifact

Upload an HTML artifact (or generated content) and get a shareable short link instantly. Claude will ask about password protection and expiry before calling this tool.

htmlContentrequiredComplete HTML document to upload.
passwordoptionalPassword-protect the link. Leave blank for none.
expiresInoptional1h, 1d, 7d (free); 30d or permanent (Plus).
list_artifacts

List every artifact in your account. Useful when you want Claude to find the latest one to update, or scope a follow-up action.

limitoptionalMax number to return. Defaults to 20.
get_artifact

Pull the full HTML content and metadata of any artifact you own, by its short ID. Lets Claude read what's currently live before editing.

shortIdrequiredThe artifact's short ID (e.g. x4f2a3).
update_artifact_content

Replace the HTML of an existing artifact. The URL stays the same — only the content changes. Great for iterating on a prototype without re-sharing the link.

shortIdrequiredThe artifact's short ID.
htmlContentrequiredNew HTML content.
update_artifact_settings

Change the title, expiry, password, or search-engine indexability of an existing artifact.

shortIdrequiredThe artifact's short ID.
titleoptionalDisplay title.
expiresInoptionalNew expiry window.
passwordoptionalSet/change a password (or null to remove).
noindexoptionalHide from search engines (boolean).
delete_artifact

Permanently delete an artifact. The preview URL shows a removal notice to anyone who tries to open it.

shortIdrequiredThe artifact's short ID.

Example prompts

Share this as a ShareDuo link
Generate a Q2 pricing comparison and share it as a 30-day link
Share this dashboard — password protect it
Update my latest artifact with the revised pricing
List my artifacts from the last week
Delete the artifact I just shared

FAQ

How does authentication work?

Your MCP client opens a ShareDuo sign-in window the first time it needs to call a tool. Log in (or sign up at app.shareduo.com), click Authorize, and the token is handed back to your client automatically. Nothing to copy, paste, or email.

Can other people see my artifacts through MCP?

No. Every tool is scoped to your account only. list_artifacts and get_artifact only return artifacts you own — you can't accidentally read or modify anyone else's content.

Which MCP clients does this work with?

Any MCP-compatible client. The same https://api.shareduo.com/mcp endpoint works for Claude.ai, Claude Code, Cursor, Windsurf, Zed, and others. OAuth happens the first time each client connects.

Do viewers need a Claude account to see the artifact?

No. ShareDuo serves the artifact directly — no Claude login, no claude.ai branding. Anyone with the preview link can open it in any browser.

Is MCP pushing the same as uploading through the website?

Yes. The MCP tools call the same backend as the web form. The resulting artifact is identical — same URL format, same expiry options, same manage page.

What's next on the roadmap?

More tools: analytics queries, workspace operations, invite management. The principle stays the same — anything you can do in the dashboard, you should be able to ask Claude to do. Have a workflow you'd love to automate? Hit reply to any ShareDuo email — we read every one.

Ready to connect?

Add https://api.shareduo.com/mcp to your MCP client and share your next artifact without ever leaving the conversation.