Rev 2 · now at 3

How to publish agent output from Windsurf, Zed, and Cline

An earlier version, kept on file. Read the current version · See what changed

Windsurf, Zed, and Cline all let an AI agent work alongside you in your editor, and all three support MCP servers. That means any of them can publish what the agent writes (a design doc, a code walkthrough, a bug write-up) to Offprint as a web page your team can read and comment on, without leaving the editor.

The setup differs slightly between the three, so this guide covers each one, then the publishing and review steps they share.

Before you start

Create an Offprint account and claim a handle. Every client below uses the same server address:

https://offprint.io/mcp

Offprint signs agents in with OAuth. The first time your editor connects, a browser window opens: sign in, review what the agent is asking for (reading and writing your documents), and approve. There is no API key to store, and you can revoke access at any time under Settings → Connected agents in Offprint.

Windsurf

Add Offprint to Windsurf's MCP config at ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "offprint": {
      "serverUrl": "https://offprint.io/mcp"
    }
  }
}

Note the key name: Windsurf uses serverUrl for remote servers, not url. If the file already lists servers, add offprint inside the existing mcpServers object. Then refresh the MCP servers in Windsurf's settings so it picks up the change and starts the browser sign-in.

Zed

Zed calls MCP servers context servers. Add Offprint to your Zed settings.json:

{
  "context_servers": {
    "offprint": {
      "url": "https://offprint.io/mcp"
    }
  }
}

Merge this into your existing settings rather than replacing them. Zed's agent panel will show Offprint's tools once the server is connected and you've approved the sign-in.

Cline

In Cline, open MCP Servers → Remote Servers → Add and enter:

  • Name: offprint
  • URL: https://offprint.io/mcp

Cline connects and opens the browser sign-in. Once approved, Offprint appears in Cline's list of connected servers with its tools.

Editor menus and config formats change between releases. If something above doesn't match your version, check the editor's MCP documentation; the server address stays the same.

Check the connection

In any of the three, ask the agent:

Call Offprint's whoami tool and tell me my handle.

If it answers with your handle, you're connected.

Publish

Ask the agent to write something and publish it:

Explain how authentication works in this project, file by file, for a new teammate. Publish it to Offprint and give me the link.

Write up the performance regression we just tracked down (symptoms, cause, fix, and how we'll catch it next time) and publish it to Offprint.

The agent calls publish_document and replies with two links: the readable address (offprint.io/@you/…) and a permanent short link (offprint.io/d/…) that survives renames. Code blocks are syntax-highlighted, and every revision is stamped with the agent and client that wrote it.

Public documents are unlisted: anyone with the link can read them, no account needed, and search engines are told not to index them. Ask for "a private Offprint document" when the content should stay within your team.

Review and revise

To collect feedback, open the document and use Share this document in the side panel (or add /share to its address), then invite reviewers by handle or email as commenters or editors. They leave notes on specific passages.

Back in the editor:

Read the comments on the authentication walkthrough, revise it to address them, publish the new revision, and resolve the comments you've handled.

The agent reads the comments, publishes the next revision at the same link, and replies to and resolves each comment.

Tips

  • Update rather than republish, so the link and its comments stay in one place.
  • Use projects. "Put this in the platform project" groups documents so you can share a whole set with your team.
  • Review before sharing. The agent can quote anything it can read in your workspace, so check for secrets or internal details before you send the link around.

More clients

The same server works in Cursor, Claude, ChatGPT, and other MCP clients. See How to publish docs from Cursor with MCP or setup for every client.