Publish AI agent output to your team wiki: Claude artifacts and Cursor canvases
· Updated · Sergii Kravtsov · Folio
You ask Claude for a sales dashboard, a pricing calculator or a launch checklist, or you ask Cursor for a release canvas, and the agent builds a small interactive page. It is exactly what the team would like to open next week, and it lives in one chat or on one disk. Send a screenshot and the filters stop working. Send the chat and nobody can find it. Folio has a page kind for these pages, the artifact, so the thing the agent built becomes part of the wiki.
Artifacts are one way an agent adds to a team AI wiki next to its pages. Below: what an artifact is in Folio, how an agent publishes one, the steps that are specific to Claude and to Cursor, how to bring one in by hand, and what it is stored as. Any other self-contained HTML page works the same way.
A page, not a screenshot
An artifact sits in the page tree next to your notes. It has a title and an icon, it is found by the quick switcher and by search, it can carry properties and tags, and it follows the same access rights as every other page. Move it, copy it, put it in the trash, share it by link or publish it with a public site, as you would a document.

The page is interactive. Filters, tabs, charts, forms and a dark switch work as they did in the chat. Above the page are Replace, Download as a ZIP archive, Open in a new tab and Full screen, and a Show source button lets anyone read what the page is made of.
A dashboard that forgets the chosen filter every time you open it is a poor wiki page. Claude artifacts keep small bits of state with a storage interface, and Folio provides the same one, plus the browser's own local storage. Reload the page and it opens on the same region and the same tab. The state is kept per reader: for a signed-in person in the Folio database, for a guest of a share link or a public site in their own browser, so one visitor's clicks never change what another sees. A page can also keep a shared part, which guests only read.
Publish from the agent
Connect Claude or Cursor to your Folio over MCP (the integrations page has the steps), then say it the way you would to a colleague, and name the space and the folder.
publish this to Folio, in ReportsThe agent calls the publish tool of the Folio MCP server and gets back the new page and its link. Calling it again for the same page replaces the content and keeps the link, the place in the tree, the title and the properties, so "update the dashboard" does not leave a second copy behind. It needs an editor role in the space and a token that can write. The details of the tool are in the MCP guide.
A few things the agent can send besides the page itself: extra files such as data or images, the original source, a direct link to a file, or an SVG, Markdown or Mermaid text that Folio wraps into a page. The agent can also read an artifact back, to see what is on the page before it changes it.
Claude artifacts
A Claude artifact is usually a React component. Folio shows finished pages, so a React artifact is published as one self-contained HTML page that loads React from a CDN, with the original source (the JSX) kept next to the page for Show source. Claude Code with the Folio MCP connected does this from the one-line request above. For a claude.ai share link, ask the agent to publish through MCP or paste the page's HTML into the import dialog.
Cursor canvases
A Cursor canvas is a single file, a React component, that the editor compiles and shows next to the chat. It is built from Cursor's own components (stacks, cards, tables, number tiles, charts, form controls), and it keeps its small state, such as a chosen filter, in a data file next to it. Cursor can share a canvas by link, but those links are for people on your Cursor team and a wiki cannot fetch them, so the agent that built the canvas is the one that hands it over.
We tested this with a real run. The canvas was a release readiness page: team filter buttons, four number cards, a stacked bar chart of open bugs, a line chart of test pass rate, a table of blockers, a go-live checklist and a button that asks the agent a question. The Folio MCP server was added to the project, and the whole request to Cursor's command-line agent was one casual line: publish this canvas to Folio, in Reports.
In the run that worked the agent needed about four minutes. It listed the spaces and their page trees, read the canvas, and made one call to the publish tool: a new page in a Reports folder, with the type set to canvas, the origin set to Cursor, the page itself and the original canvas file attached. Nobody told it to set the type or attach the file; the description of the tool in Folio's MCP server says to. It was the second attempt: the first started without the Folio tools in its list and went exploring the machine instead of publishing. The prompt did not name a space and the agent picked one, so name the space and the folder.

Cursor's components exist only inside Cursor, so the agent rebuilt the page: React loaded from a CDN, the layout in plain HTML and CSS, the charts redrawn as SVG. It is the same page in structure, numbers and behaviour, and not the same pixels. We opened it in Chrome and the numbers matched the canvas: 37 open bugs, 3 critical, 4 blockers, 97% of tests passing. The Mobile button changed the cards and left two rows in the table, the checklist boxes ticked, and the browser console was quiet. Above the page Folio shows the label From Cursor and the usual artifact buttons. We chose Mobile, ticked two boxes and reloaded: the page opened on Mobile with the same two boxes ticked. That state is the reader's, kept by Folio; the state in the canvas's own data file on your disk is never read, so a published page starts from the defaults written in its code.

In Git the page is a folder whose manifest says the type is canvas and the origin is Cursor, with the canvas file next to the HTML; Show source lets anyone in the wiki read it. Two things we found by comparing the copy with the original. The agent retyped the file instead of copying it, and one character came out wrong, a stray brace, so the stored copy would not compile in Cursor as it is: Folio keeps what it is sent and does not check it, so compare the two if the original matters. And a button that calls back into Cursor has nobody to call in the wiki: the agent made it show the question it would have asked, and nothing in a published page can start an agent.
Or bring one in by hand
No agent at hand? Press + in the sidebar and choose Artifact.... You can give it a link to an HTML, ZIP, SVG or Markdown file, pick a file from your computer, or paste the HTML. A ZIP can hold several files, and Folio checks the size of what it unpacks. A link is fetched by the server with protection against requests to internal addresses. For share links of claude.ai and Cursor, ask the agent to publish through MCP or paste the page's HTML.
In Git it is a folder
Like everything in Folio, an artifact is stored in the space's Git repository. It is a folder named after the page and ending in .artifact, with the page itself, a small manifest (the type, where it came from, the properties), the original source if there is one, and the extra files. A developer who pulls the repository sees an ordinary folder, and the history of the page is the history of the folder.
How it is kept safe
A page made by an agent is code that someone else wrote, so Folio treats it as untrusted. It runs in a sandboxed frame with no access to your session, your cookies or the Folio API, and nothing around it on the page. It can load scripts, styles and fonts only from a short list of CDNs: cdnjs, jsDelivr, unpkg, esm.sh, Tailwind, jQuery and Google Fonts. Requests to other hosts are blocked, so the data has to be in the page or in the files that ship with it. The page's files are served under a signed link tied to the page and the reader that expires after twelve hours.
Tips for publishing
- Name the space and the folder in your prompt, and check that your client shows the Folio server as ready.
- To update a published page, ask the agent again. Artifacts are replaced rather than edited, and Git keeps the history.
- Mind the sizes. A bundle holds up to 500 files and 50 MB, a download from a link up to 20 MB, and one MCP request up to 25 MB.
Try it
To run Folio yourself, start with the install guide, connect Claude or Cursor as the integrations page describes, and ask for your page to be published. For the wider picture of agents and people on one wiki, read people and AI agents. The short version of all this is in the Artifacts section of the README on GitHub. The code is under the MIT license.
Frequently asked questions
How do I share a Claude artifact with my team?
Connect Claude to a Folio wiki over MCP and ask it to publish the artifact to a space. The agent sends one self-contained HTML page and, if there is one, the original source. The page then sits in the page tree with search, access rights and Git history, and its filters and tabs still work.
Can I publish a Cursor canvas to a wiki?
Yes, through the agent. Cursor's components exist only inside Cursor, so the agent rebuilds the canvas as an HTML page, and the original canvas file is kept next to it. The rebuild matches the structure, numbers and behaviour but not the exact look; check it against the canvas.
Can I import an artifact without an agent?
Yes. Press + in the sidebar, choose Artifact and give a link to an HTML, ZIP, SVG or Markdown file, pick a file or paste the HTML. For claude.ai or Cursor share links, ask the agent to publish through MCP or paste the HTML.
Is it safe to run an AI-built page in a wiki?
The page runs in a sandboxed frame with no access to your Folio session or API, and it can load scripts only from a short list of CDNs. Calls out of the page, such as to Claude or your own services, do not work.
See it in a running Folio
Open the live demo and click through a real Folio instance, or install it and move one space over. Folio is open source and stores everything in Git.
Related
More from the blog
- MCP security for a wiki: OAuth, tokens and page permissions
- LLM wiki: Karpathy's pattern, step by step, and a version for a team
- Obsidian Bases outside Obsidian: open and edit .base files in a browser
- Obsidian MCP and Obsidian AI: ways to give an AI agent your vault
- Notion vs Obsidian for a team: what each one gives you, and when neither fits
- Mermaid vs PlantUML: which to use for docs in Git
- Confluence MCP, Notion MCP and a wiki that is its own MCP server
- Export Confluence to Markdown and keep it in Git
- Docs-as-code without the IDE: edit your repository's docs in a browser