From edf50439de7678a58e04d9b759bbe8c38e7faadb Mon Sep 17 00:00:00 2001 From: christophCasati Date: Thu, 15 Jan 2026 19:08:22 -0500 Subject: [PATCH 1/2] Add sentence-transformers as dependency Adds sentence-transformers>=5.0.0 for embedding support. Co-Authored-By: Claude Opus 4.5 --- pyproject.toml | 61 +++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1a4d947..32fa4fc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,31 +1,32 @@ -[build-system] -requires = ["setuptools>=61.0", "wheel"] -build-backend = "setuptools.build_meta" - -[project] -name = "mcp-python-interpreter" -version = "1.2.3" -description = "MCP server for Python code execution and environment management" -authors = [ - {name = "YZFly", email = "ethereal_ai@hotmail.com"}, -] -readme = "README.md" -requires-python = ">=3.10" -classifiers = [ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", -] -dependencies = [ - "fastmcp>=2.0.0", -] - -[project.scripts] -mcp-python-interpreter = "mcp_python_interpreter.main:main" - -[project.urls] -"Homepage" = "https://github.com/yzfly/mcp-python-interpreter" -"Bug Tracker" = "https://github.com/yzfly/mcp-python-interpreter/issues" - -[tool.setuptools] +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "mcp-python-interpreter" +version = "1.2.3" +description = "MCP server for Python code execution and environment management" +authors = [ + {name = "YZFly", email = "ethereal_ai@hotmail.com"}, +] +readme = "README.md" +requires-python = ">=3.10" +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] +dependencies = [ + "fastmcp>=2.0.0", + "sentence-transformers>=5.0.0", +] + +[project.scripts] +mcp-python-interpreter = "mcp_python_interpreter.main:main" + +[project.urls] +"Homepage" = "https://github.com/yzfly/mcp-python-interpreter" +"Bug Tracker" = "https://github.com/yzfly/mcp-python-interpreter/issues" + +[tool.setuptools] packages = ["mcp_python_interpreter"] \ No newline at end of file From e3614084479ada0227a8953dd0761d8c20b8efea Mon Sep 17 00:00:00 2001 From: Christoph Casati Date: Thu, 15 Jan 2026 19:10:01 -0500 Subject: [PATCH 2/2] documentation --- .claude/settings.local.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..516f3d5 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,19 @@ +{ + "permissions": { + "allow": [ + "Bash(tree:*)", + "Bash(wc:*)", + "Bash(pip install:*)", + "Bash(uv add:*)", + "Bash(python3:*)", + "Bash(.venv/bin/pip install:*)", + "Bash(.venv/bin/python:*)", + "Bash(npx --version:*)", + "Bash(npx @modelcontextprotocol/inspector:*)", + "Bash(.venv/bin/pip:*)", + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(git push:*)" + ] + } +}