Labsco
worldnine logo

Scrapbox/CoSense

โ˜… 46

from worldnine

A server for the Scrapbox/CoSense platform to retrieve, list, search, and create pages.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

scrapbox-cosense-mcp

ๆ—ฅๆœฌ่ชžใƒ‰ใ‚ญใƒฅใƒกใƒณใƒˆ / Japanese

Overview

MCP server for Cosense (formerly Scrapbox).

ToolDescriptionAuth Required
get_pageGet page content, metadata, and linksFor private projects
list_pagesBrowse pages with sorting and pagination (max 1000)For private projects
search_pagesFull-text search with keyword highlighting (max 100 results)For private projects
create_pageCreate a page via WebSocket API with Markdown/Scrapbox bodyYes
get_page_urlGenerate direct URL for a pageNo
insert_linesInsert text after a specified line in a pageYes
get_smart_contextGet a page and its linked pages (1-hop/2-hop) in AI-optimized formatYes

create_page and insert_lines support a format parameter ("markdown" or "scrapbox") to control content conversion.

Multiple Projects

All tools accept an optional projectName parameter to target a different project from a single server. For multiple private projects with different credentials, run separate server instances with COSENSE_TOOL_SUFFIX.

See docs/multiple-projects.md for detailed configuration examples.

Development

CommandDescription
npm run buildBuild (TypeScript โ†’ JavaScript)
npm run watchAuto-rebuild during development
npm testRun test suite
npm run lintRun ESLint
npm run inspectorDebug with MCP Inspector

Contributing

  1. Create a feature branch from main
  2. Add tests for your changes
  3. Run npm run lint && npm test
  4. Create a pull request โ€” CI runs automatically

License

MIT


MseeP.ai Security Assessment Badge <a href="https://glama.ai/mcp/servers/8huixkwpe2"><img width="380" height="200" src="https://glama.ai/mcp/servers/8huixkwpe2/badge" alt="Scrapbox Cosense Server MCP server" /></a>