github-vault-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITHUB_TOKEN | No | Fallback token when `gh auth token` is unavailable. | |
| VAULT_DB_PATH | No | Local SQLite FTS5 database path. | ~/.local/share/github-vault-mcp/vault.db |
| VAULT_GITHUB_USER | No | Default GitHub owner handle. | carvalhocaio |
| VAULT_INCLUDE_FORKS | No | Include forked repositories during sync. | false |
| VAULT_AUTO_SYNC_HOURS | No | Hours before MCP startup triggers a background sync (`0` disables auto-sync). | 6.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_my_repositoriesA | Search the user's personal GitHub repositories indexed in the local vault. ALWAYS call this tool during architectural planning (plan-mode) whenever designing a feature, choosing a library, setting up project tooling, or solving a domain problem (for example: LLM evaluation, agents, CI gates, templates, MCP servers, or data pipelines) to check how the user already solved or structured similar problems in their own GitHub repositories, complementing external documentation such as Context7. Args: query: Search terms (e.g. "karasu-eval", "ruff pyright makefile", "fastapi sqlite"). repo_filter: Optional exact repository name to restrict the search. file_extension: Optional file extension filter (e.g. ".py", ".md", "toml"). limit: Maximum number of ranked matches to return (default 8, max 50). |
| get_project_blueprintA | Retrieve the architectural blueprint of an indexed GitHub repository. Call this tool right after finding a relevant repository via
Args: repo_name: Exact repository name (e.g. "karasu-eval", "python-template"). |
| read_repository_fileA | Read a specific line range from a file indexed in the local repository vault. Use this after Args: repo_name: Exact repository name. file_path: Relative file path inside the repository. start_line: 1-based inclusive start line (default 1). end_line: 1-based inclusive end line (default 200). |
| sync_repositoriesA | Synchronize the user's GitHub repositories into the local SQLite FTS5 vault. Uses incremental Args:
force: When True, re-indexes all repositories even if |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| plan_with_personal_vault | Guide an AI coding agent to plan a task using the user's GitHub vault. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool targets a distinct step in a clear pipeline: sync the vault, search it, get a repository-wide blueprint, then read a specific file range. The descriptions explicitly sequence the tools (search -> blueprint -> read_repository_file), so an agent can tell exactly which one to pick. No two tools appear interchangeable.
All four names follow a consistent verb_noun snake_case pattern (search_my_repositories, get_project_blueprint, read_repository_file, sync_repositories). The wording is predictable and self-documenting.
Four tools is a tight, well-scoped surface for a read-only local repository vault: one ingestion tool and three retrieval tools. Each tool earns its place with no filler or near-duplicates.
The lifecycle from indexing to targeted retrieval is fully covered, including incremental sync. The main gap is the absence of a list-repositories or directory-listing tool, meaning the agent must already know exact repo names and file paths, though search_my_repositories partly compensates.