ED

epochal-dev/open-notebook-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

51 stars 14 forks 品質 71 トレンド 0MIT

epochal-dev/open-notebook-mcp は [https://github.com/epochal-dev/open-notebook-mcp.] からインポートされた MCP サーバーの候補です

概要

epochal-dev/open-notebook-mcp は [https://github.com/epochal-dev/open-notebook-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

MCP (Model Context Protocol) サーバは、Open Notebook API と連携するためのツールを提供します。 このサーバーでは、ClaudeのようなAIアシスタントがノートブック、ソース、メモ、検索コンテンツ、およびOpen Notebookを通じてAIモデルとやり取りできるようにします。

##特徴

-注記管理: ノートブックの作成、読み込み、更新、削除

  • ソース管理: コンテンツソースの追加と管理(リンク、アップロード、テキスト)
  • 注記管理: ノートブック内のメモの作成と整理 -検索&AI: ベクター/テキスト検索と質問によるコンテンツを検索
  • モデル管理: AIモデルの構成と管理 -チャットセッション: チャット会話の作成と管理
  • 設定: アプリケーション設定へのアクセスと更新
  • 積極的なディスクロージャー:[[T0]で効率的なツールの発見]

インストール

uv の使用 (推奨)

##pip の使用

設定

サーバは、Open Notebook インスタンスに接続する設定が必要です。

環境変数

.envファイルを作成するか、これらの環境変数を設定する:

設定例

デフォルトでローカル開発の場合 Open Notebook の設定:

Open Notebook で認証を設定している場合:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Open Notebook MCP Server

An MCP (Model Context Protocol) server that provides tools to interact with the Open Notebook API. This server enables AI assistants like Claude to manage notebooks, sources, notes, search content, and interact with AI models through Open Notebook.

Features

  • Notebooks Management: Create, read, update, and delete notebooks
  • Sources Management: Add and manage content sources (links, uploads, text)
  • Notes Management: Create and organize notes within notebooks
  • Search & AI: Search content using vector/text search and ask questions
  • Models Management: Configure and manage AI models
  • Chat Sessions: Create and manage chat conversations
  • Settings: Access and update application settings
  • Progressive Disclosure: Efficient tool discovery with search_capabilities

Installation

# Clone the repository
git clone https://github.com/PiotrAleksander/open-notebook-mcp.git
cd open-notebook-mcp

# Install with uv
uv sync

Using pip

pip install -e .

Configuration

The server requires configuration to connect to your Open Notebook instance:

Environment Variables

Create a .env file or set these environment variables:

# Required: URL of your Open Notebook instance
OPEN_NOTEBOOK_URL=http://localhost:5055

# Optional: Authentication password (if APP_PASSWORD is set in Open Notebook)
OPEN_NOTEBOOK_PASSWORD=your_password_here

# Optional: Transport configuration (default: stdio)
MCP_TRANSPORT=stdio  # or streamable-http for remote deployment

Example Configuration

For local development with default Open Notebook settings:

# .env
OPEN_NOTEBOOK_URL=http://localhost:5055

If you’ve configured authentication in Open Notebook:

# .env
OPEN_NOTEBOOK_URL=http://localhost:5055
OPEN_NOTEBOOK_PASSWORD=my_secure_password

Usage

Running the Server

Development Mode (STDIO)

For local use with AI assistants:

uv run open-notebook-mcp

Or using the MCP CLI:

mcp dev src/open_notebook_mcp/server.py

Production Mode (Streamable HTTP)

For remote deployment:

MCP_TRANSPORT=streamable-http HOST=0.0.0.0 PORT=8000 uv run open-notebook-mcp

Using with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "open-notebook": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/open-notebook-mcp",
        "open-notebook-mcp"
      ],
      "env": {
        "OPEN_NOTEBOOK_URL": "http://localhost:5055",
        "OPEN_NOTEBOOK_PASSWORD": "your_password_if_needed"
      }
    }
  }
}

Discovering Available Tools

GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector uv --directory ./src/open_notebook_mcp "run" "server.py"
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "open-notebook": { "command": "uv", "args": [ "run", "--directory", "/path/to/open-notebook-mcp", "open-notebook-mcp" ], "env": { "OPEN_NOTEBOOK_URL": "http://localhost:5055", "OPEN_NOTEBOOK_PASSWORD": "your_password_if_needed" } } } }