Skip to content

Commit

Permalink
move sqlite server to python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dsp-ant committed Nov 22, 2024
1 parent 8e63b5e commit ec3c60c
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 143 deletions.
2 changes: 1 addition & 1 deletion src/git/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name="mcp-server-git"
version = "0.4.0"
version = "0.4.1"
description = "A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
180 changes: 92 additions & 88 deletions src/git/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/sqlite/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.10
4 changes: 2 additions & 2 deletions src/sqlite/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[project]
name = "mcp-server-sqlite"
version = "0.4.0"
version = "0.4.1"
description = "A simple SQLite MCP server"
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.10"
dependencies = ["mcp>=0.9.1"]

[build-system]
Expand Down
3 changes: 1 addition & 2 deletions src/sqlite/src/mcp_server_sqlite/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from pydantic import AnyUrl
from typing import Any

logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger('mcp_sqlite_server')
logger.info("Starting MCP SQLite Server")

Expand Down Expand Up @@ -328,7 +327,7 @@ async def handle_call_tool(

# Notify clients that the memo resource has changed
await server.request_context.session.send_resource_updated(AnyUrl("memo://insights"))

return [types.TextContent(type="text", text="Insight added to memo")]

if not arguments:
Expand Down
Loading

0 comments on commit ec3c60c

Please sign in to comment.