jupyter-mcp-server: Instructions file for GitHub Copilot

.github/copilot-instructions.md

jupyter-mcp-server copilot-instructions.md is an instructions file for GitHub Copilot from datalayer/jupyter-mcp-server. It costs 2,265 tokens per session, scanned A, original, BSD-3-Clause.

Project instructions for developing and installing a Python server that connects coding agents to Jupyter notebooks. Jupyter is an interactive environment for running code in notebooks.

In plain words
What is it for?
Use it when configuring the development environment, installing dependencies, building the server, or choosing the Docker-based setup.
Why use it?
It provides the project’s expected setup, build, testing, and linting guidance, including known network-related installation problems.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is datalayer/jupyter-mcp-server's own configuration. It tells GitHub Copilot how to work on jupyter-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything jupyter-mcp-server configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash ./.github/workflows/lint.sh.

About the project

Jupyter MCP Server is a Model Context Protocol server that lets AI agents connect to and manage Jupyter notebooks in real time. It supports notebooks running locally or on hosted platforms, and its catalogue add-ons provide commands and skills for working with those notebooks.

datalayer/jupyter-mcp-server · 1,272 stars · on GitHub · jupyter-mcp-server.datalayer.tech

Reuse

Borrowing it

Nothing to install: this file belongs to datalayer/jupyter-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/datalayer/jupyter-mcp-server/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/datalayer/jupyter-mcp-server

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jupyter-mcp-server copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/datalayer/jupyter-mcp-server/copilot-instructions.svg)](https://agentmods.dev/instructions/datalayer/jupyter-mcp-server/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/datalayer/jupyter-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/datalayer/jupyter-mcp-server/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,265 This file is loaded in full into every session.
When invoked 2,265 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02265 $0.02265
Opus 5 $0.01132 $0.01132
Sonnet 5 $0.00453 $0.00453
Haiku 4.5 $0.00227 $0.00227

Measured 6d ago against content hash 01c712d1c7f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

jupyter-mcp-server copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/copilot-instructions.md · 290 lines

How it starts

The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Jupyter MCP Server

Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here.

Jupyter MCP Server is a Python-based Model Context Protocol (MCP) server implementation that enables real-time interaction with Jupyter Notebooks. The project uses a modern Python build system with hatch, and includes comprehensive testing, linting, and documentation.

Working Effectively

Environment Setup

  • Python Requirements: Python 3.10 or higher (tested with 3.9-3.13)
  • Network Considerations: PyPI installs may fail due to SSL certificate issues or timeout limitations. This is a known environment constraint.

Build and Install (CRITICAL: Network Limitations)

# Standard installation (may fail with network issues)
pip install ".[test,lint,typing]"

# Alternative if pip install fails:
# 1. Install dependencies individually with longer timeouts
pip install --timeout=300 pytest
pip install --timeout=300 ruff
pip install --timeout=300 mypy

# 2. Or use Docker approach (preferred for consistency)
docker build -t jupyter-mcp-server .

NETWORK TIMEOUT WARNING: pip install commands may fail with SSL certificate errors or read timeouts when connecting to PyPI. If installs fail:

  • Try increasing timeout: pip install --timeout=300
  • Use Docker build which handles dependencies internally
  • Document the network limitation in any testing notes

Core Development Commands

# Development installation (when network allows)
make dev
# Equivalent to: pip install ".[test,lint,typing]"

# Basic installation
make install
# Equivalent to: pip install .

# Build the package
make build
# Equivalent to: pip install build && python -m build .

Testing (CRITICAL: Use Long Timeouts)

# Run tests using hatch (when available)
make test
# Equivalent to: hatch test

# Run tests directly with pytest (when network allows install)
pytest .

# NEVER CANCEL: Test suite timing expectations
# - Full test suite: Allow 15-20 minutes minimum
# - Network-dependent tests may take longer
# - Set timeout to 30+ minutes for safety

Read the full file on GitHub · 290 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 290 lines · 2,265 tokens per session scan A 01c712d1c7f8

Subscribe to this mod's changes

jupyter-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository datalayer/jupyter-mcp-server (1,272 stars, last pushed today), licensed BSD-3-Clause. It adds 2,265 tokens to every session, about $0.0113 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens