awslabs.stepfunctions-tool-mcp-server 0.1.6__tar.gz → 0.1.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/Dockerfile +9 -6
  2. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/PKG-INFO +1 -1
  3. awslabs_stepfunctions_tool_mcp_server-0.1.7/awslabs/__init__.py +16 -0
  4. awslabs_stepfunctions_tool_mcp_server-0.1.7/awslabs/stepfunctions_tool_mcp_server/__init__.py +17 -0
  5. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/awslabs/stepfunctions_tool_mcp_server/aws_helper.py +14 -0
  6. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/awslabs/stepfunctions_tool_mcp_server/server.py +14 -0
  7. awslabs_stepfunctions_tool_mcp_server-0.1.7/docker-healthcheck.sh +26 -0
  8. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/pyproject.toml +1 -1
  9. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/run_tests.sh +15 -0
  10. awslabs_stepfunctions_tool_mcp_server-0.1.7/tests/test_server.py +23 -0
  11. awslabs_stepfunctions_tool_mcp_server-0.1.6/awslabs/__init__.py +0 -2
  12. awslabs_stepfunctions_tool_mcp_server-0.1.6/awslabs/stepfunctions_tool_mcp_server/__init__.py +0 -3
  13. awslabs_stepfunctions_tool_mcp_server-0.1.6/docker-healthcheck.sh +0 -12
  14. awslabs_stepfunctions_tool_mcp_server-0.1.6/tests/test_server.py +0 -23
  15. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/.gitignore +0 -0
  16. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/.pre-commit-config.yaml +0 -0
  17. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/.python-version +0 -0
  18. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/CHANGELOG.md +0 -0
  19. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/LICENSE +0 -0
  20. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/NOTICE +0 -0
  21. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/README.md +0 -0
  22. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/.gitignore +0 -0
  23. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/README.md +0 -0
  24. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/__init__.py +0 -0
  25. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_aws_helper.py +0 -0
  26. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_create_state_machine_tool.py +0 -0
  27. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_filter_state_machines_by_tag.py +0 -0
  28. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_format_state_machine_response.py +0 -0
  29. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_get_schema_arn_from_state_machine_arn.py +0 -0
  30. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_get_schema_from_registry.py +0 -0
  31. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_invoke_express_state_machine_impl.py +0 -0
  32. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_invoke_standard_state_machine_impl.py +0 -0
  33. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_main.py +0 -0
  34. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_register_state_machines.py +0 -0
  35. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_sanitize_tool_name.py +0 -0
  36. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/tests/test_validate_state_machine_name.py +0 -0
  37. {awslabs_stepfunctions_tool_mcp_server-0.1.6 → awslabs_stepfunctions_tool_mcp_server-0.1.7}/uv.lock +0 -0
@@ -1,13 +1,16 @@
1
1
  # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
4
- # with the License. A copy of the License is located at
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
5
6
  #
6
- # http://www.apache.org/licenses/LICENSE-2.0
7
+ # http://www.apache.org/licenses/LICENSE-2.0
7
8
  #
8
- # or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
9
- # OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
10
- # and limitations under the License.
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
11
14
 
12
15
  #FROM public.ecr.aws/sam/build-python3.10:1.137.1-20250411084548
13
16
  FROM public.ecr.aws/sam/build-python3.10@sha256:e78695db10ca8cb129e59e30f7dc9789b0dbd0181dba195d68419c72bac51ac1 AS uv
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.stepfunctions-tool-mcp-server
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: An AWS Labs Model Context Protocol (MCP) server for AWS Step Functions
5
5
  Project-URL: Homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: Documentation, https://awslabs.github.io/mcp/servers/stepfunctions-tool-mcp-server/
@@ -0,0 +1,16 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # This file is part of the awslabs namespace.
16
+ # It is intentionally minimal to support PEP 420 namespace packages.
@@ -0,0 +1,17 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ """awslabs.stepfunctions-tool-mcp-server"""
16
+
17
+ __version__ = '0.0.0'
@@ -1,3 +1,17 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  """AWS Helper for Step Functions Tool MCP Server."""
2
16
 
3
17
  import boto3
@@ -1,3 +1,17 @@
1
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  """awslabs Step Functions Tool MCP Server implementation."""
2
16
 
3
17
  # This version should match the version in pyproject.toml
@@ -0,0 +1,26 @@
1
+ #!/bin/sh
2
+
3
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ if [ "$(lsof +c 0 -p 1 | grep -e grep -e "^awslabs\..*\s1\s.*\unix\s.*socket$" | wc -l)" -ne "0" ]; then
18
+ echo -n "$(lsof +c 0 -p 1 | grep -e grep -e "^awslabs\..*\s1\s.*\unix\s.*socket$" | wc -l) awslabs.* streams found";
19
+ exit 0;
20
+ else
21
+ echo -n "Zero awslabs.* streams found";
22
+ exit 1;
23
+ fi;
24
+
25
+ echo -n "Never should reach here";
26
+ exit 99;
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "awslabs.stepfunctions-tool-mcp-server"
3
- version = "0.1.6" # When updating this version, also update __version__ in awslabs/stepfunctions_tool_mcp_server/server.py
3
+ version = "0.1.7" # When updating this version, also update __version__ in awslabs/stepfunctions_tool_mcp_server/server.py
4
4
  description = "An AWS Labs Model Context Protocol (MCP) server for AWS Step Functions"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,4 +1,19 @@
1
1
  #!/bin/bash
2
+
3
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
2
17
  # Script to run the stepfunctions-tool-mcp-server tests
3
18
 
4
19
  # Set the Python path to include the current directory and the parent directory
@@ -0,0 +1,23 @@
1
+ """Tests for the Step Functions Tool MCP Server."""
2
+
3
+
4
+ # https://github.com/awslabs/mcp/issues/167
5
+ # https://github.com/awslabs/mcp/issues/425
6
+ # def test_version_matches_pyproject():
7
+ # """Test that the version in server.py matches pyproject.toml."""
8
+ # import pathlib
9
+ # import tomli
10
+
11
+ # # Read pyproject.toml
12
+ # pyproject_path = pathlib.Path(__file__).parent.parent / 'pyproject.toml'
13
+ # with open(pyproject_path, 'rb') as f:
14
+ # pyproject = tomli.load(f)
15
+
16
+ # # Get version from pyproject.toml
17
+ # pyproject_version = pyproject['project']['version']
18
+
19
+ # # Verify versions match
20
+ # assert __version__ == pyproject_version, (
21
+ # f'Version mismatch: server.py has version {__version__}, '
22
+ # f'but pyproject.toml has version {pyproject_version}'
23
+ # )
@@ -1,2 +0,0 @@
1
- # This file is part of the awslabs namespace.
2
- # It is intentionally minimal to support PEP 420 namespace packages.
@@ -1,3 +0,0 @@
1
- """awslabs.stepfunctions-tool-mcp-server"""
2
-
3
- __version__ = '0.0.0'
@@ -1,12 +0,0 @@
1
- #!/bin/sh
2
-
3
- if [ "$(lsof +c 0 -p 1 | grep -e grep -e "^awslabs\..*\s1\s.*\unix\s.*socket$" | wc -l)" -ne "0" ]; then
4
- echo -n "$(lsof +c 0 -p 1 | grep -e grep -e "^awslabs\..*\s1\s.*\unix\s.*socket$" | wc -l) awslabs.* streams found";
5
- exit 0;
6
- else
7
- echo -n "Zero awslabs.* streams found";
8
- exit 1;
9
- fi;
10
-
11
- echo -n "Never should reach here";
12
- exit 99;
@@ -1,23 +0,0 @@
1
- """Tests for the Step Functions Tool MCP Server."""
2
-
3
- from awslabs.stepfunctions_tool_mcp_server.server import __version__
4
-
5
-
6
- def test_version_matches_pyproject():
7
- """Test that the version in server.py matches pyproject.toml."""
8
- import pathlib
9
- import tomli
10
-
11
- # Read pyproject.toml
12
- pyproject_path = pathlib.Path(__file__).parent.parent / 'pyproject.toml'
13
- with open(pyproject_path, 'rb') as f:
14
- pyproject = tomli.load(f)
15
-
16
- # Get version from pyproject.toml
17
- pyproject_version = pyproject['project']['version']
18
-
19
- # Verify versions match
20
- assert __version__ == pyproject_version, (
21
- f'Version mismatch: server.py has version {__version__}, '
22
- f'but pyproject.toml has version {pyproject_version}'
23
- )