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-qualityAn MCP server that allows Claude to access pages from Cosense projects, supporting both public and private projects with optional SID authentication.Last updated -JavaScript
- -securityFlicense-qualityAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.Last updated -7Python
- -securityAlicense-qualityA server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.Last updated -21,238MIT License
- -securityFlicense-qualityAn MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.Last updated -JavaScript