Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By worldninev0.14.1MIT
Reads, searches and edits Cosense (Scrapbox) wiki pages from Claude Code, including line-level edits. Writes need a personal access token; page deletion and full rewrites stay off until COSENSE_ENABLE_DELETE=true is set.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
MCP server for Cosense (formerly Scrapbox).
| Tool | Description | Auth Required |
|---|---|---|
get_page | Get page content, metadata, and links | For private projects |
list_pages | Browse pages with sorting and pagination (max 1000) | For private projects |
search_pages | Full-text search with keyword highlighting (max 100 results) | For private projects |
create_page | Create a page with a Markdown/Scrapbox body | Yes |
get_page_url | Generate direct URL for a page | No |
insert_lines | Insert text after a specified line in a page | Yes |
edit_lines | Replace exact-match line(s), including a multi-line block (first match, or all with matchAll) | Yes |
delete_lines | Delete exact-match line(s), including a multi-line block (first match, or all with matchAll) | Yes |
delete_page | Delete a page — opt-in, see below | Yes |
rewrite_page | Replace a page's entire content — opt-in, see below | Yes |
get_smart_context | Get a page and its linked pages (1-hop/2-hop) in AI-optimized format | Yes |
create_page, insert_lines, edit_lines, and rewrite_page support a format parameter ("markdown" or "scrapbox") to control content conversion.
edit_lines replaces only the first matching line by default. Set matchAll: true to replace every occurrence. The default is deliberately conservative: a line such as a bullet marker or a blank line can repeat many times in a page, and replacing all of them at once is rarely what the caller intended.
targetLineText may contain newlines to match a contiguous block of lines. The block is replaced as a whole, so n lines can become m lines (for example, collapsing several lines into one). Block matches with matchAll: true are non-overlapping.
delete_lines uses the same exact-match (and block) semantics but removes the matched lines instead of replacing them. It refuses to delete the title line (the first line), because that would rename or remove the page itself — use delete_page for that.
delete_page and rewrite_page are opt-indelete_page and rewrite_page are not registered unless COSENSE_ENABLE_DELETE=true is set. Without it neither tool appears in the tool list at all, so an agent cannot call them even by mistake. This server is often added to a shared MCP configuration, so whole-page destruction is exposed only to those who deliberately turn it on.
The reasoning: insert_lines, edit_lines, and delete_lines all require an exact match, which is only possible if the caller has actually read the page — they can only destroy lines they already know. delete_page and rewrite_page act on the entire page regardless of whether the caller has read it, so they get a separate opt-in gate.
delete_page removes the whole page. There is no undo. Two further guards are built in:
persistent, the same way create_page does.)dryRun: true reports how many lines would be removed and shows the first five of them, without touching the page.COSENSE_PROJECT_ALLOW_LIST limits reachable projectsEvery tool accepts a projectName override, which is how one server serves several projects. A credential (a Personal Access Token or a session ID) often reaches more projects than the default one, so without a limit an agent that names the wrong project can read or write there. COSENSE_PROJECT_ALLOW_LIST is the opt-in fence: when set, only the listed projects and COSENSE_PROJECT_NAME are accepted, and anything else fails before a request is sent. Names are matched exactly, including case, so a spelling variant cannot slip through. Setting the variable to an empty value restricts to the default project alone. Unset keeps the old unrestricted behavior.
rewrite_page replaces a page's entire content (the title is preserved as the first line). It has the same guards, plus two of its own:
persistent check is inverted relative to create_page, so a typo cannot silently create a new page.delete_page's job.dryRun: true reports the before/after line counts and previews without touching the page.rewrite_page replaces the whole page. If another edit lands while a rewrite is in flight, the rewrite re-applies on the 409 retry and the concurrent edit is lost silently.
When you run several instances of this server for different projects, set the variable on each instance that should be allowed to delete:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (worldnine/scrapbox-cosense-mcp) — no native marketplace selected
npx claudepluginhub p/worldnine-scrapbox-cosensePlugins from other owners that cover similar ground