Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
npx mcp-remote https://gitmcp.io/{owner}/{repo}Config
{
"mcpServers": {
"git-mcp Docs": {
"command": "npx",
"args": [
"mcp-remote",
"https://gitmcp.io/{owner}/{repo}"
]
}
}
}Exposed MCP Tools (7)
fetch_<repo-name>_documentationRetrieves the primary documentation from a specified GitHub repository.
Read-only access to documentation.
search_<repo-name>_documentationSearches through a repository's documentation based on a specific query.
Read-only search functionality.
fetch_url_contentRetrieves content from URLs mentioned in the documentation.
Read-only access to external content.
search_<repo-name>_codeSearches through the code in the repository using GitHub's code search.
Read-only search functionality.
fetch_generic_documentationRetrieves documentation from a GitHub repository specified dynamically.
Read-only access to documentation.
search_generic_codeSearches through the code in a dynamically specified GitHub repository.
Read-only search functionality.
search_generic_documentationSearches through documentation in a dynamically specified GitHub repository.
Read-only search functionality.
Safety Assessment
GitMCP is generally safe for accessing public repositories as it only provides read-only access to documentation and code. However, caution should be exercised when using it with private repositories or self-hosting, as vulnerabilities in the repository or the GitMCP instance could lead to information leakage or supply chain attacks.
- Read-only access to documentation and code.
- No user authentication required for public repositories.
- Open-source and transparent operation.
- Does not store user queries or personal information.
- Relies on the security of the target GitHub repository.
- Potential for information leakage if used with private repositories without proper access controls.
- Vulnerable to supply chain attacks if self-hosting.
- AI assistant's interpretation of documentation may still lead to incorrect actions.
