AI 发布AI publishing
让 AI 在对话里直接返回 FolioDrop 链接。Let AI return a FolioDrop link inside the conversation.
MCP 接入方式是公开可见的;只有用于发布到你作品集的私有 token 需要登录后生成。ChatGPT 可走授权页,开源 agent 可用 bearer token,豆包/扣子可用 OpenAPI。The MCP setup is public; only the private token that publishes into your folio requires sign-in. ChatGPT can use OAuth, open-source agents can use bearer tokens, and Doubao/Coze can use OpenAPI.
发给 AgentSend to your agent
复制这一段,让 Agent 直接接入。Copy this so your agent can connect.
这是一段完整接入说明,包含 MCP 地址、鉴权 header、工具能力和发布规则。未生成 token 时会保留占位符。This complete setup brief includes the MCP URL, auth header, tools, and publishing rules. Before token creation, it keeps a placeholder.
Connect to FolioDrop so you can publish the HTML work directly and return a share URL in this conversation. Remote MCP: - URL: https://foliodrop.app/mcp - Transport: Streamable HTTP MCP - Header: Authorization: Bearer <FOLIODROP_AI_TOKEN> - Public setup descriptor: https://foliodrop.app/api/ai/mcp-config.json Available tools: - publish_work: publish one complete single-file HTML document and return a FolioDrop share URL. - list_my_works: list works in the connected FolioDrop folio. - delete_work: delete a work from the connected FolioDrop folio. Publishing rules: - Publish into the connected FolioDrop account, not an anonymous session. - Default to public links. - Only use accessMode: "key" when I explicitly ask for an access key. - The html argument must be a complete document with <!doctype html> or an <html> tag. - Inline CSS and JavaScript when possible. Do not depend on local files. If your agent host cannot connect remote MCP with bearer headers, use the OpenAPI tool surface instead: https://foliodrop.app/api/ai/openapi.json
通用 remote MCPUniversal remote MCP
公开的标准接入方式:任何支持 Streamable HTTP MCP 和 Authorization bearer header 的 agent,都可以接入 FolioDrop。Public standard setup: any agent that supports Streamable HTTP MCP and an Authorization bearer header can connect to FolioDrop.
- MCP URL:https://foliodrop.app/mcpMCP URL: https://foliodrop.app/mcp
- Header:Authorization: Bearer <你的 FolioDrop AI token>Header: Authorization: Bearer <your FolioDrop AI token>
- 公开配置说明:https://foliodrop.app/api/ai/mcp-config.jsonPublic config descriptor: https://foliodrop.app/api/ai/mcp-config.json
- 工具:发布作品、列出作品、删除作品。Tools: publish, list, and delete works.
已规划兼容的 agentPlanned compatible agents
OpenClaw、Hermes Agent、WorkBuddy 等开源或自托管 agent,只要支持远程 MCP URL 和自定义请求头,就使用同一套配置。OpenClaw, Hermes Agent, WorkBuddy, and other open-source or self-hosted agents use the same setup when they support a remote MCP URL and custom request headers.
- 适配目标是协议能力,不为每个客户端写私有插件。The target is protocol compatibility, not a private plugin for every client.
- 如果某个 agent 暂不支持 bearer header,可先使用 OpenAPI 工具接口。If an agent does not support bearer headers yet, use the OpenAPI tool surface first.
- 未逐个联调前,页面只承诺兼容条件,不宣称全部客户端已验证。Before per-client testing, FolioDrop states compatibility requirements rather than claiming every client is verified.
豆包 / Coze-style OpenAPIDoubao / Coze-style OpenAPI
对支持导入 OpenAPI 或自定义 HTTP 工具的平台,使用 FolioDrop 的 OpenAPI 描述文件和 bearer token。For platforms that import OpenAPI or custom HTTP tools, use FolioDrop's OpenAPI description and a bearer token.
- OpenAPI:https://foliodrop.app/api/ai/openapi.jsonOpenAPI: https://foliodrop.app/api/ai/openapi.json
- 默认公开链接;需要密钥时让 AI 显式设置 accessMode 为 key。Public links are the default; ask the AI to set accessMode to key only when needed.
- 发布结果会进入你的作品集,而不是匿名临时链接。Published works go into your folio, not an anonymous temporary session.
连接凭证Connection token
先登录,再创建私有 token。Sign in, then create a private token.
OpenAPI 工具和通用 MCP 客户端都可以使用这个 token。ChatGPT 私有连接可走授权页;其他 agent 通常把它放在 Authorization bearer header。OpenAPI tools and generic MCP clients can use this token. ChatGPT private connections can use the authorization page; other agents usually place it in the Authorization bearer header.
给 AI 的生成要求Instruction for AI
让 AI 输出可直接发布的 HTML。Ask AI for publish-ready HTML.
Create one complete single-file HTML work for FolioDrop. Requirements: - Output a full HTML document with <!doctype html>, <html>, <head>, and <body>. - Inline CSS and JavaScript. Do not depend on local files. - Use public HTTPS URLs for any external image or font. - When the work is ready, call FolioDrop publish_work with the title and html. - Use public access unless I explicitly ask for an access key.