UP

usamak98/python-notebook-mcp

Developer tools

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

45 stars 13 forks 품질 76 트렌드 16MIT

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

개요

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

개요(AI 번역)

파이썬 노트북 MCP MCP 서버는 모델 Context 프로토콜을 통해 Jupyter 노트북과 상호 작용할 수 있는 AI 조수를 가능하게 합니다.

이 서버는 호환되는 AI 조수 (Cor 또는 Claude Desktop와 같은) 로컬 기계의 Jupyter Notebook 파일 (.ipynb)과 상호 작용합니다.

Pre Pre

시작하기 전에 다음을 설치해야합니다.

1.Python: 버전 3.10 이상. 2. uv: Astral의 빠른 Python 패키지 설치 및 가상 환경 관리자. 당신이 그것을 가지고 있지 않은 경우, 그것을 설치:

  1. fastmcp CLI (선택 사항, Claude Desktop fastmcp install): Claude Desktop의 fastmcp install 메소드를 사용하려면 fastmcp] 명령이 필요합니다.

댁

  1. ** 저장소 : **

  2. ** 설정 방법: **

  • ** 옵션 A : 자동화 된 설정 (추천) ** 프로젝트의 루트 디렉토리에서 OS에 적합한 스크립트를 실행하십시오 (cd-ed into).
  • ** macOS / 리눅스:**

*Windows(PowerShell):

이 스크립트는 .venv를 생성하고, 종속성을 설치하고, MCP 클라이언트 구성에 필요한 정확한 경로를 출력합니다.

  • ** 옵션 B : 수동 설정**

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

README

원문 README의 일부입니다. 원문 보기.

This server allows compatible AI assistants (like Cursor or Claude Desktop) to interact with Jupyter Notebook files (.ipynb) on your local machine.

📋 Prerequisites

Before you begin, ensure you have the following installed:

  1. Python: Version 3.10 or higher.
  2. uv: The fast Python package installer and virtual environment manager from Astral. If you don’t have it, install it:
    # On macOS / Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    # On Windows (PowerShell)
    powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
    
    # IMPORTANT: Add uv to your PATH if prompted by the installer
    # For macOS/Linux (bash/zsh), add to your ~/.zshrc or ~/.bashrc:
    # export PATH="$HOME/.local/bin:$PATH"
    # Then restart your shell or run `source ~/.zshrc` (or equivalent)
    
  3. fastmcp CLI (Optional, for Claude Desktop fastmcp install): If you plan to use the fastmcp install method for Claude Desktop, you need the fastmcp command available.
    # Using uv
    uv pip install fastmcp
    
    # Or using pipx (recommended for CLI tools)
    pipx install fastmcp
    

🔧 Setup

  1. Clone the Repository:

    git clone https://github.com/UsamaK98/python-notebook-mcp.git # Or your fork/local path
    cd python-notebook-mcp
    
  2. Choose Setup Method:

    • Option A: Automated Setup (Recommended) Run the appropriate script for your OS from the project’s root directory (where you just cd-ed into).
      • macOS / Linux:
        # Make script executable (if needed)
        chmod +x ./install_unix.sh
        # Run the script
        bash ./install_unix.sh
        
      • Windows (PowerShell):
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "jupyter": { // Use the absolute path to the Python executable inside your .venv "command": "/full/absolute/path/to/python-notebook-mcp/.venv/bin/python", // macOS/Linux // "command": "C:\\full\\absolute\\path\\to\\python-notebook-mcp\\.venv\\Scripts\\python.exe", // Windows "args": [ // Absolute path to the server script "/full/absolute/path/to/python-notebook-mcp/server.py" ], "autoApprove": ["initialize_workspace"] // Optional: Auto-approve certain safe tools } } }