Skip to content

Connect your AI tools to Folio

Shared knowledge for humans and agents, backed by Git. People write pages in the browser. Agents read and write the same pages over MCP: 23 tools for search, pages, tables and whiteboards. Any client that speaks remote MCP can connect. These pages cover the ones people ask about most.

OAuth or a token

Folio supports both. The client decides which one you use.

OAuthPersonal access token
Used byClaude, ChatGPT, and clients that can open a sign-in pageClaude Code, Cursor, VS Code, Codex, n8n, Open WebUI
How it worksThe client opens Folio's sign-in and consent screen. You choose read, or read and write.You create a token under API tokens and put it in the client's config as a Bearer header.
Whose rightsThe person who signed inThe person who owns the token
RevokeUser menu, API tokens, Connected appsUser menu, API tokens, delete the token
LifetimeOne-hour access token, 30-day rotating refresh tokenUntil you delete it
Good forPeople who want to use their own account in a chatScripts, servers and agents with their own Folio user

The full OAuth reference is in the MCP docs.

What an agent can do

Twenty-three tools. Thirteen read, ten write. A connection never has more rights than the person behind it, and the write tools refuse to run on a read-only connection.

Ready-made config files, a Claude Code plugin, two n8n workflows and an onboarding setup are in the integrations folder of the Folio repository.

Reading (11)
Reading (11)What it does
list_spacesSpaces you can see, with your role in each
list_treeThe page tree of a space
search_pagesFull-text search across the pages you can open
read_pageA page as Markdown, with its metadata
resolve_folio_urlA Folio link to the page it points at
get_backlinksPages that link to a page
page_historyThe Git commits that touched a page
page_at_shaA page as it was at a given commit
folio_table_listData tables in a space
folio_table_schemaA table's real columns, types and options
folio_table_queryTable rows with filter, sort and search
searchThe same search under the name ChatGPT deep research looks for
fetchA page by the id that search returned, as Markdown
Writing (10)
Writing (10)What it does
create_pageA new document with text, or a table with columns
update_pageReplace the text of a page; merges with live editing
create_boardA whiteboard from a short description of boxes and arrows
update_boardReplace a whiteboard's scene
board_opsAlign, distribute, move or auto-layout board elements
folio_table_createA table with an explicit schema
folio_table_add_columnA new column
folio_table_insertNew rows
folio_table_updateCells, by row id or by filter
folio_table_deleteRows, by id

Try it on the demo first

Point an OAuth client at https://demo.foliowiki.online/mcp, sign in as Sam on Folio's login screen and ask about the fictional Acme handbook. The demo login is shared and its data resets every 24 hours, so a connection to it is erased with the reset. Do not connect an agent that has a shell or your own keys, and do not enter personal data. The demo does not issue personal tokens, so token clients need your own Folio.

Demo MCP address
https://demo.foliowiki.online/mcp

Any other client

Folio works with any MCP client that supports remote servers over HTTP. If the client can send a custom header, use a token. If it can open a sign-in page, use OAuth. Most clients accept a config like this one.

mcp.json
{
  "mcpServers": {
    "folio": {
      "url": "https://your-folio.example.com/mcp",
      "headers": { "Authorization": "Bearer folio_pat_..." }
    }
  }
}

Questions

Can I connect ChatGPT to Folio?
Yes, as a custom MCP server with OAuth, if your Folio is reachable over HTTPS from the public internet. Folio exposes search and fetch, so ChatGPT deep research can use it too. See the ChatGPT page.
Can I connect Claude to Folio?
Yes. In claude.ai or Claude Desktop, add Folio as a custom connector by its /mcp address and sign in with OAuth. Claude Code connects with a token or OAuth. See the Claude and Claude Code pages.
Does my Folio have to be on the public internet?
For claude.ai, Claude Desktop and ChatGPT, yes: their servers make the request, not your computer. For Claude Code, Cursor, VS Code, Codex and a self-hosted n8n or Open WebUI, the client runs on your side, so a Folio on your network is enough.
Can an agent see pages I cannot?
No. A connection acts with the rights of the person behind it, narrowed by the scope. A restricted page stays invisible to it.
How do I cut an agent off?
Delete its token under API tokens, or remove the app under Connected apps. It stops working immediately. Everything it wrote is in Git history and can be reverted.
Is there a hosted Folio I can point Claude at?
Only the public demo at https://demo.foliowiki.online. It is shared, resets every 24 hours and is meant for trying, not for work. For real use, run your own.