ED

epochal-dev/open-notebook-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

48 stars 13 forks 품질 71 트렌드 13MIT

epochal-dev/open-notebook-mcp는 MCP 서버 후보가 https://github.com/epochal-dev/open-notebook-mcp.]에서 수입되었습니다

개요

epochal-dev/open-notebook-mcp는 MCP 서버 후보가 https://github.com/epochal-dev/open-notebook-mcp.]에서 수입되었습니다

개요(AI 번역)

MCP (Model Context Protocol) 서버는 Open Notebook API와 상호 작용하는 도구를 제공합니다. 이 서버는 Claude와 같은 AI 조수가 노트북, 소스, 노트, 검색 콘텐츠 및 Open Notebook을 통해 AI 모델과 상호 작용할 수 있습니다.

특징

  • 노트북 관리: 생성, 읽기, 업데이트 및 삭제 노트북
  • 소스 관리: 콘텐츠 소스 추가 및 관리 (링크, 업로드, 텍스트)
  • 주의 관리: 노트북 내의 노트 생성 및 구성
  • 검색 및 AI: 벡터 / 텍스트 검색을 사용하여 콘텐츠 검색 및 질문
  • 모델 관리: AI 모델 구성 및 관리
  • ** 채팅 세션**: 채팅 대화 생성 및 관리
  • ** 설정**: 액세스 및 업데이트 응용 프로그램 설정 -Progressive Disclosure: 효율적인 도구 발견 search_capabilities

설치

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" } } } }