vscode-jupyter-mcp-server: Instructions file for Codex

AGENTS.md

vscode-jupyter-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from Happypig375/vscode-jupyter-mcp-server. It costs 3,914 tokens per session, scanned C, original, MIT.

Repository instructions for a VS Code Jupyter MCP server, including its notebook tools, kernel handling, routing, and tests.

In plain words
What is it for?
They help maintain notebook opening and creation, notebook selection, kernel configuration, cell execution, and multi-window routing.
Why use it?
They document the server's supported interface and direct developers to the code and tests that define its behavior.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Happypig375/vscode-jupyter-mcp-server's own configuration. It tells Codex and OpenCode how to work on vscode-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 vscode-jupyter-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Happypig375/vscode-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/Happypig375/vscode-jupyter-mcp-server/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Happypig375/vscode-jupyter-mcp-server

Made for: Codex, OpenCode.

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 vscode-jupyter-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/happypig375/vscode-jupyter-mcp-server/agents-md/github.svg)](https://agentmods.dev/instructions/happypig375/vscode-jupyter-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/happypig375/vscode-jupyter-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/happypig375/vscode-jupyter-mcp-server/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vscode-jupyter-mcp-server AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/happypig375/vscode-jupyter-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/happypig375/vscode-jupyter-mcp-server/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,914 This file is loaded in full into every session.
When invoked 3,914 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.03914 $0.03914
Opus 5.5 $0.01566 $0.01566
Sonnet 5.5 $0.00783 $0.00783
Haiku 4.5 $0.00391 $0.00391

Measured 18d ago against content hash f36c2b29a436, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

vscode-jupyter-mcp-server AGENTS.md scanned grade C with 1 finding 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 18d 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

Run `npm run typecheck` and `npm run compile` for structural checks. `npm test` runs the MCP, Jupyter integration, and compiled broker suites; isolate the broker with `npm run compile:test; node .vscode-test/broker.test.
AGENTS.md · 74 lines

How it starts

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

Agent contract

Ownership

  • src/server.ts, src/schema.ts, src/localOperations.ts, src/extension.ts, and src/broker.ts define the MCP boundary and routing.
  • src/notebookOps.ts owns VS Code notebook operations.
  • src/test/mcp.test.js covers the public boundary, src/test/broker.test.ts covers multi-window routing, and src/test/mcp.jupyter.test.js covers Jupyter-backed integration behavior.

Authoritative 0.4.0 contract

Existing-notebook tools use notebookRef for one target and notebookRefs for multiple targets. A ref is a direct URI or a short opaque nb_ handle from list_notebooks; handles resolve only against currently open notebooks. list_notebooks returns grouped connected windows, including empty groups. open_notebooks accepts actual file URIs in uris and an optional windowId. create_notebook accepts title.

Tool schemas are strict. Unknown or obsolete keys fail validation. list_kernels is read-only; provider setup is explicit through configure_kernel; select_kernel accepts only an exact listed id. run_cells has no kernel hint. User supplied runtime selection takes precedence over defaults.

Colab setup in 0.5.0

23 October: the current source advances the exact environment/helper/broker pin to installed stable Windows VS Code 1.143.0, commit 2d0b7506a36c1d6db9a466440131a8e01eab2289. Existing reviewed v9 restoration corrections are preserved. Independent source review, structural checks and deterministic fixture suites pass. Isolated native-picker and corrected cleanup-only fixtures pass; preserve the full environment fixture's failed cleanup receipt and its separate passing behavior assertions. A separately reviewed append-only fixture observed the first folder conversion replace its extension host and a later owned-folder append preserve the host activation/PID, exact Workspace/first root and fresh environment readiness. Both owned windows quit normally; independent process/port checks pass. Keep this claim limited to the isolated settled observation, without real Jupyter/Colab. Default-profile installation/restoration and real Colab readiness remain unverified. See the 23 October record in TRANSFER_DIAGNOSIS.md; do not infer broader compatibility from these checks or the earlier 1.142.0 checks. Do not install, reload or restart the active research host while its Colab run or transfers are unsettled.

Read the full file on GitHub · 74 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. 18d ago Changed · +18 lines · +326 tokens per session f36c2b29a436
  2. 19d ago Changed · +10 lines · +1,414 tokens per session 322e1a461622
  3. 21d ago Changed · +18 lines · +1,289 tokens per session 9593f4930a90
  4. 24d ago Changed · +84 tokens per session 3dfa44fdbdc5
  5. 28d ago Changed · +2 lines · +150 tokens per session 3260a3f7ccaf
  6. 2mo ago First seen · 26 lines · 651 tokens per session scan C 839ff5604109

Subscribe to this mod's changes

vscode-jupyter-mcp-server AGENTS.md is an instructions file published in the GitHub repository Happypig375/vscode-jupyter-mcp-server (1 stars, last pushed 18d ago), licensed MIT. It adds 3,914 tokens to every session, about $0.0157 per session on Opus 5.5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.

Related

vscode-jupyter-mcp-server AGENTS.md compared with instructions from other repositories

vscode-jupyter-mcp-server AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vscode-jupyter-mcp-server AGENTS.mdHappypig375/vscode-jupyter-mcp-serverInstructions file118d agoMITC3,914Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot