awslabs.git-repo-research-mcp-server 0.0.2__py3-none-any.whl → 1.0.1__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/git_repo_research_mcp_server/server.py +4 -18
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/METADATA +3 -3
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/RECORD +7 -7
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/WHEEL +0 -0
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/entry_points.txt +0 -0
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {awslabs_git_repo_research_mcp_server-0.0.2.dist-info → awslabs_git_repo_research_mcp_server-1.0.1.dist-info}/licenses/NOTICE +0 -0
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
# and limitations under the License.
|
|
11
11
|
"""awslabs git-repo-research MCP Server implementation."""
|
|
12
12
|
|
|
13
|
-
import argparse
|
|
14
13
|
import json
|
|
15
14
|
import mimetypes
|
|
16
15
|
import os
|
|
@@ -76,7 +75,7 @@ Perform semantic search within an indexed repository.
|
|
|
76
75
|
### delete_research_repository
|
|
77
76
|
Delete an indexed repository.
|
|
78
77
|
|
|
79
|
-
###
|
|
78
|
+
### search_repositories_on_github
|
|
80
79
|
Search for GitHub repositories based on keywords, scoped to specific organizations.
|
|
81
80
|
|
|
82
81
|
### access_file
|
|
@@ -148,7 +147,7 @@ delete_research_repository(repository_name_or_path="repo_name")
|
|
|
148
147
|
|
|
149
148
|
### Searching for GitHub Repositories
|
|
150
149
|
```
|
|
151
|
-
|
|
150
|
+
search_repositories_on_github(
|
|
152
151
|
keywords=["serverless", "lambda"],
|
|
153
152
|
num_results=10
|
|
154
153
|
)
|
|
@@ -664,7 +663,7 @@ async def mcp_search_repository(
|
|
|
664
663
|
raise
|
|
665
664
|
|
|
666
665
|
|
|
667
|
-
@mcp.tool(name='
|
|
666
|
+
@mcp.tool(name='search_repositories_on_github')
|
|
668
667
|
async def mcp_search_github_repos(
|
|
669
668
|
ctx: Context,
|
|
670
669
|
keywords: List[str] = Field(description='List of keywords to search for GitHub repositories'),
|
|
@@ -894,20 +893,7 @@ async def mcp_delete_repository(
|
|
|
894
893
|
|
|
895
894
|
def main():
|
|
896
895
|
"""Run the MCP server with CLI argument support."""
|
|
897
|
-
|
|
898
|
-
description='An AWS Labs Model Context Protocol (MCP) server for researching git repositories'
|
|
899
|
-
)
|
|
900
|
-
parser.add_argument('--sse', action='store_true', help='Use SSE transport')
|
|
901
|
-
parser.add_argument('--port', type=int, default=8888, help='Port to run the server on')
|
|
902
|
-
|
|
903
|
-
args = parser.parse_args()
|
|
904
|
-
|
|
905
|
-
# Run server with appropriate transport
|
|
906
|
-
if args.sse:
|
|
907
|
-
mcp.settings.port = args.port
|
|
908
|
-
mcp.run(transport='sse')
|
|
909
|
-
else:
|
|
910
|
-
mcp.run()
|
|
896
|
+
mcp.run()
|
|
911
897
|
|
|
912
898
|
|
|
913
899
|
if __name__ == '__main__':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.git-repo-research-mcp-server
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.0.1
|
|
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/
|
|
@@ -124,12 +124,12 @@ search_research_repository(
|
|
|
124
124
|
) -> Dict
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
###
|
|
127
|
+
### search_repositories_on_github
|
|
128
128
|
|
|
129
129
|
Searches for GitHub repositories based on keywords, scoped to AWS organizations.
|
|
130
130
|
|
|
131
131
|
```python
|
|
132
|
-
|
|
132
|
+
search_repositories_on_github(
|
|
133
133
|
keywords: List[str],
|
|
134
134
|
num_results: int = 5
|
|
135
135
|
) -> Dict
|
|
@@ -7,11 +7,11 @@ awslabs/git_repo_research_mcp_server/indexer.py,sha256=AMSY3FLnLjRtNXdTELqI43yhc
|
|
|
7
7
|
awslabs/git_repo_research_mcp_server/models.py,sha256=fb55x92k5xqseFHLGo2bJta5YioRuNPxicSn1Vm_yhE,12544
|
|
8
8
|
awslabs/git_repo_research_mcp_server/repository.py,sha256=6Tw2k2V3XxLE7Hqjc_o6LBiaYEbjLiBtn4HpTJ_tuAE,10605
|
|
9
9
|
awslabs/git_repo_research_mcp_server/search.py,sha256=b2NBJGk3YLU9zVEhXlrpHdfGTUQdRNhSGIvU0TR9muI,13747
|
|
10
|
-
awslabs/git_repo_research_mcp_server/server.py,sha256=
|
|
10
|
+
awslabs/git_repo_research_mcp_server/server.py,sha256=ZU7QIivXuBna2Ln6A51GR9srEyCys26np_g4YSb9DiA,34127
|
|
11
11
|
awslabs/git_repo_research_mcp_server/utils.py,sha256=SRFPvxRNPR3K41F1fQDRHdytF-86JczvXINTxjjGguI,15019
|
|
12
|
-
awslabs_git_repo_research_mcp_server-
|
|
13
|
-
awslabs_git_repo_research_mcp_server-
|
|
14
|
-
awslabs_git_repo_research_mcp_server-
|
|
15
|
-
awslabs_git_repo_research_mcp_server-
|
|
16
|
-
awslabs_git_repo_research_mcp_server-
|
|
17
|
-
awslabs_git_repo_research_mcp_server-
|
|
12
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/METADATA,sha256=ceNZYKvAWYH7qF3fjFS30DaoiByl-rIOVyQNr0vIDO4,6106
|
|
13
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
14
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/entry_points.txt,sha256=jX-BkQM7l_OK8D_iq_B4ukRuChbKjA4P4Q0IMikM4Ys,106
|
|
15
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/licenses/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
|
|
16
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/licenses/NOTICE,sha256=fnpchtUnC9htWDzn7WbOrBYePd9UUEYXytHe98AB34w,104
|
|
17
|
+
awslabs_git_repo_research_mcp_server-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|