VS Code
✅ Information valid as of June 2025
You can find the complete VS Code MCP documentation here.
Install VS Code
Download VS Code from the official site. Make sure you're using VS Code 1.99 or later.
Install GitHub Copilot Extension
To use MCP tools and agent mode in VS Code, you need an active GitHub Copilot subscription.
Then, install the GitHub Copilot Chat extension from the VS Code Marketplace.
Enable Model Context Protocol (MCP) in Copilot
As of June 2025, MCP in Copilot is in Preview so you need to enable the chat.mcp.enabled setting. Click the link to open the setting in VS Code and enable it by checking the box.
Configure Jupyter MCP Server
There are two ways to configure the Jupyter MCP Server in VS Code: user settings or workspace settings.
Once configured, restart VS Code.
a. In settings.json
- user settings
Open your settings.json
:
- Press
Ctrl+Shift+P
(or⌘⇧P
on macOS) to open the Command Palette - Type and select: Preferences: Open Settings (JSON) Or click this command link inside VS Code
Then add the following configuration:
{
"mcp": {
"servers": {
"jupyter": {
// Jupyter MCP Server configuration
}
}
}
}
Replace // Jupyter MCP Server configuration
with the actual configuration details from the Jupyter MCP Server documentation.
b. Using the .vscode/mcp.json
workspace file - workspace settings
Open or create a .vscode/mcp.json
file in your workspace root directory.
Then add the following configuration:
{
"servers": {
"jupyter": {
// Jupyter MCP Server configuration
}
}
}
Replace // Jupyter MCP Server configuration
with the actual configuration details from the Jupyter MCP Server documentation.
This enables workspace-specific configuration and sharing.
Use MCP Tools in Agent Mode
- Launch Copilot Chat (
Ctrl+Alt+I
/⌃⌘I
) - Switch to Agent mode from the dropdown
- Click the Tools ⚙️ icon to manage Jupyter MCP Server tools
- Use
#toolName
to invoke tools manually, or let Copilot invoke them automatically - Confirm tool actions when prompted (once or always)