MCP Overview
Connect AI agents to LiveFolio via the Model Context Protocol — OAuth sign-in for interactive clients, API keys for automation.
What is MCP?
The Model Context Protocol (MCP) lets AI coding agents interact with LiveFolio directly. Instead of copy-pasting HTML, your agent publishes folios, updates them, reads feedback, and applies design systems — all through standard tool calls.
Authentication at a glance
| Client type | Authentication | Key needed? |
|---|---|---|
| Interactive MCP clients — Claude Code, Claude, ChatGPT, Cursor, Copilot Studio | OAuth 2.0. The client opens a LiveFolio sign-in the first time it connects. | No |
| Automation — CI, scripts, webhooks, clients without OAuth | Workspace API key: Authorization: Bearer lf_live_… | Yes |
| Autonomous agents using the auth.md protocol | Agent registration + user claim | A key is returned |
OAuth is the default. The API key path still exists, but it is not the first thing to try for an interactive agent.
Architecture
AI Agent (Claude Code, Claude, ChatGPT, Cursor, Copilot Studio)
│
│ JSON-RPC 2.0 over Streamable HTTP
│ Auth: OAuth 2.0 (interactive) or Bearer API key (automation)
│
▼
LiveFolio MCP Server (/api/mcp)
│
├── list_projects → Discover folios
├── get_project → Full details + files + comments
├── create_project → Publish a new folio
├── update_project → Edit and create a version
├── get_curated_brief → Human feedback summary
├── get_active_design_system → Design specifications
├── manage_sharing → Publish / privacy / access key
├── manage_listing → Explore listing + license
├── search_marketplace → Browse Explore
├── buy_project → Checkout URL relay
├── archive_folio → Hide a folio (reversible, not deleted)
├── unarchive_folio → Restore it as a draft
├── list_workspaces → Workspace folders
├── manage_workspace → Create / update / move / archive folders
└── manage_member → Invite / roles / remove
How it works
- Copy your MCP endpoint from Settings → Integrations (also reachable at
/connections):https://livefolio.cloud/api/mcp - Add it to your agent. The client opens a LiveFolio sign-in — approve it. No API key, no token copy-paste.
- Ask your agent to "create a folio" or "update my project".
- The agent calls MCP tools — the folio appears in your workspace with a shareable URL and version history.
Connecting your agent
Claude Code
claude mcp add --transport http livefolio https://livefolio.cloud/api/mcp
Then open Claude Code and run:
/mcp → livefolio → Authenticate
No --header is needed. The --transport http flag is required: without it, claude mcp add defaults to stdio and treats the URL as a command.
Claude (web / desktop)
Settings → Connectors → Add custom connector → paste the MCP endpoint → Connect → sign in with LiveFolio.
ChatGPT
- Settings → Connectors → Advanced → turn on Developer mode.
- Create → New connector → paste the MCP endpoint → save.
- Approve the LiveFolio sign-in.
- Enable it per conversation: + → Developer mode → LiveFolio. Saving the connector does not enable it in existing chats.
Cursor
Cursor → Settings → MCP → Add new MCP server → choose type HTTP → paste the MCP endpoint → approve the LiveFolio sign-in. Or add this to .cursor/mcp.json:
{
"mcpServers": {
"livefolio": {
"url": "https://livefolio.cloud/api/mcp"
}
}
}
Clients without OAuth
For CI, scripts, webhooks, or a client that cannot do OAuth, generate a workspace key in Settings → API Key and use it as a Bearer token:
{
"mcpServers": {
"livefolio": {
"type": "http",
"url": "https://livefolio.cloud/api/mcp",
"headers": {
"Authorization": "Bearer lf_live_xxxxxxxxxxxx"
}
}
}
}
What you can ask your agent
- "List my LiveFolio projects"
- "Create a folio called 'Pitch Deck' with this HTML"
- "Update the footer on my folio to match the new brand colors"
- "Show me the feedback on the Q3 Report"
- "Apply the Cobalt Ocean design system to my project"
The agent handles all the MCP tool calls. You describe what you want.
Available tools
| Tool | What it does |
|---|---|
list_projects | List all folios in your workspace with IDs, titles, and stats |
get_project | Full folio details: files, versions, comments, visibility, analytics |
create_project | Publish a new folio with HTML, title, and design options |
update_project | Edit files and create a new version with a commit message |
delete_project | Permanently delete a folio (confirmed: true) |
archive_folio / unarchive_folio | Hide a folio everywhere public — or restore it as a draft. Nothing is deleted |
duplicate_project | Copy a folio into your account (grant-aware) |
get_curated_brief | Structured markdown brief from all open reviewer comments |
get_active_design_system | Complete design spec: theme, palette, typography, grid, animations |
add_comment / moderate_comment / add_reaction | Add, resolve/delete, and react to feedback |
manage_sharing | Publish/privacy/access key — no version bump |
manage_paid_access | Price, preview, and post-purchase settings |
manage_listing | Explore listing, license, and eligibility |
search_marketplace | Browse the public Explore gallery |
buy_project / get_purchases | Start a purchase (URL relay) and track grants |
manage_seller_account | Stripe Connect status or onboarding |
list_workspaces / manage_workspace | The folders that organize folios — including archiving a folder and everything in it |
manage_member | Invite, change roles, or remove teammates |
manage_profile / claim_handle / follow_profile | Profile, @username, and follows |
auth.md compatible
LiveFolio is auth.md compliant. Autonomous agents can register and acquire API keys on behalf of users — no dashboard interaction required. See Authentication for the full protocol. Interactive clients should use OAuth instead.