File tree Expand file tree Collapse file tree 4 files changed +878
-862
lines changed
Expand file tree Collapse file tree 4 files changed +878
-862
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.3.1] - 2025-07-15
9+ ### Fixed
10+ - compatibility with newer versions of fastmcp
11+ - bumped fastmcp dependency version to 2.10.5
12+
813## [ 0.3.0] - 2025-05-20
914
1015### Added
Original file line number Diff line number Diff line change 2020import nbformat
2121from nbformat import NotebookNode
2222
23+ from fastmcp .tools .tool import Tool
24+
2325from . import notebook_ops
2426
2527logger = logging .getLogger (__name__ )
@@ -89,7 +91,7 @@ def _register_tools(self):
8991 for tool_method in tools_to_register :
9092 # Use the method's name and docstring for registration
9193 if hasattr (self .mcp , 'add_tool' ):
92- self .mcp .add_tool (tool_method )
94+ self .mcp .add_tool (Tool . from_function ( tool_method ) )
9395 elif hasattr (self .mcp , 'tool' ) and callable (self .mcp .tool ):
9496 # If add_tool doesn't exist, try applying the .tool() decorator programmatically
9597 # This assumes tool_method already has the correct signature and docstring
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " cursor-notebook-mcp"
7- version = " 0.3.0 "
7+ version = " 0.3.1 "
88authors = [
99 { name =" Jim Beno" , email =" jim@jimbeno.net" },
1010]
@@ -38,7 +38,7 @@ dependencies = [
3838 " ipython" ,
3939 " jupyter_core" ,
4040 " paramiko>=2.8.0" ,
41- " fastmcp>=2.3.4,<2.7.0 " ,
41+ " fastmcp>=2.10.5 " ,
4242 " uvicorn>=0.20.0" ,
4343 " starlette>=0.25.0"
4444]
You can’t perform that action at this time.
0 commit comments