Connect AI assistants
to your projects with MCP

The Model Context Protocol (MCP) lets an AI assistant use outside tools. Folio Writer works in both directions: Claude, Codex and other assistants can read your projects and leave review notes in them, and Folio's own assistant can call tools on other MCP servers.

What you need: Folio Writer 1.26 or later on the Mac, with Premium (the one-time unlock or the Folio Writer subscription). Everything lives in Settings ▸ Tools & Storage ▸ Advanced… ▸ MCP integrations.

1 · Two directions

2 · What an assistant can do with your project

ToolWhat it does
list_projectsLists the projects the server may read.
get_binderFolders and documents in binder order, with ids, word counts, labels, statuses and synopses.
read_documentOne document's text, as if pending suggestions were accepted, as if they were rejected, or raw with its review markup.
search_projectFinds text across every document.
list_commentsOpen comments and suggested changes, for one document or the whole project.
search_bibliographySearches the project's .bib references by author, title, year or key.
add_commentAttaches a comment to a passage.
suggest_editProposes a change as a tracked suggestion.
Your text is never rewritten. The two writing tools only add a comment or a suggested change, in the same form Folio's own review uses. Each one appears in Comments & Suggestions for you to accept or reject. Before saving, the server checks that rejecting the suggestion would give back your text exactly as it was, and it refuses to write if the document changed in the meantime. Turn on read-only access and the writing tools disappear altogether.

3 · Choose the projects to share

  1. Open Settings ▸ Tools & Storage ▸ Advanced… ▸ MCP integrations and expand Folio MCP server.
  2. Click Add Projects… and select one or more .folio projects, or a folder that contains projects. Add Open Projects adds every project open in Folio.
  3. Remove a project from the list to stop sharing it. An assistant can reach only the projects listed here; nothing else on your Mac.

Folio offers two ways to serve these projects. The command-line server is the one most assistants use. The HTTP server works with assistants that connect to a web address.

4 · The command-line server (most assistants)

Folio includes a small program, folio-mcp. The assistant starts it when it needs it and talks to it directly, so Folio Writer doesn't need to be running.

  1. Expand Command-line server (stdio). It shows the path of the included server; set a custom path only if you built your own.
  2. Turn on Read-only access if the assistant should only read.
  3. Click Copy client config. You get a block like this, with your own paths:
{
  "mcpServers": {
    "folio": {
      "command": "/Applications/Folio Writer.app/Contents/Helpers/folio-mcp",
      "args": ["/Users/you/Documents/Writing"]
    }
  }
}

Claude Desktop

  1. In Claude Desktop, open Settings ▸ Developer ▸ Edit Config. This opens claude_desktop_config.json.
  2. Paste the copied block. If the file already has an "mcpServers" section, add just the "folio" entry inside it.
  3. Save the file and quit and reopen Claude Desktop. Folio Writer's tools appear in the tools menu of a new chat.

Claude Code

Add the server from the terminal. Everything after -- is the command and its arguments, so use the path from your copied config:

claude mcp add folio -- "/Applications/Folio Writer.app/Contents/Helpers/folio-mcp" ~/Documents/Writing

Put --read-only before the project paths for read-only access. claude mcp list shows whether the server connects.

Codex and other clients

Any client that launches local MCP servers takes the same command and arguments. For Codex, add this to ~/.codex/config.toml:

[mcp_servers.folio]
command = "/Applications/Folio Writer.app/Contents/Helpers/folio-mcp"
args = ["/Users/you/Documents/Writing"]

Two optional environment variables: FOLIO_PROJECTS adds project paths (colon-separated), and FOLIO_MCP_AUTHOR sets the name shown on comments and suggestions (default: Claude).

5 · The HTTP server on this Mac

Some assistants connect to a web address instead of launching a program. Folio can serve your projects at a private address on this Mac, for as long as Folio Writer is running. For a project that is open in Folio, this server reads it as it is on screen, including text you haven't saved yet.

  1. Turn on Serve on this Mac. The address is http://127.0.0.1:38473/mcp; only programs on this Mac can reach it.
  2. The HTTP server is read-only unless you turn on Allow comments and tracked suggestions over HTTP.
  3. Click Copy HTTP client configuration and paste it into your client, or use Copy bearer token where the client asks for a token. In Claude Code:
claude mcp add --transport http folio http://127.0.0.1:38473/mcp \
  --header "Authorization: Bearer YOUR-TOKEN"
Keep the token private. Anyone with it can read the shared projects through this address. The server stops when you quit Folio Writer.

What about ChatGPT?

ChatGPT's connectors reach MCP servers over the internet (HTTPS). They can't start a program on your Mac or reach an address on it, so they can't use either Folio server directly. To work with your projects from OpenAI's models, use Codex, as above, or another client that runs local MCP servers.

6 · Try it

Ask in plain language. The assistant chooses the tools:

Back in Folio Writer, open Comments & Suggestions. Each comment and suggestion carries the assistant's name (Claude from the command-line server unless you change it, MCP from the HTTP server). Accept or reject them one at a time, exactly like a co-author's. See Track changes & comments.

7 · Folio as a client: tools from other servers

  1. Expand External MCP servers. Enter a Server name, the server's address and, if it needs one, a Bearer token. The address must use HTTPS, or HTTP for localhost only. Tokens are kept in your Keychain.
  2. Click Add Server, then Connect & list tools to check the connection and see what the server offers. The switch beside a server turns it on or off.
  3. In Assistant Chat, choose the server from the Tools menu (the wrench) before you send your message. The assistant picks one of the server's tools, calls it, and answers using the result.

Folio connects to servers over Streamable HTTP; servers that only run as a local program aren't supported here. Each message makes at most one tool call, and the result is treated as source material, never as instructions. An assistant provider must be set up first (see The writing assistant).

Common questions

Does Folio send my writing anywhere? Folio itself doesn't. What an assistant reads goes to that assistant's provider, under its terms. Share only the projects you're comfortable with, and use read-only access when you only want answers.

“No Folio projects are available.” Add a project in Settings and copy the client config again, or check that the path in your client's configuration still points to the project.

A comment or suggestion was refused. The quoted passage must match the document exactly and appear once, within a single paragraph. If the document changed while the assistant was working, ask it to read the document again.

Can it read an encrypted Folio Cloud project? Not from an encrypted download. Share the project's working copy instead: open it in Folio Writer and use Add Open Projects. If a project lives in iCloud Drive, make sure it is downloaded to the Mac.

Settings says there is no bundled server. Click Choose… and select a folio-mcp program, or use Use Bundled to go back to the included one.

Download Folio Writer free →  ·  More guides