Cosense MCP サーバー
Cosense用の MCP サーバー。
ツール
Cosense ページを操作するために、次のツールが利用できます。
get_page
: 指定されたタイトルのページを取得しますlist_pages
: リソース内の利用可能なページを一覧表示しますsearch_pages
: 指定されたクエリ文字列を含むページを検索しますinsert_lines
: ページ内の指定された行の後にテキストを挿入します
MCP クライアント構成
次の環境変数が必要です。
COSENSE_PROJECT_NAME
: プロジェクト名COSENSE_SID
: 認証用のセッションID- ページへの書き込みとプライベートページの読み取りに必要
- 機密情報が含まれているため、慎重に取り扱ってください
- 詳細については、 scrapboxlab/connect.sid を参照してください。
npmレジストリから実行
JSRレジストリ構成
このパッケージは、JSRでホストされている@cosense/stdと@cosense/typesに依存しています。npxを使用する前に、JSRレジストリをグローバルに設定する必要があります。
Linux/macOSの場合:
Windows (PowerShell) の場合:
または、グローバル設定を変更したくない場合は、代わりにソースから実行します(以下のセクションを参照)。
クライアントのJSON構成
JSR レジストリを構成したら、MCP クライアントを構成します。
ソースから実行
クローンとビルド
クライアントのJSON構成
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
謝辞
このプロジェクトはfunwarioisii/cosense-mcp-serverからフォークされました。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
cosense-mcp-server は、ミドルウェア コマンド パイプライン サーバーとして機能することで Claude Desktop との統合を容易にし、cosense 内のプロジェクトとの対話を可能にします。
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -325TypeScript
- -securityFlicense-qualityAn MCP server that allows Claude to access pages from Cosense projects, supporting both public and private projects with optional SID authentication.Last updated -1JavaScript
- -securityAlicense-qualityA Claude Desktop MCP server that provides knowledge base search and chat functionality for Volcengine knowledge bases, allowing users to search and chat with their external knowledge repositories.Last updated -PythonMIT License
- AsecurityFlicenseAqualityA server built on mcp-framework that enables integration with Claude Desktop through the Model Context Protocol.Last updated -11