MCPサーバー

gread

io.github.NitroRCr/gread
開発者向けツール 公開・接続可能 MCP 2025-11-25

このMCPでできること

Searches public GitHub repositories and retrieves repository structures, source files, documentation, and code matches.

list_tree
List the directory tree of a specific path in a repository with customizable depth and traversal limits.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'name': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$', 'description': 'Full name of the repository (owner/name)'}, 'maxDepth': {'type': 'number', 'default': 3, 'description': 'Maximum depth into the directory structure to list.'}, 'maxPerDir': {'type': 'number', 'default': 40, 'description': 'Maximum number of items to display per directory level.'}, 'targetDir': {'type': 'string', 'default': '', 'description': 'Target directory path to inspect. Leaves empty to search from root.'}}}
read_code
Retrieve the raw source code of specified files from within a known repository.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'paths'], 'properties': {'name': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$', 'description': 'Full name of the repository (owner/name)'}, 'paths': {'type': 'array', 'items': {'type': 'string'}, 'description': 'An array of precise file paths within the repository'}}}
search_code
Perform a fast git grep inside the repository, allowing regex matching by default or substring search.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'query'], 'properties': {'name': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$', 'description': 'Full name of the repository (owner/name)'}, 'path': {'type': 'string', 'description': 'Directory or file path to limit the search scope'}, 'query': {'type': 'string', 'description': 'Search pattern or query to pass to git grep'}, 'ignoreCase': {'type': 'boolean', 'description': 'Ignore case distinctions in both the PATTERN and the input files (-i)'}, 'contextLines': {'type': 'number', 'description': 'Print num lines of output context (-C)'}, 'fixedStrings': {'type': 'boolean', 'description': 'Use fixed strings for patterns (donâ\x80\x99t interpret pattern as a regex) (-F)'}, 'extendedRegexp': {'type': 'boolean', 'description': 'Use extended regular expressions (-E)'}}}
search_repos
Search for GitHub repositories by name, description, or topic keywords using the GitHub Search API.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['q'], 'properties': {'q': {'type': 'string', 'description': 'Keyword to search in repository names, descriptions, or topics'}}}
view_repo
View repository basic information and its directory structure. Includes corresponding documentation repo if available.
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name'], 'properties': {'name': {'type': 'string', 'pattern': '^[a-zA-Z0-9_.-]+\\/[a-zA-Z0-9_.-]+$', 'description': 'Full name of the repository (owner/name)'}}}
追加
search_code
2026年9月17日12:45
追加
read_code
2026年9月17日12:45
追加
list_tree
2026年9月17日12:45
追加
view_repo
2026年9月17日12:45
追加
search_repos
2026年9月17日12:45