PN

plmbr/notebook-intelligence

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

349 stars 69 forks 质量 88 趋势 39GPL-3.0

plmbr/notebook-intelligence 是从 https://github.com/plmbr/notebook-intelligence. 导入的 MCP 服务器候选服务器。

概览

plmbr/notebook-intelligence 是从 https://github.com/plmbr/notebook-intelligence. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

Notebook Intelligence(NBI)是 JupyterLab 的 AI 编码助手和可扩展的 AI 框架。它增加了聊天、内联编辑、自动补全以及一个可以驱动笔记本的代理——支持 GitHub Copilot、兼容 OpenAI 或 LiteLLM 的终端、本地 Ollama 模型,或 Anthropic 的 Claude Code CLI。

NBI 是免费且开源的。将其连接到你选择的免费或付费 LLM 提供商——GitHub Copilot、任何兼容 OpenAI 或 LiteLLM 的终端、本地的 Ollama 或通过 Claude 代码 CLI 的 Anthropic Claude。如适用,提供商费用将直接支付给提供商。

目录

  • 要求
  • 快速入门
  • 概念
  • 特色亮点
  • 克劳德模式
  • 代理模式
  • ACP 代理模式
  • 聊天簿
  • 带内联聊天的代码生成
  • 自动补全
  • 聊天界面
  • 单元输出动作
  • 笔记本工具栏生成
  • 多语言且内核兼容的笔记本
  • 磁盘更改时重新加载未打开文件
  • 配置
  • 配置文件
  • 记住GitHub Copilot登录
  • 内置工具
  • 模型上下文协议(MCP)支持
  • MCP 配置示例
  • 规则集
  • 克劳德·斯基尔斯
  • Claude MCP 服务器
  • Claude 插件
  • 聊天反馈
  • 配置准备

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Notebook Intelligence

Notebook Intelligence (NBI) is an AI coding assistant and extensible AI framework for JupyterLab. It adds chat, inline edit, auto-complete, and an agent that can drive notebooks — backed by GitHub Copilot, an OpenAI-compatible or LiteLLM-compatible endpoint, local Ollama models, or Anthropic’s Claude Code CLI.

NBI is free and open-source. Connect it to a free or paid LLM provider of your choice — GitHub Copilot, any OpenAI- or LiteLLM-compatible endpoint, Ollama (local), or Anthropic Claude (via the Claude Code CLI). Provider charges, when applicable, are paid directly to the provider.

Contents

Requirements

  • Python 3.10+
  • JupyterLab 4.x
  • Node.js — required for Claude mode (the Claude Code CLI), for the preinstalled codex-acp adapter used by ACP agent mode, and for MCP servers that launch via npx. ACP mode requires a preinstalled adapter in a trusted location; NBI does not download it at startup.
  • A fresh virtualenv or conda env is recommended so NBI doesn’t conflict with system Python.

Quick start

pip install notebook-intelligence
jupyter lab     # restart JupyterLab if it was already running

After restart:

  1. Click the NBI icon in the left sidebar to open the chat panel.
  2. Open NBI Settings (gear icon in the chat panel, or Settings → Notebook Intelligence Settings).
在 GitHub 查看完整 README

安装

npx -y @modelcontextprotocol/server-filesystem /Users/mbektas/mcp-test
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/mbektas/mcp-test" ] } } }