MCP Quickstart
Connect your AI agent to LiveFolio in 5 minutes — add the MCP link, approve the OAuth sign-in, and publish your first folio.
1. Copy your MCP endpoint
Open Settings → Integrations in the dashboard (also reachable at /connections). Your endpoint is:
https://livefolio.cloud/api/mcp
No API key is needed for interactive clients. The endpoint is OAuth-capable: your client opens a LiveFolio sign-in the first time it connects.
2. Add it to your agent
Claude Code
claude mcp add --transport http livefolio https://livefolio.cloud/api/mcp
Then open Claude Code and run:
/mcp → livefolio → Authenticate
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.
- In a chat: + → 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"
}
}
}
Microsoft Copilot Studio
- Open your agent → Tools → Add a tool → Model Context Protocol.
- Choose the Streamable transport (SSE is no longer supported).
- Paste the MCP endpoint and finish the OAuth sign-in.
Gemini CLI
gemini mcp add -t http livefolio https://livefolio.cloud/api/mcp
The -t http / --transport http flag is required; Gemini CLI defaults to stdio, like Claude Code.
If your Gemini build does not support OAuth for MCP, use the API key fallback below.
API key fallback (automation / clients without OAuth)
Generate a workspace key from Settings → API Key and add it as a Bearer token:
claude mcp add --transport http livefolio https://livefolio.cloud/api/mcp \
--header "Authorization: Bearer lf_live_xxxxxxxxxxxx"
{
"mcpServers": {
"livefolio": {
"type": "http",
"url": "https://livefolio.cloud/api/mcp",
"headers": {
"Authorization": "Bearer lf_live_xxxxxxxxxxxx"
}
}
}
}
Use this only when OAuth is unavailable — CI, scripts, webhooks, or an older client.
3. Test it
Ask your agent:
"List my LiveFolio projects."
It should call list_projects and show your folios (or an empty list if you haven't created any yet).
4. Create your first folio
Ask your agent:
"Create a LiveFolio project called 'Hello MCP' with a simple HTML page that says Hello World in large centered text."
Check your dashboard — the folio should appear immediately.
Verify everything works
Run through these prompts to confirm full functionality:
- "List my LiveFolio projects" — tests
list_projects - "Create a LiveFolio folio called 'Test' with a hello world HTML page" — tests
create_project - "Get the full details of the Test project" — tests
get_project - "Update the Test project — change the heading color to blue" — tests
update_project
All four working? You're ready to go.
Self-hosted setup
Running your own instance? See Self-Hosting: MCP Configuration for local setup, tunnel configuration, and OSS-specific MCP tools.
Local MCP clients are allowed without a key when no master key is configured. If LIVEFOLIO_API_KEY or settings.json mcpKey is set, every client must send Authorization: Bearer <key> (or ?key=), and remote/tunnel access always requires the key.