Syncpen

Một cơ sở tri thức markdown mà AI của bạn đọc, viết và sắp xếp — một bộ nhớ trong các tệp văn bản thuần mà bạn thực sự có thể mở và chỉnh sửa (không phải kho vector mờ đục), với mọi chỉnh sửa của tác nhân đều được ký và bạn có quyền phê duyệt.

Tài liệu

Syncpen

Syncpen MCP Server

Connect Claude Code (or any MCP client) to your Syncpen workspace — the writing workspace your AI can actually write in. Your agent can search, read, draft, suggest, comment, organize, and publish in the same live documents you edit.

Don't have an account yet? Create one free at syncpen.io.

What is Syncpen great at?

  • Build a knowledge base your AI maintains — capture notes, docs, and clips, then let your agent organize, cross-link, and keep it current.
  • Write long-form where you publish — articles, docs, whole books; your agent drafts, you approve, and one call ships it to WordPress, Ghost, or Sanity.
  • Your agents and you on one project — everyone works in the same live documents; every edit is shared, legible, and attributed.
  • Edits with a paper trail — agents propose changes as signed suggestions you accept or reject. Nothing changes silently.
  • Research → draft → ship without leaving your tools — clip sources, let your AI draft from them, publish.

Quick Setup

1. Generate an API Key

  1. Go to Settings → API Keys in your Syncpen account
  2. Enable API Access
  3. Create a new API key
  4. Copy the key (you'll only see it once!)

2. Configure Claude Code

Add to your MCP configuration file (~/.mcp.json or project-level .mcp.json):

{
  "mcpServers": {
    "syncpen": {
      "command": "npx",
      "args": ["-y", "syncpen-mcp"],
      "env": {
        "SYNCPEN_API_KEY": "sp_your_api_key_here"
      }
    }
  }
}

That's it! Claude Code will automatically download and run the MCP server.

Available Tools

ToolDescription
syncpen_searchSearch documents by title and body content (full text)
syncpen_readRead a document's content as markdown
syncpen_list_foldersList all folders
syncpen_list_documentsList documents, optionally by folder
syncpen_createCreate a new document
syncpen_updateUpdate a document's title and/or content
syncpen_suggest_editPropose an edit as a pending suggestion a human accepts/rejects (doc unchanged until accepted)
syncpen_list_suggestionsList a document's pending (or all) suggestions
syncpen_list_commentsRead comment threads (with replies, line numbers, authors)
syncpen_reply_commentReply to a comment thread (signed, notifies @mentions)
syncpen_resolve_commentMark a comment thread resolved
syncpen_move_documentMove a document into a folder, or to the root
syncpen_delete_documentDelete a document (moved to trash)
syncpen_create_folderCreate a folder (optionally nested)
syncpen_rename_folderRename a folder
syncpen_move_folderMove a folder under a new parent, or to the root
syncpen_delete_folderDelete a folder and its contents (moved to trash)
syncpen_publishPublish a document to WordPress, Ghost, or Sanity
syncpen_list_connectionsList connected CMS targets and their connectionIds
syncpen_recent_changesA time-ordered feed of who created/edited/trashed which documents, and when
syncpen_relatedGiven a document, suggest what else to read — blends co-access (docs worked on together) with the /editor links

Usage Examples

Once configured, ask Claude Code:

  • "List my Syncpen folders"
  • "Search for documents that mention authentication"
  • "Read my document titled 'API Design Notes'"
  • "What documents do I have in my 'Projects' folder?"
  • "Publish my 'Launch Post' document to Ghost as a draft"
  • "What's changed in my workspace since yesterday?"

Development

For contributing or running from source:

git clone https://github.com/airbuzz/syncpen-mcp.git
cd syncpen-mcp
npm install
npm run build     # or: npm run dev  (watch mode)

Point your MCP config at the built entry (node /path/to/syncpen-mcp/dist/index.js). It uses the production API by default; set SYNCPEN_API_URL only to target a local instance.

License

MIT