awslabs.git-repo-research-mcp-server 1.0.3__tar.gz → 1.0.4__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.
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/PKG-INFO +5 -3
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/README.md +4 -2
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/server.py +3 -3
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/pyproject.toml +1 -1
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_rest_github_search.py +6 -12
- awslabs_git_repo_research_mcp_server-1.0.3/.pre-commit-config.yaml +0 -14
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/.gitignore +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/.python-version +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/CHANGELOG.md +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/LICENSE +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/NOTICE +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/__init__.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/__init__.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/defaults.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/embeddings.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/github_search.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/indexer.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/models.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/repository.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/search.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/awslabs/git_repo_research_mcp_server/utils.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/run_tests.sh +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/__init__.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/conftest.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_errors_repository.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_github_search_edge_cases.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_graphql_github_search.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_local_repository.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_repository_utils.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_search.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_server.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/tests/test_url_repository.py +0 -0
- {awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/uv.lock +0 -0
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: awslabs.git-repo-research-mcp-server
|
|
3
|
-
Version: 1.0.
|
|
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
|
+
[](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
|
-
###
|
|
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
|
-
|
|
134
|
+
search_repos_on_github(
|
|
133
135
|
keywords: List[str],
|
|
134
136
|
num_results: int = 5
|
|
135
137
|
) -> Dict
|
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/README.md
RENAMED
|
@@ -35,6 +35,8 @@ This MCP server enables developers to research external Git repositories and inf
|
|
|
35
35
|
|
|
36
36
|
## Installation
|
|
37
37
|
|
|
38
|
+
[](https://cursor.com/install-mcp?name=awslabs.git-repo-research-mcp-server&config=eyJjb21tYW5kIjoidXZ4IGF3c2xhYnMuZ2l0LXJlcG8tcmVzZWFyY2gtbWNwLXNlcnZlckBsYXRlc3QiLCJlbnYiOnsiQVdTX1BST0ZJTEUiOiJ5b3VyLXByb2ZpbGUtbmFtZSIsIkFXU19SRUdJT04iOiJ1cy13ZXN0LTIiLCJGQVNUTUNQX0xPR19MRVZFTCI6IkVSUk9SIiwiR0lUSFVCX1RPS0VOIjoieW91ci1naXRodWItdG9rZW4ifSwiZGlzYWJsZWQiOmZhbHNlLCJhdXRvQXBwcm92ZSI6W119)
|
|
39
|
+
|
|
38
40
|
To add this MCP server to your Amazon Q or Claude, add the following to your MCP config file:
|
|
39
41
|
|
|
40
42
|
```json
|
|
@@ -87,12 +89,12 @@ search_research_repository(
|
|
|
87
89
|
) -> Dict
|
|
88
90
|
```
|
|
89
91
|
|
|
90
|
-
###
|
|
92
|
+
### search_repos_on_github
|
|
91
93
|
|
|
92
94
|
Searches for GitHub repositories based on keywords, scoped to AWS organizations.
|
|
93
95
|
|
|
94
96
|
```python
|
|
95
|
-
|
|
97
|
+
search_repos_on_github(
|
|
96
98
|
keywords: List[str],
|
|
97
99
|
num_results: int = 5
|
|
98
100
|
) -> Dict
|
|
@@ -78,7 +78,7 @@ Perform semantic search within an indexed repository.
|
|
|
78
78
|
### delete_research_repository
|
|
79
79
|
Delete an indexed repository.
|
|
80
80
|
|
|
81
|
-
###
|
|
81
|
+
### search_repos_on_github
|
|
82
82
|
Search for GitHub repositories based on keywords, scoped to specific organizations.
|
|
83
83
|
|
|
84
84
|
### access_file
|
|
@@ -150,7 +150,7 @@ delete_research_repository(repository_name_or_path="repo_name")
|
|
|
150
150
|
|
|
151
151
|
### Searching for GitHub Repositories
|
|
152
152
|
```
|
|
153
|
-
|
|
153
|
+
search_repos_on_github(
|
|
154
154
|
keywords=["serverless", "lambda"],
|
|
155
155
|
num_results=10
|
|
156
156
|
)
|
|
@@ -666,7 +666,7 @@ async def mcp_search_repository(
|
|
|
666
666
|
raise
|
|
667
667
|
|
|
668
668
|
|
|
669
|
-
@mcp.tool(name='
|
|
669
|
+
@mcp.tool(name='search_repos_on_github')
|
|
670
670
|
async def mcp_search_github_repos(
|
|
671
671
|
ctx: Context,
|
|
672
672
|
keywords: List[str] = Field(description='List of keywords to search for GitHub repositories'),
|
|
@@ -18,7 +18,7 @@ import pytest
|
|
|
18
18
|
|
|
19
19
|
# Import the server functions
|
|
20
20
|
from awslabs.git_repo_research_mcp_server.server import (
|
|
21
|
-
mcp_search_github_repos as
|
|
21
|
+
mcp_search_github_repos as search_repos_on_github,
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -42,7 +42,7 @@ async def test_github_repository_search_live():
|
|
|
42
42
|
|
|
43
43
|
# Test searching for "aws lambda serverless"
|
|
44
44
|
# This should return repositories from AWS organizations related to Lambda and serverless
|
|
45
|
-
search_result = await
|
|
45
|
+
search_result = await search_repos_on_github(
|
|
46
46
|
ctx, keywords=['aws', 'lambda', 'serverless'], num_results=5
|
|
47
47
|
)
|
|
48
48
|
|
|
@@ -89,7 +89,7 @@ async def test_github_repository_search_no_results_live():
|
|
|
89
89
|
ctx = MockContext()
|
|
90
90
|
|
|
91
91
|
# Test with a very specific query that is unlikely to have repositories
|
|
92
|
-
search_result = await
|
|
92
|
+
search_result = await search_repos_on_github(
|
|
93
93
|
ctx, keywords=['unlikely123456789', 'nonexistentrepo987654321'], num_results=5
|
|
94
94
|
)
|
|
95
95
|
|
|
@@ -118,14 +118,10 @@ async def test_github_repository_search_with_limit_live():
|
|
|
118
118
|
ctx = MockContext()
|
|
119
119
|
|
|
120
120
|
# Small number of results
|
|
121
|
-
small_result = await
|
|
122
|
-
ctx, keywords=['aws', 'dynamodb'], num_results=2
|
|
123
|
-
)
|
|
121
|
+
small_result = await search_repos_on_github(ctx, keywords=['aws', 'dynamodb'], num_results=2)
|
|
124
122
|
|
|
125
123
|
# Larger number of results
|
|
126
|
-
large_result = await
|
|
127
|
-
ctx, keywords=['aws', 'dynamodb'], num_results=5
|
|
128
|
-
)
|
|
124
|
+
large_result = await search_repos_on_github(ctx, keywords=['aws', 'dynamodb'], num_results=5)
|
|
129
125
|
|
|
130
126
|
# Verify the responses are valid
|
|
131
127
|
assert small_result is not None
|
|
@@ -154,9 +150,7 @@ async def test_github_repository_order_by_stars_live():
|
|
|
154
150
|
ctx = MockContext()
|
|
155
151
|
|
|
156
152
|
# Search for popular AWS repositories
|
|
157
|
-
search_result = await
|
|
158
|
-
ctx, keywords=['aws', 'cdk'], num_results=10
|
|
159
|
-
)
|
|
153
|
+
search_result = await search_repos_on_github(ctx, keywords=['aws', 'cdk'], num_results=10)
|
|
160
154
|
|
|
161
155
|
# Verify the results structure
|
|
162
156
|
assert search_result is not None
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
3
|
-
rev: v0.9.6
|
|
4
|
-
hooks:
|
|
5
|
-
- id: ruff
|
|
6
|
-
args: [--fix]
|
|
7
|
-
- id: ruff-format
|
|
8
|
-
|
|
9
|
-
- repo: https://github.com/commitizen-tools/commitizen
|
|
10
|
-
rev: v3.13.0
|
|
11
|
-
hooks:
|
|
12
|
-
- id: commitizen
|
|
13
|
-
- id: commitizen-branch
|
|
14
|
-
stages: [push]
|
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/LICENSE
RENAMED
|
File without changes
|
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/NOTICE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{awslabs_git_repo_research_mcp_server-1.0.3 → awslabs_git_repo_research_mcp_server-1.0.4}/uv.lock
RENAMED
|
File without changes
|