Skip to main content

Sage Book Server Package

Project description

Jupyter MCP Server

A basic description of your Jupyter MCP Server package.

Installation

pip install .

Or using uv:

uv pip install .

Running the Server

  1. Start Jupyter Lab:
jupyter lab --port 8888 --IdentityProvider.token MY_TOKEN --ip 0.0.0.0
  1. In a separate terminal, start the MCP server:
python -m src.server.simple_server
  1. Add the Anthropic model id and API key to the .env file.

Notes

  • Replace MY_TOKEN with your desired authentication token
  • The server will be accessible at http://localhost:8888
  • Make sure to keep all three processes running (Jupyter Lab and both MCP server/client instances)

MCP Server Setup with uv

  1. Install uv (if not already installed)

    curl -Ls https://astral.sh/uv/install.sh | bash
    
  2. Navigate to the project directory

    cd /path/to/jupyter-mcp-server
    
  3. Create a uv-managed virtual environment (Python 3.10)

    uv venv --python=3.10 .venv
    
  4. Activate the environment

    source .venv/bin/activate
    
  5. Install all required packages

    uv pip install -r requirements.txt
    
  6. Run the MCP server

    uv --directory /path/to/jupyter-mcp-server run python -m src.server.simple_server --stdio
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sage_book_server-0.1.0-py3-none-any.whl (84.6 MB view details)

Uploaded Python 3

File details

Details for the file sage_book_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sage_book_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7d6dcc9e3686489ad44a90b13fbeacaa1ca66ef0985356369d3c099e2648c0
MD5 102f3c9df7ce6009dc0c67d43aac0758
BLAKE2b-256 789774d1f65a12ea403bb93480011fe0417363f1865286297fa5811d126a3895

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page