FileShare Pro
Xuất bản các tệp HTML thành trang có thể chia sẻ, cập nhật chúng tại cùng một liên kết và đọc bình luận của khách.
Máy chủ MCP được lưu trữ
npx add-mcp 'https://fileproapp.com/mcp'Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác
Tài liệu
Connect once and your AI can publish an HTML file as a shareable page, update it later with the same link, add a poll or a form, and read the comments that come back. No keys to copy. It signs in with your FileShare Pro account, and you can disconnect it any time.
ChatGPT
Paid ChatGPT plans
- 1Open Settings → Connectors. If there is no Create button, turn on Developer mode under Advanced.
- 2Choose Create, name it FileShare Pro, and use
https://fileproapp.com/mcpas the server URL. Leave authentication on OAuth. - 3Save, sign in when it sends you to FileShare Pro, press Allow. Enable the connector in a chat and ask it to publish something.
Claude
claude.ai and the Claude apps
- 1Open Settings → Connectors → Add custom connector.
- 2Name it FileShare Pro and paste
https://fileproapp.com/mcp. - 3Press Add, then Connect, sign in, press Allow. Done.
Claude Code
In the terminal
- 1Run
claude mcp add --transport http filesharepro https://fileproapp.com/mcp - 2Type /mcp, pick filesharepro, sign in in the browser, press Allow.
- 3Ask it to publish a file. It hands you the link.
Cursor, Windsurf, anything with MCP
Any tool that speaks the Model Context Protocol
- 1In the tool's MCP settings add a remote or HTTP server.
- 2Use
https://fileproapp.com/mcp. It will open a sign-in. - 3If the tool cannot sign in, create an API token in the app (Connect → Advanced) and send it as a Bearer token.
Then just ask
“Publish this as a page and give me the link.”“Update my Q3 report with this version, same link.”“Add a poll to my page: pizza or tacos? Show results under it.”“Show me the responses to my signup form.”“Password-protect the pricing page; expire it Friday.”“List the comments on my proposal and approve Dana's.”
Forms and polls with no code
Any page you publish can collect responses. Give a form one attribute and the page does the rest; add an element with data-fsp-results to show a poll's tally. Responses are visible only to you and the people on the file, in the document view and as CSV. The world can only submit, one bounded row at a time; a poll exposes counts for the one field you declared, never rows.
<form data-fsp-form="lunch" data-fsp-poll="choice" data-fsp-thanks="Thanks for voting!">
<label><input type="radio" name="choice" value="Pizza"> Pizza</label>
<label><input type="radio" name="choice" value="Tacos"> Tacos</label>
<button>Vote</button>
</form>
<div data-fsp-results="choice" data-fsp-form="lunch"></div>
FOR DEVELOPERS
The REST API
Everything the app can do, a script can do. The CLI and both MCP servers are thin wrappers over exactly these endpoints.
Authentication
Create a token in the app under Connect → Advanced and send it as a bearer credential. Tokens start with fsp_ and carry your full account access. The only thing a token cannot do is manage tokens. Connected apps get the same kind of token through OAuth 2.1 (discovery at /.well-known/oauth-authorization-server, dynamic registration, PKCE).
curl https://fileproapp.com/api/me \
-H "Authorization: Bearer fsp_your_token_here"
Uploading a file
Three steps: declare the file, PUT the bytes to the presigned URL, confirm. A file that is never confirmed is never served. An optional folder_id puts it in a folder on the way in.
# 1. Declare — returns file_id, slug and a presigned upload_url
curl -X POST https://fileproapp.com/api/files \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"file_name": "page.html", "size_bytes": 4096, "content_type": "text/html"}'
# 2. Upload the bytes (no auth header — the URL itself is the credential)
curl -X PUT "$UPLOAD_URL" -H "Content-Type: text/html" --data-binary @page.html
# 3. Confirm — the share link goes live
curl -X POST https://fileproapp.com/api/files/$FILE_ID/complete -H "Authorization: Bearer $TOKEN"
Files
GET /api/files Your files, your Team's files, and files and folders shared with you
GET /api/files/:id One file, with your role on it
POST /api/files Begin an upload
POST /api/files/:id/complete Finalize an upload or a replace
POST /api/files/:id/replace New content, same link; the old content becomes a version
GET /api/files/:id/stats View timeline for the plan's window
GET /api/files/:id/members People on the file
POST /api/files/:id/members Add someone by email, as commenter or editor
GET /api/files/:id/access-requests Who is waiting to be let in
POST /api/access-requests/:id/approve Let them in (body: role); /decline says no
DELETE /api/files/:id Delete; the link 404s immediately
PATCH accepts visibility (public · expiring · disabled), expires_at, password (empty string removes it), comments_enabled, comments_visibility (approval · open), suggestions_enabled, forms_enabled.
disabled turns the public link off and leaves the file open to the owner and to everyone added under /members. A password is a way in for people who were never added; those who were get in without it. For either, the file list returns a short-lived k — append it to the raw URL to load the page bytes.
The document
POST /api/comments Reply as yourself, or as a guest with a name
GET /api/review Everything held across your files
Forms
POST /api/forms/:fileId/submit Public, any origin: one row, up to 10 fields, 2 KB
GET /api/forms/:fileId/counts?form=&field= Public tally for a declared poll field
Media assets and mini-sites
MCP tools
The hosted server at https://fileproapp.com/mcp exposes: upload_file, list_files, get_file, replace_file, delete_file, set_link, move_file, list_folders, file_stats, list_comments, review_queue, approve_comment, list_submissions, poll_results, account_info. Content travels as text, up to 10 MB. The fsp CLI runs the same tools locally over stdio (fsp mcp).
Conventions
- Errors are JSON:
{"error": "what went wrong"}with a meaningful status. A 403 with"upgrade": truemeans the plan, not the request. - Writes are rate-limited per account. Back off on 429; the window is about a minute.
- IDs are UUIDs. Share links are
fileproapp.com/v/<slug>; raw content is onr.fileproapp.com. The API answers on fileproapp.com and file-share-pro.com. - The API and connected apps are on every plan, Free included.