Neuron1c/mcp-notebooks
If you are the rightful owner of mcp-notebooks and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
mcp-notebooks is a server designed for executing notebook code in a controlled environment, allowing for progressive code execution and error handling.
The mcp-notebooks server is a Model Context Protocol (MCP) server that facilitates the execution of notebook code, particularly useful for large language models (LLMs) that require iterative code execution and error correction. This server retains variables in the kernel, enabling future executions to utilize previously defined variables, thus supporting an exploratory data analysis (EDA) approach. It is recommended to run this server in a Docker environment to ensure system security. The server is not yet available on DockerHub, requiring manual setup and configuration. The server's dependencies are minimal, but additional Python libraries can be added using `poetry` for enhanced functionality.
Features
- Progressive Code Execution: Allows LLMs to execute code iteratively and handle errors efficiently.
- Variable Retention: Retains variables in the kernel for use in future executions.
- Docker Environment: Recommended to run in Docker for system protection.
- Manual Configuration: Requires manual setup and configuration as it is not available on DockerHub.
- Minimal Dependencies: Comes with minimal dependencies, but additional libraries can be added.
Usages
docker with Claude Desktop
{ "mcpServers": { "notebooks": { "command": "docker", "args": [ "run", "-i", "--rm", "mcp-notebooks:latest" ] } } }
sse with Claude Desktop
{ "mcpServers": { "notebooks": { "command": "npx", "args": [ "supergateway", "--sse", "http://localhost:3001/sse" ] } } }