Skip to content

Commit 603ae19

Browse files
scottschreckengaustWook133kumvprat
authored
fix: upgrades to fastmcp and mcp (#1833)
* fix: uv lock --upgrade-package fastmcp Signed-off-by: Scott Schreckengaust <[email protected]> * fix: uv lock --upgrade-package mcp Signed-off-by: Scott Schreckengaust <[email protected]> * fix: version from __version__ and remove from FastMCP Signed-off-by: Scott Schreckengaust <[email protected]> * fix: removed unused import Signed-off-by: Scott Schreckengaust <[email protected]> * fix: add the FastMCP FunctionTool call to test Signed-off-by: Scott Schreckengaust <[email protected]> * fix: refactor separate business logic Signed-off-by: Scott Schreckengaust <[email protected]> * fix: increase test coverage Signed-off-by: Scott Schreckengaust <[email protected]> * fix: ruff formatting Signed-off-by: Scott Schreckengaust <[email protected]> * fix: tmp directory use Signed-off-by: Scott Schreckengaust <[email protected]> --------- Signed-off-by: Scott Schreckengaust <[email protected]> Co-authored-by: John de Villiers <[email protected]> Co-authored-by: kumvprat <[email protected]>
1 parent d48e0c0 commit 603ae19

File tree

24 files changed

+4423
-1651
lines changed

24 files changed

+4423
-1651
lines changed

src/amazon-bedrock-agentcore-mcp-server/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ readme = "README.md"
99
requires-python = ">=3.10"
1010
dependencies = [
1111
"loguru>=0.7.0",
12-
"mcp[cli]>=1.6.0",
13-
"fastmcp>=0.1.0",
12+
"mcp[cli]>=1.11.0",
13+
"fastmcp>=2.13.0",
1414
"pydantic>=2.10.6",
1515
]
1616
license = {text = "Apache-2.0"}

src/amazon-bedrock-agentcore-mcp-server/uv.lock

Lines changed: 273 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/consts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
# Server information
1717
SERVER_NAME = 'keyspaces-mcp'
18-
SERVER_VERSION = '0.1.0'
1918

2019
# Logging configuration
2120
DEFAULT_LOG_LEVEL = 'INFO'

src/amazon-keyspaces-mcp-server/awslabs/amazon_keyspaces_mcp_server/server.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from .consts import (
2020
MAX_DISPLAY_ROWS,
2121
SERVER_NAME,
22-
SERVER_VERSION,
2322
UNSAFE_OPERATIONS,
2423
)
2524
from .llm_context import (
@@ -41,7 +40,9 @@
4140
logger.remove()
4241
logger.add(sys.stderr, level='INFO')
4342

44-
mcp = FastMCP(name=SERVER_NAME, version=SERVER_VERSION)
43+
mcp = FastMCP(
44+
name=SERVER_NAME,
45+
)
4546

4647
# Global handle to hold the proxy to the specific db client
4748
_proxy = None

src/amazon-keyspaces-mcp-server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ requires-python = ">=3.10,<3.12"
77
dependencies = [
88
"boto3>=1.37.27",
99
"cassandra-driver>=3.25.0",
10-
"fastmcp>=0.1.0",
10+
"fastmcp>=2.13.0",
1111
"loguru>=0.7.0",
1212
"mcp>=1.11.0",
1313
"pydantic>=2.10.6",

src/amazon-keyspaces-mcp-server/uv.lock

Lines changed: 868 additions & 438 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/aws-bedrock-custom-model-import-mcp-server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies = [
88
"boto3>=1.28.0",
99
"pydantic>=2.0.0",
1010
"loguru>=0.7.0",
11-
"fastmcp>=2.10.2",
11+
"fastmcp>=2.13.0",
1212
"thefuzz>=0.19.0",
1313
"python-Levenshtein>=0.21.0",
1414
]

src/aws-bedrock-custom-model-import-mcp-server/uv.lock

Lines changed: 253 additions & 114 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/aws-iot-sitewise-mcp-server/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ requires-python = ">=3.10"
1010
dependencies = [
1111
"boto3>=1.34.0",
1212
"botocore>=1.34.0",
13-
"fastmcp>=0.1.0",
13+
"fastmcp>=2.13.0",
1414
"loguru>=0.7.0",
15-
"mcp[cli]>=1.6.0",
15+
"mcp[cli]>=1.11.0",
1616
"pydantic>=2.10.6",
1717
]
1818
license = {text = "Apache-2.0"}

src/aws-iot-sitewise-mcp-server/uv.lock

Lines changed: 253 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)