awslabs.finch-mcp-server 0.1.4__py3-none-any.whl → 0.1.6__py3-none-any.whl

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.
@@ -14,4 +14,4 @@
14
14
 
15
15
  """awslabs.finch-mcp-server"""
16
16
 
17
- __version__ = '0.1.4'
17
+ __version__ = '0.1.6'
@@ -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
  Metadata-Version: 2.4
2
2
  Name: awslabs.finch-mcp-server
3
- Version: 0.1.4
3
+ Version: 0.1.6
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/
@@ -57,7 +57,7 @@ This MCP server acts as a bridge between MCP clients and Finch, allowing generat
57
57
 
58
58
  | Cursor | VS Code |
59
59
  |:------:|:-------:|
60
- | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=awslabs.finch-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZmluY2gtbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiQVdTX1BST0ZJTEUiOiJkZWZhdWx0IiwiQVdTX1JFR0lPTiI6InVzLXdlc3QtMiIsIkZBU1RNQ1BfTE9HX0xFVkVMIjoiSU5GTyJ9LCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJkaXNhYmxlZCI6ZmFsc2UsImF1dG9BcHByb3ZlIjpbXX0%3D) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Finch%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.finch-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22AWS_PROFILE%22%3A%22default%22%2C%22AWS_REGION%22%3A%22us-west-2%22%2C%22FASTMCP_LOG_LEVEL%22%3A%22INFO%22%7D%2C%22transportType%22%3A%22stdio%22%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%7D) |
60
+ | [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/en/install-mcp?name=awslabs.finch-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZmluY2gtbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiQVdTX1BST0ZJTEUiOiJkZWZhdWx0IiwiQVdTX1JFR0lPTiI6InVzLXdlc3QtMiIsIkZBU1RNQ1BfTE9HX0xFVkVMIjoiSU5GTyJ9LCJ0cmFuc3BvcnRUeXBlIjoic3RkaW8iLCJkaXNhYmxlZCI6ZmFsc2UsImF1dG9BcHByb3ZlIjpbXX0%3D) | [![Install on VS Code](https://img.shields.io/badge/Install_on-VS_Code-FF9900?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=Finch%20MCP%20Server&config=%7B%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22awslabs.finch-mcp-server%40latest%22%5D%2C%22env%22%3A%7B%22AWS_PROFILE%22%3A%22default%22%2C%22AWS_REGION%22%3A%22us-west-2%22%2C%22FASTMCP_LOG_LEVEL%22%3A%22INFO%22%7D%2C%22transportType%22%3A%22stdio%22%2C%22disabled%22%3Afalse%2C%22autoApprove%22%3A%5B%5D%7D) |
61
61
 
62
62
  Configure the MCP server in your MCP client configuration:
63
63
 
@@ -160,7 +160,9 @@ Example:
160
160
 
161
161
  Check if an ECR repository exists and create it if it doesn't.
162
162
 
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.
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 immutable tags for enhanced security. The tool requires appropriate AWS credentials configured.
164
+
165
+ **Note:** The scan on push option is disabled in the mcp tool in favour of intentionally set by the user.
164
166
 
165
167
  **Note:** When the server is running in readonly mode, this tool will return an error and will not create any AWS resources.
166
168
 
@@ -202,6 +204,11 @@ Example:
202
204
  - **Resource Management**: Regularly clean up unused images and containers to free up disk space.
203
205
  - **Version Control**: Keep track of image versions and tags to ensure reproducibility.
204
206
  - **Error Handling**: Implement proper error handling in your applications when using these tools.
207
+ - **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:
208
+ ```bash
209
+ aws ecr put-registry-scanning-configuration --scan-type ENHANCED --rules "[{\"scanFrequency\":\"SCAN_ON_PUSH\",\"repositoryFilters\":[{\"filter\":\"*\",\"filterType\":\"WILDCARD\"}]}]"
210
+ ```
211
+ For more information, see [ECR PutRegistryScanningConfiguration documentation](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_PutRegistryScanningConfiguration.html).
205
212
 
206
213
 
207
214
  ## Logging
@@ -1,17 +1,17 @@
1
1
  awslabs/__init__.py,sha256=-pACKy0qlm5jBycQx_UdX7y03PRTO7uKL1QzktCS2rE,655
2
- awslabs/finch_mcp_server/__init__.py,sha256=MZDRHybrq5LN_FKbxgcj-SBxHyvvStBo4xFER6ZKKBY,670
2
+ awslabs/finch_mcp_server/__init__.py,sha256=tFBIb_DG2jko4NDvMX_ECzR6CtbEMPQ33mjWNOXzcHI,670
3
3
  awslabs/finch_mcp_server/consts.py,sha256=oBl88dX-cSiZCPdlGaSTNtc5oIlleYEviO0sYnzYZXM,1610
4
4
  awslabs/finch_mcp_server/models.py,sha256=RrQpjBIKM3Mu2RYKr9zZv66ZdSt63lygjRWlGyUmxtY,1294
5
5
  awslabs/finch_mcp_server/server.py,sha256=yU4DTViNLKsP37sj-iyTTrb8V90e21r_o0NDqXFzjpE,20865
6
6
  awslabs/finch_mcp_server/utils/__init__.py,sha256=IZiJBNmbi0xUOH0s7ZBIWFuOWoRqdauvE2ibEwUQuXU,746
7
7
  awslabs/finch_mcp_server/utils/build.py,sha256=2xVkfJpm0_b4tW_8moInNbXkqgBOexsH9bSWudpqZCA,5260
8
8
  awslabs/finch_mcp_server/utils/common.py,sha256=OFPZT5B4cfrWWLB1TM_YiQ8p6FAGPDSbKu8IgDkzoWU,6225
9
- awslabs/finch_mcp_server/utils/ecr.py,sha256=hB4Oy5HUmF85vxLI6EsQ5Gn8WyA11WAyiWaRy8z8hNQ,3867
9
+ awslabs/finch_mcp_server/utils/ecr.py,sha256=a_SRraWy8N5CUMfrSCQFVR5IPBNufkr47IsB2-vPhPk,3806
10
10
  awslabs/finch_mcp_server/utils/push.py,sha256=ZJYtIT5DrA07i7vTn5aPafSkoTBo4Yq05TqtplxyI0A,4680
11
11
  awslabs/finch_mcp_server/utils/vm.py,sha256=GD8zBAxkkYzZgSM-FgM0sJCkw5XVYsCDSdNQcjLMaYo,16188
12
- awslabs_finch_mcp_server-0.1.4.dist-info/METADATA,sha256=8-eYf6ezjVfY8vZqkzj0Sd8mxH54cKwVnjyi_b71FC0,12350
13
- awslabs_finch_mcp_server-0.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- awslabs_finch_mcp_server-0.1.4.dist-info/entry_points.txt,sha256=4fJNznnCPk2jY2ztTYAvEpLeYXcS3wDkgx2gAYdezPY,82
15
- awslabs_finch_mcp_server-0.1.4.dist-info/licenses/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
16
- awslabs_finch_mcp_server-0.1.4.dist-info/licenses/NOTICE,sha256=W4rmEHanXgUYNeoEh6oB-pfuI1RtX4XIvX067GmL-i0,92
17
- awslabs_finch_mcp_server-0.1.4.dist-info/RECORD,,
12
+ awslabs_finch_mcp_server-0.1.6.dist-info/METADATA,sha256=0uen-OdbISn4Z1en58LXnuJbILh6clfNK8xud7D9NP8,13070
13
+ awslabs_finch_mcp_server-0.1.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ awslabs_finch_mcp_server-0.1.6.dist-info/entry_points.txt,sha256=4fJNznnCPk2jY2ztTYAvEpLeYXcS3wDkgx2gAYdezPY,82
15
+ awslabs_finch_mcp_server-0.1.6.dist-info/licenses/LICENSE,sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo,11324
16
+ awslabs_finch_mcp_server-0.1.6.dist-info/licenses/NOTICE,sha256=W4rmEHanXgUYNeoEh6oB-pfuI1RtX4XIvX067GmL-i0,92
17
+ awslabs_finch_mcp_server-0.1.6.dist-info/RECORD,,