awslabs.git-repo-research-mcp-server 1.0.2__py3-none-any.whl → 1.0.4__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.
awslabs/__init__.py CHANGED
@@ -1,12 +1,15 @@
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
  # This file is part of the awslabs namespace.
12
15
  # It is intentionally minimal to support PEP 420 namespace packages.
@@ -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
  """awslabs.git-repo-research-mcp-server"""
12
15
 
13
16
  __version__ = '0.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
  """Default constants for Git Repository Research MCP Server."""
12
15
 
13
16
 
@@ -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
  """Embeddings generation for Git Repository Research MCP Server.
12
15
 
13
16
  This module provides functionality for generating embeddings from text
@@ -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
  """GitHub repository search functionality for Git Repository Research MCP Server.
12
15
 
13
16
  This module provides functionality for searching GitHub repositories using the GitHub GraphQL API.
@@ -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
  """FAISS indexing for Git Repository Research MCP Server using LangChain.
12
15
 
13
16
  This module provides functionality for creating and managing FAISS indices
@@ -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
  """Data models for Git Repository Research MCP Server."""
12
15
 
13
16
  from datetime import datetime
@@ -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
  """Repository handling for Git Repository Research MCP Server.
12
15
 
13
16
  This module provides functionality for cloning, accessing, and processing
@@ -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
  """Search functionality for Git Repository Research MCP Server.
12
15
 
13
16
  This module provides functionality for searching within indexed Git repositories
@@ -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
  """awslabs git-repo-research MCP Server implementation."""
12
15
 
13
16
  import json
@@ -75,7 +78,7 @@ Perform semantic search within an indexed repository.
75
78
  ### delete_research_repository
76
79
  Delete an indexed repository.
77
80
 
78
- ### search_repositories_on_github
81
+ ### search_repos_on_github
79
82
  Search for GitHub repositories based on keywords, scoped to specific organizations.
80
83
 
81
84
  ### access_file
@@ -147,7 +150,7 @@ delete_research_repository(repository_name_or_path="repo_name")
147
150
 
148
151
  ### Searching for GitHub Repositories
149
152
  ```
150
- search_repositories_on_github(
153
+ search_repos_on_github(
151
154
  keywords=["serverless", "lambda"],
152
155
  num_results=10
153
156
  )
@@ -663,7 +666,7 @@ async def mcp_search_repository(
663
666
  raise
664
667
 
665
668
 
666
- @mcp.tool(name='search_repositories_on_github')
669
+ @mcp.tool(name='search_repos_on_github')
667
670
  async def mcp_search_github_repos(
668
671
  ctx: Context,
669
672
  keywords: List[str] = Field(description='List of keywords to search for GitHub repositories'),
@@ -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
  """Utility functions for Git Repository Research MCP Server.
12
15
 
13
16
  This module provides utility functions for the Git Repository Research MCP Server.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: awslabs.git-repo-research-mcp-server
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: An AWS Labs Model Context Protocol (MCP) server for researching git repositories
5
5
  Project-URL: Homepage, https://awslabs.github.io/mcp/
6
6
  Project-URL: Documentation, https://awslabs.github.io/mcp/servers/git-repo-research-mcp-server/
@@ -72,6 +72,8 @@ This MCP server enables developers to research external Git repositories and inf
72
72
 
73
73
  ## Installation
74
74
 
75
+ [![Install MCP Server](https://cursor.com/deeplink/mcp-install-light.svg)](https://cursor.com/install-mcp?name=awslabs.git-repo-research-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZ2l0LXJlcG8tcmVzZWFyY2gtbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiQVdTX1BST0ZJTEUiOiJ5b3VyLXByb2ZpbGUtbmFtZSIsIkFXU19SRUdJT04iOiJ1cy13ZXN0LTIiLCJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIiwiR0lUSFVCX1RPS0VOIjoieW91ci1naXRodWItdG9rZW4ifSwiZGlzYWJsZWQiOmZhbHNlLCJhdXRvQXBwcm92ZSI6W119)
76
+
75
77
  To add this MCP server to your Amazon Q or Claude, add the following to your MCP config file:
76
78
 
77
79
  ```json
@@ -124,12 +126,12 @@ search_research_repository(
124
126
  ) -> Dict
125
127
  ```
126
128
 
127
- ### search_repositories_on_github
129
+ ### search_repos_on_github
128
130
 
129
131
  Searches for GitHub repositories based on keywords, scoped to AWS organizations.
130
132
 
131
133
  ```python
132
- search_repositories_on_github(
134
+ search_repos_on_github(
133
135
  keywords: List[str],
134
136
  num_results: int = 5
135
137
  ) -> Dict
@@ -0,0 +1,17 @@
1
+ awslabs/__init__.py,sha256=G7eEcWsmny92kyAWsWZfTcvujk7GZEKSZgniz3M4mvU,730
2
+ awslabs/git_repo_research_mcp_server/__init__.py,sha256=9vMh0_8PFhXNc3qg5-SI_0T2mxKjKSjCSVlBi9ceCOk,681
3
+ awslabs/git_repo_research_mcp_server/defaults.py,sha256=ysNJoPzAQqF8LK5wYANlMFUZrsicChGyCl4bWewhiA4,7678
4
+ awslabs/git_repo_research_mcp_server/embeddings.py,sha256=XOhJX1g-sZWkCYVwVDdcV9YgrWaN-3dmOtali6ebokU,2509
5
+ awslabs/git_repo_research_mcp_server/github_search.py,sha256=0sZL7o7Q29ub73FVfKF2pHXIcCzxH3UIx8jtIHFStmU,16193
6
+ awslabs/git_repo_research_mcp_server/indexer.py,sha256=Xwr0NP8IMQ5xRYlf78Of9N48tuGWJhG2BWqK1XaY4L0,30374
7
+ awslabs/git_repo_research_mcp_server/models.py,sha256=ecuUuiyKL4A2lTosPo5IqUZoQtJWTCfCbVXy0rhz4l0,12601
8
+ awslabs/git_repo_research_mcp_server/repository.py,sha256=c9aSuc7W8H4c7YK-cQx80TscdPKWSYIZrqjYZ1uXlMk,10662
9
+ awslabs/git_repo_research_mcp_server/search.py,sha256=jvouzpOc_VKMIzmKgXng6ynXJ_Wm71JUIcXMxmIhCo0,13799
10
+ awslabs/git_repo_research_mcp_server/server.py,sha256=4o6KlPPRO86uj4vZb10uNTWQ0uwUKygNMWILXL1yv9M,34163
11
+ awslabs/git_repo_research_mcp_server/utils.py,sha256=bhf-0E6gsyVTFTnaBHrZnVVxTpp9x3V1vR4n1TwKkQw,15076
12
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/METADATA,sha256=dazqi_55JVTB5KrO8K2CrdIyFGHUTud3TMA427MTI44,6550
13
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/entry_points.txt,sha256=jX-BkQM7l_OK8D_iq_B4ukRuChbKjA4P4Q0IMikM4Ys,106
15
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
16
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/licenses/NOTICE,sha256=fnpchtUnC9htWDzn7WbOrBYePd9UUEYXytHe98AB34w,104
17
+ awslabs_git_repo_research_mcp_server-1.0.4.dist-info/RECORD,,
@@ -1,17 +0,0 @@
1
- awslabs/__init__.py,sha256=BIBSY3C1KeFtC_77foZxP2Jju9462uxgEQUPoJTve7w,673
2
- awslabs/git_repo_research_mcp_server/__init__.py,sha256=GNVcSFE3kxGv2FOKoy3H0Yh922lVN6vycp6SfgZl4w4,624
3
- awslabs/git_repo_research_mcp_server/defaults.py,sha256=DRk79HueQN-HW3xFmrSV2q4jdjTtSjmTSjucmhSfAJU,7621
4
- awslabs/git_repo_research_mcp_server/embeddings.py,sha256=qOW3ulokriuDdl_OilcJ4F38zkWdZy80N-GN2AgwHOc,2452
5
- awslabs/git_repo_research_mcp_server/github_search.py,sha256=gLCTq3EV2ghS9FMbngoP5BnDwHcWiKTahOZbCPdglTs,16136
6
- awslabs/git_repo_research_mcp_server/indexer.py,sha256=AMSY3FLnLjRtNXdTELqI43yhcjXU8iBkuZMZcWOd3m4,30317
7
- awslabs/git_repo_research_mcp_server/models.py,sha256=fb55x92k5xqseFHLGo2bJta5YioRuNPxicSn1Vm_yhE,12544
8
- awslabs/git_repo_research_mcp_server/repository.py,sha256=6Tw2k2V3XxLE7Hqjc_o6LBiaYEbjLiBtn4HpTJ_tuAE,10605
9
- awslabs/git_repo_research_mcp_server/search.py,sha256=WT8xcuwmEBExUcGaeexY0byvwvScydCg1RogvZTNB_A,13742
10
- awslabs/git_repo_research_mcp_server/server.py,sha256=ZU7QIivXuBna2Ln6A51GR9srEyCys26np_g4YSb9DiA,34127
11
- awslabs/git_repo_research_mcp_server/utils.py,sha256=SRFPvxRNPR3K41F1fQDRHdytF-86JczvXINTxjjGguI,15019
12
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/METADATA,sha256=pMIhVS8ljXW9_nCD2rNpv7gb8j1LjFUWL4xLeFo8__M,6106
13
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/entry_points.txt,sha256=jX-BkQM7l_OK8D_iq_B4ukRuChbKjA4P4Q0IMikM4Ys,106
15
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
16
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/licenses/NOTICE,sha256=fnpchtUnC9htWDzn7WbOrBYePd9UUEYXytHe98AB34w,104
17
- awslabs_git_repo_research_mcp_server-1.0.2.dist-info/RECORD,,