awslabs.git-repo-research-mcp-server
v1.0.15An AWS Labs Model Context Protocol (MCP) server for researching git repositories
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_research_repository
[DEPRECATED] Build a FAISS index for a Git repository. This tool indexes a Git repository (local or remote) using FAISS and Amazon Bedrock embeddings. The index can then be used for semantic search within the repository. Args: ctx: MCP context object used for progress tracking and error reporting repository_path: Path to local repository or URL to remote repository output_path: Where to store the index (optional, uses default if not provided) embedding_model: Which AWS embedding model to use include_patterns: Glob patterns for files to incl…
| Parameter | Type | Description |
|---|---|---|
repository_path * | string | Path to local repository or URL to remote repository |
chunk_overlap | integer | Overlap between chunks in characters |
chunk_size | integer | Maximum size of each chunk in characters |
embedding_model | string | Which AWS embedding model to use |
exclude_patterns | Glob patterns for files to exclude (optional). Defaults to common binary files, build artifacts, and VCS directories. | |
include_patterns | Glob patterns for files to include (optional). Defaults to common source code and documentation files. | |
output_path | Where to store the index (optional, uses default if not provided) |
search_research_repository
[DEPRECATED] Perform semantic search within an indexed repository. This tool searches an indexed repository using semantic search with Amazon Bedrock embeddings. It returns results ranked by relevance to the query. Args: ctx: MCP context object used for error reporting index_path: Name of the repository or path to the index to search query: The search query to use for semantic search limit: Maximum number of results to return threshold: Minimum similarity score threshold (0.0 to 1.0) Returns: Search results ranked by relevance…
| Parameter | Type | Description |
|---|---|---|
index_path * | string | Name of the repository or path to the index to search |
query * | string | The search query to use for semantic search |
limit | integer | Maximum number of results to return |
threshold | number | Minimum similarity score threshold (0.0 to 1.0) |
search_repos_on_github
[DEPRECATED] Search for GitHub repositories based on keywords, scoped to specific organizations. This tool searches for GitHub repositories using the GitHub REST/GraphQL APIs, scoped to specific GitHub organizations (aws-samples, aws-solutions-library-samples, and awslabs). Results are filtered to only include repositories with specific licenses (Apache License 2.0, MIT, and MIT No Attribution) and are sorted by stars (descending) and then by updated date. For higher rate limits, you can set the GITHUB_TOKEN environment variable with a GitHub personal access token. W…
| Parameter | Type | Description |
|---|---|---|
keywords * | array | List of keywords to search for GitHub repositories |
num_results | integer | Number of results to return |
access_file
[DEPRECATED] Access file or directory contents. This tool provides access to file or directory contents: - If the filepath references a text file, returns the content as a string - If the filepath references a directory, returns an array of files in the directory - If the filepath references a binary image (jpg, png), returns the image data For repository files, use the format: repository_name/repository/path/to/file Example: awslabs_mcp/repository/README.md For repositories with organization names, both formats are supported: - awslabs_mcp/repository/README.…
| Parameter | Type | Description |
|---|---|---|
filepath * | string | Path to the file or directory to access |
delete_research_repository
[DEPRECATED] Delete an indexed repository. This tool deletes an indexed repository and its associated files. It can be identified by repository name or the full path to the index. Args: ctx: MCP context object used for error reporting repository_name_or_path: Name of the repository or path to the index to delete index_directory: Directory to look for indices (optional, uses default if not provided) Returns: Status of the delete operation
| Parameter | Type | Description |
|---|---|---|
repository_name_or_path * | string | Name of the repository or path to the index to delete |
index_directory | Directory to look for indices (optional, uses default if not provided) |