Skip to content

Commit 711a80d

Browse files
authored
chore: upgrade dependencies #72
Update fastmcp and remove checkov
1 parent 36dd241 commit 711a80d

File tree

3 files changed

+350
-1929
lines changed

3 files changed

+350
-1929
lines changed

mcp_proxy_for_aws/middleware/tool_filter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from collections.abc import Awaitable, Callable
1717
from fastmcp.server.middleware import Middleware, MiddlewareContext
1818
from fastmcp.tools.tool import Tool
19+
from typing import Sequence
1920

2021

2122
class ToolFilteringMiddleware(Middleware):
@@ -29,7 +30,7 @@ def __init__(self, read_only: bool, logger: logging.Logger | None = None):
2930
async def on_list_tools(
3031
self,
3132
context: MiddlewareContext,
32-
call_next: Callable[[MiddlewareContext], Awaitable[list[Tool]]],
33+
call_next: Callable[[MiddlewareContext], Awaitable[Sequence[Tool]]],
3334
):
3435
"""Filter tools based on read only flag."""
3536
# Get list of FastMCP Components

pyproject.toml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "MCP Proxy for AWS"
88
readme = "README.md"
99
requires-python = ">=3.10"
1010
dependencies = [
11-
"fastmcp>=2.11.2",
11+
"fastmcp>=2.13.0.2",
1212
"boto3>=1.34.0",
1313
"botocore>=1.34.0",
1414
]
@@ -29,13 +29,6 @@ classifiers = [
2929
"Programming Language :: Python :: 3.13",
3030
]
3131

32-
[project.optional-dependencies]
33-
dev = [
34-
"black>=23.3.0",
35-
"isort>=5.12.0",
36-
"mypy>=1.3.0",
37-
]
38-
3932
[project.urls]
4033
documentation = "https://github.com/aws/aws-mcp-proxy/blob/main/README.md"
4134
repository = "https://github.com/aws/mcp-proxy-for-aws.git"
@@ -46,7 +39,9 @@ changelog = "https://github.com/aws/aws-mcp-proxy/blob/main/CHANGELOG.md"
4639

4740
[dependency-groups]
4841
dev = [
49-
"checkov>=3.2.402",
42+
"black>=23.3.0",
43+
"isort>=5.12.0",
44+
"mypy>=1.3.0",
5045
"commitizen>=4.2.2",
5146
"pre-commit>=4.1.0",
5247
"ruff>=0.9.7",

0 commit comments

Comments
 (0)