canonical-vault-mcp-server
Provides read-only access to the canonical-vault GitHub repository, offering tools to list directories, fetch file contents, view commit history, get commit details, and search code.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@canonical-vault-mcp-serverlist the files in the root directory of the vault"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
canonical-vault-mcp-server
Read-only MCP server that exposes the canonical-vault GitHub repo to any MCP client — GitHub Copilot, Claude, or anything else that speaks Streamable HTTP MCP.
Five tools, all read-only, all scoped to kushkillerjsixx66/canonical-vault:
Tool | Purpose |
| List files/dirs at a path |
| Fetch a file's decoded text content |
| Lineage — commit history for a path |
| Full detail + diff stats for one commit |
| Code search across the repo |
No write tools exist in this server on purpose — nothing here can commit, push, or modify the vault.
1. Deploy to Vercel
npm install -g vercel # if you don't have it
cd canonical-vault-mcp-server
vercel login
vercelAccept the defaults (Vercel auto-detects api/mcp.ts as a Node serverless function). After vercel --prod, you'll get a URL like:
https://canonical-vault-mcp-server.vercel.appYour MCP endpoint is:
https://canonical-vault-mcp-server.vercel.app/api/mcpEnvironment variables (set in Vercel dashboard → Settings → Environment Variables)
Variable | Required | Default | Notes |
| Strongly recommended | none | A GitHub PAT with |
| No |
| Change only if the repo moves |
| No |
| Change only if the repo is renamed |
| No |
| Default branch tools read from when no |
After adding env vars, redeploy (vercel --prod) so the function picks them up.
Related MCP server: github-mcp-tool
2. Connect GitHub Copilot to it
Copilot (in VS Code, and Copilot coding agent) reads MCP server config from .vscode/mcp.json in your workspace, or from VS Code's global MCP settings. Add:
{
"servers": {
"canonical-vault": {
"type": "http",
"url": "https://canonical-vault-mcp-server.vercel.app/api/mcp"
}
}
}Then in VS Code: Command Palette → "MCP: List Servers" → canonical-vault → Start. Copilot Chat will pick up the five vault_* tools automatically and can invoke them in agent mode.
For Copilot's remote coding agent (not VS Code-local), the same URL can be registered under your organization's MCP server settings on github.com, wherever Copilot's agent MCP config lives for your plan — that part is on GitHub's side, not this server's.
3. Local testing (before you deploy)
npm install
npm run build
npx @modelcontextprotocol/inspector node dist/index.jsThis opens the MCP Inspector UI where you can call each tool by hand against the live repo before wiring Copilot to it.
To test the HTTP path locally instead of stdio:
npm install -g vercel
vercel dev
# endpoint: http://localhost:3000/api/mcpNotes on design choices
Stateless per-request transport:
api/mcp.tscreates a freshMcpServer+StreamableHTTPServerTransporton every POST. This is the correct pattern for serverless — Vercel functions don't persist memory between invocations, so there's no session to keep, and it avoids request-ID collisions if two callers hit the endpoint at once.Lineage = commit history, not a bespoke concept —
vault_get_file_historyis literallyGET /commits?path=..., which is the closest honest mapping of "lineage" onto what GitHub's API actually offers. If your vault's lineage chain concept (governance/vault pipeline) needs something more specific — e.g. reading a lineage manifest file that lives in the repo — that's better served by pointingvault_get_fileat that manifest directly rather than us reimplementing git history.Read-only by design, per your answer — this server cannot write to canonical-vault. If you later want Copilot to commit back (e.g. via a PR), that's a separate set of write tools with real destructive-action review, not something to bolt on quietly.
Search caveat: GitHub's code search API only indexes the default branch and has its own propagation delay — a file committed seconds ago may not show up in
vault_search_filesyet.vault_get_fileandvault_list_directoryalways reflect the live tree.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables GitHub API integration via MCP, allowing search, repository details, file contents, and issue management.452ISC
- FlicenseNot gradedqualityDmaintenanceEnables managing GitHub repositories, files, and user information through MCP, with support for creating, updating, and deleting repository contents, as well as fetching user profiles.1
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for the GitHub REST API that enables agents to query repositories, issues, files, and users without any write access.
- FlicenseNot gradedqualityBmaintenanceEnables read-only access to GitLab projects, files, directories, and merge requests through MCP tools.
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Scan any public GitHub MCP-server repo for security issues. 37 MCP-specific L1 rules, 8 languages.
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kushkillerjsixx66/canonical-vault-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server