MCP Hub
Back to servers

MCP Template

A Model Context Protocol server for interacting with the Scrapbox API, allowing AI agents to list, search, read, create, and modify pages in Scrapbox projects.

Tools
9
Updated
Jan 18, 2026

scrapbox-mcp

MCP server for Scrapbox API.

Run

bunx @r_masseater/scrapbox-mcp@latest

Environment Variables

VariableRequiredDescription
SCRAPBOX_PROJECTProject name
SCRAPBOX_COOKIEValue of connect.sid cookie
SCRAPBOX_PRESETTool preset (see below)
SCRAPBOX_TOOLSComma-separated list of tools to enable
SCRAPBOX_ENABLE_DELETESet true to enable delete_page

Getting the Cookie

  1. Log in to scrapbox.io
  2. DevTools (F12) → ApplicationCookieshttps://scrapbox.io
  3. Copy the value of connect.sid

Tool Presets

Select available tools with SCRAPBOX_PRESET:

PresetTools
minimallist_pages, get_page
readonlylist_pages, get_page, search_pages, get_links, get_backlinks
full (default)All tools (delete_page requires SCRAPBOX_ENABLE_DELETE=true)

Custom selection: SCRAPBOX_TOOLS=list_pages,get_page,search_pages

Available Tools

Read

ToolDescription
list_pagesList all pages in the project
get_pageGet page content (Scrapbox notation)
search_pagesFull-text search
get_linksGet outgoing links from a page
get_backlinksGet backlinks to a page

Write

ToolDescription
create_pageCreate a new page
update_pageUpdate an existing page (full replacement)
insert_linesInsert lines at a specific position (or append to end)
delete_pageDelete a page (requires SCRAPBOX_ENABLE_DELETE=true)

Reviews

No reviews yet

Sign in to write a review