awslabs.git-repo-research-mcp-server

v1.0.15
awslabs.git-repo-research-mcp-server Checked 1 hour ago Published 8 months ago

An 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…

ParameterTypeDescription
repository_path *stringPath to local repository or URL to remote repository
chunk_overlapintegerOverlap between chunks in characters
chunk_sizeintegerMaximum size of each chunk in characters
embedding_modelstringWhich AWS embedding model to use
exclude_patternsGlob patterns for files to exclude (optional). Defaults to common binary files, build artifacts, and VCS directories.
include_patternsGlob patterns for files to include (optional). Defaults to common source code and documentation files.
output_pathWhere 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…

ParameterTypeDescription
index_path *stringName of the repository or path to the index to search
query *stringThe search query to use for semantic search
limitintegerMaximum number of results to return
thresholdnumberMinimum 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…

ParameterTypeDescription
keywords *arrayList of keywords to search for GitHub repositories
num_resultsintegerNumber 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.…

ParameterTypeDescription
filepath *stringPath 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

ParameterTypeDescription
repository_name_or_path *stringName of the repository or path to the index to delete
index_directoryDirectory to look for indices (optional, uses default if not provided)