awslabs.finch-mcp-server 0.1.5__tar.gz → 0.1.8__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 (29) hide show
  1. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/PKG-INFO +38 -2
  2. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/README.md +37 -1
  3. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/__init__.py +1 -1
  4. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/ecr.py +0 -1
  5. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/pyproject.toml +1 -1
  6. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/.gitignore +0 -0
  7. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/.python-version +0 -0
  8. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/CHANGELOG.md +0 -0
  9. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/LICENSE +0 -0
  10. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/NOTICE +0 -0
  11. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/__init__.py +0 -0
  12. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/consts.py +0 -0
  13. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/models.py +0 -0
  14. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/server.py +0 -0
  15. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/__init__.py +0 -0
  16. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/build.py +0 -0
  17. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/common.py +0 -0
  18. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/push.py +0 -0
  19. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/awslabs/finch_mcp_server/utils/vm.py +0 -0
  20. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/__init__.py +0 -0
  21. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_cli_flags.py +0 -0
  22. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_logging_configuration.py +0 -0
  23. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_server.py +0 -0
  24. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_utils_build.py +0 -0
  25. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_utils_common.py +0 -0
  26. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_utils_ecr.py +0 -0
  27. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_utils_push.py +0 -0
  28. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/tests/test_utils_vm.py +0 -0
  29. {awslabs_finch_mcp_server-0.1.5 → awslabs_finch_mcp_server-0.1.8}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.finch-mcp-server
3
- Version: 0.1.5
3
+ Version: 0.1.8
4
4
  Summary: A Model Context Protocol server for Finch to build and push container images
5
5
  Project-URL: Homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: Documentation, https://awslabs.github.io/mcp/servers/finch-mcp-server/
@@ -83,6 +83,35 @@ By default, the server runs in a mode that prevents the creation of new AWS reso
83
83
  }
84
84
  }
85
85
  ```
86
+ ### Windows Installation
87
+
88
+ For Windows users, the MCP server configuration format is slightly different:
89
+
90
+ ```json
91
+ {
92
+ "mcpServers": {
93
+ "awslabs.finch-mcp-server": {
94
+ "disabled": false,
95
+ "timeout": 60,
96
+ "type": "stdio",
97
+ "command": "uv",
98
+ "args": [
99
+ "tool",
100
+ "run",
101
+ "--from",
102
+ "awslabs.finch-mcp-server@latest",
103
+ "awslabs.finch-mcp-server.exe"
104
+ ],
105
+ "env": {
106
+ "FASTMCP_LOG_LEVEL": "ERROR",
107
+ "AWS_PROFILE": "your-aws-profile",
108
+ "AWS_REGION": "us-east-1"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ ```
114
+
86
115
 
87
116
  In this default mode:
88
117
  - The `finch_build_container_image` tools will work normally
@@ -160,7 +189,9 @@ Example:
160
189
 
161
190
  Check if an ECR repository exists and create it if it doesn't.
162
191
 
163
- This tool checks if the specified ECR repository exists using boto3. If the repository doesn't exist, it creates a new one with the given name with scan on push enabled and immutable tags for enhanced security. The tool requires appropriate AWS credentials configured.
192
+ This tool checks if the specified ECR repository exists using boto3. If the repository doesn't exist, it creates a new one with the given name with immutable tags for enhanced security. The tool requires appropriate AWS credentials configured.
193
+
194
+ **Note:** The scan on push option is disabled in the mcp tool in favour of intentionally set by the user.
164
195
 
165
196
  **Note:** When the server is running in readonly mode, this tool will return an error and will not create any AWS resources.
166
197
 
@@ -202,6 +233,11 @@ Example:
202
233
  - **Resource Management**: Regularly clean up unused images and containers to free up disk space.
203
234
  - **Version Control**: Keep track of image versions and tags to ensure reproducibility.
204
235
  - **Error Handling**: Implement proper error handling in your applications when using these tools.
236
+ - **ECR Registry Scanning Configuration**: The PutImageScanningConfiguration API is being deprecated in favor of specifying image scanning configuration at the registry level. To configure registry-level scanning, use the following AWS CLI command:
237
+ ```bash
238
+ aws ecr put-registry-scanning-configuration --scan-type ENHANCED --rules "[{\"scanFrequency\":\"SCAN_ON_PUSH\",\"repositoryFilters\":[{\"filter\":\"*\",\"filterType\":\"WILDCARD\"}]}]"
239
+ ```
240
+ For more information, see [ECR PutRegistryScanningConfiguration documentation](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutRegistryScanningConfiguration.html).
205
241
 
206
242
 
207
243
  ## Logging
@@ -53,6 +53,35 @@ By default, the server runs in a mode that prevents the creation of new AWS reso
53
53
  }
54
54
  }
55
55
  ```
56
+ ### Windows Installation
57
+
58
+ For Windows users, the MCP server configuration format is slightly different:
59
+
60
+ ```json
61
+ {
62
+ "mcpServers": {
63
+ "awslabs.finch-mcp-server": {
64
+ "disabled": false,
65
+ "timeout": 60,
66
+ "type": "stdio",
67
+ "command": "uv",
68
+ "args": [
69
+ "tool",
70
+ "run",
71
+ "--from",
72
+ "awslabs.finch-mcp-server@latest",
73
+ "awslabs.finch-mcp-server.exe"
74
+ ],
75
+ "env": {
76
+ "FASTMCP_LOG_LEVEL": "ERROR",
77
+ "AWS_PROFILE": "your-aws-profile",
78
+ "AWS_REGION": "us-east-1"
79
+ }
80
+ }
81
+ }
82
+ }
83
+ ```
84
+
56
85
 
57
86
  In this default mode:
58
87
  - The `finch_build_container_image` tools will work normally
@@ -130,7 +159,9 @@ Example:
130
159
 
131
160
  Check if an ECR repository exists and create it if it doesn't.
132
161
 
133
- This tool checks if the specified ECR repository exists using boto3. If the repository doesn't exist, it creates a new one with the given name with scan on push enabled and immutable tags for enhanced security. The tool requires appropriate AWS credentials configured.
162
+ This tool checks if the specified ECR repository exists using boto3. If the repository doesn't exist, it creates a new one with the given name with immutable tags for enhanced security. The tool requires appropriate AWS credentials configured.
163
+
164
+ **Note:** The scan on push option is disabled in the mcp tool in favour of intentionally set by the user.
134
165
 
135
166
  **Note:** When the server is running in readonly mode, this tool will return an error and will not create any AWS resources.
136
167
 
@@ -172,6 +203,11 @@ Example:
172
203
  - **Resource Management**: Regularly clean up unused images and containers to free up disk space.
173
204
  - **Version Control**: Keep track of image versions and tags to ensure reproducibility.
174
205
  - **Error Handling**: Implement proper error handling in your applications when using these tools.
206
+ - **ECR Registry Scanning Configuration**: The PutImageScanningConfiguration API is being deprecated in favor of specifying image scanning configuration at the registry level. To configure registry-level scanning, use the following AWS CLI command:
207
+ ```bash
208
+ aws ecr put-registry-scanning-configuration --scan-type ENHANCED --rules "[{\"scanFrequency\":\"SCAN_ON_PUSH\",\"repositoryFilters\":[{\"filter\":\"*\",\"filterType\":\"WILDCARD\"}]}]"
209
+ ```
210
+ For more information, see [ECR PutRegistryScanningConfiguration documentation](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutRegistryScanningConfiguration.html).
175
211
 
176
212
 
177
213
  ## Logging
@@ -14,4 +14,4 @@
14
14
 
15
15
  """awslabs.finch-mcp-server"""
16
16
 
17
- __version__ = '0.1.5'
17
+ __version__ = '0.1.8'
@@ -76,7 +76,6 @@ def create_ecr_repository(
76
76
 
77
77
  response = ecr_client.create_repository(
78
78
  repositoryName=repository_name,
79
- imageScanningConfiguration={'scanOnPush': True},
80
79
  imageTagMutability='IMMUTABLE',
81
80
  )
82
81
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "awslabs.finch-mcp-server"
3
- version = "0.1.5"
3
+ version = "0.1.8"
4
4
  description = "A Model Context Protocol server for Finch to build and push container images"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"