How to share HTML reports from Cursor
Turn an HTML report written in Cursor into a private link. Add the MCP server once, then ask the agent to publish and invite readers.
Last updated
Steps
- 1
Add the Linkwoven MCP server to Cursor
Put the JSON snippet below in .cursor/mcp.json in your project and reload.
- 2
Ask Cursor to write the report as one HTML file
Use the prompt below so the report has no outside dependencies.
- 3
Preview it
Open the file in a browser and check the content is right for the audience.
- 4
Ask Cursor to publish it
Name the recipients. The agent returns a link that only they can open.
- 5
Ask for views later
The agent can report who opened the link and when.
Cursor's agent can read a codebase or dataset and write an HTML report in the same session: an audit, a dependency review, a performance summary. This guide shows how to send that report to someone who does not have the repository.
Status: the Linkwoven CLI and MCP server are part of the private beta. Join the waitlist to get access.
One-time setup
Create .cursor/mcp.json in the project:
{
"mcpServers": {
"linkwoven": {
"command": "npx",
"args": ["linkwoven", "mcp"]
}
}
}
Then log in once from the terminal so the server can act for your workspace:
npx linkwoven login
Login opens a browser window to confirm. The key is stored in your operating system's keychain, not in the project.
Prompt for the report
Analyse [scope] and write the findings to reports/audit.html.
- One self-contained HTML file with inline CSS and JavaScript.
- Embed the data. No network requests at view time.
- Top of page: a summary, a status for each area, and the three most
important actions.
- Below: one section per area with an h2 heading, evidence, and file
references as plain text.
- No secrets, tokens or absolute local paths.
- Must read well on a phone.
Prompt to publish
Publish reports/audit.html with Linkwoven.
Title: "Platform audit, November".
Invite dana@example.com and lee@example.com.
Expire the link in 30 days. Tell me the URL.
The agent calls publish_document and returns a link. Dana and Lee each enter a six-digit code sent to their inbox. Nobody else can open it.
Follow-up prompts
| You want | Say |
|---|---|
| Update the report, same link | "Update the audit link with the new reports/audit.html." |
| Add a reader | "Invite sam@example.com to the audit link." |
| Remove a reader | "Remove lee@example.com from the audit link." |
| See activity | "Who has opened the audit link?" |
| Close it | "Disable the audit link." |
What to check before the agent publishes
Agents are fast and literal. Review these yourself:
- Recipients. Read the addresses back before confirming.
- Content. Reports built from a repository can quote code, config or customer data.
- Access. The default is non-public. Keep it that way unless the report is meant for everyone.
Consider adding a line to your project rules file, such as: "Never publish with public access unless I say the word public."
Without MCP
npx linkwoven publish reports/audit.html --invite dana@example.com,lee@example.com
Flags are listed in publishing from AI agents.
Limits
- The sandbox blocks outside network calls. A report that loads data from an API at view time will show empty charts. The HTML checker page lists every rule.
- A permitted reader can screenshot or copy the report.
- Linkwoven is not end-to-end encrypted. It renders your file, so the service can technically access it. Access is restricted and logged.
For client-facing reports, see client deliverables. For the same flow in another agent, see sharing a Codex report.
Frequently asked questions
- Do I have to use MCP?
- No. Running npx linkwoven publish report.html in Cursor's terminal does the same thing. MCP lets the agent do it as part of a longer task.
- Where does Cursor keep MCP settings?
- Project-level servers go in .cursor/mcp.json. Cursor also has a global settings location. Check Cursor's documentation for the current paths.
- Can the agent make a report public by accident?
- Links created through MCP are non-public by default. Public access must be requested explicitly in the tool call, and tools that remove access are flagged as destructive.
- Can I share a whole built site, not one file?
- Yes. Publish the output folder. It is zipped and the entry page is detected from index.html.