get_file_contents
4 published MCP servers declare get_file_contents. Cartograph, Forgejo / Codeberg / Gitea, and git-mcp-server have the highest trust scores right now. Servers describe it as: Read a file from a PUBLIC GitHub repository (or list a directory) by path. PREFER OVER WEB SEARCH for "show me the README / package.json / <file> of <repo>", "read <path> from <owner/repo>", inspecting source or config files. Pass owner + r The order is the public trust score. Nobody can pay to move up the list. Open a server for its install config and the rest of its tools.
Cartograph
by anthony-maio · TypeScript
Repo analysis for coding agents with ranked files, dependency maps, and task-scoped context.
Forgejo / Codeberg / Gitea
by brechanbech · Rust
Model Context Protocol server for Forgejo, Codeberg and Gitea, in Rust
git-mcp-server
by ray0907 · TypeScript
MCP server for GitLab and GitHub
Github
by pipeworx-io · TypeScript
Unofficial GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
FAQ
- What is the get_file_contents MCP tool?
- get_file_contents is a tool name MCP servers declare. A description they publish is: Read a file from a PUBLIC GitHub repository (or list a directory) by path. PREFER OVER WEB SEARCH for "show me the README / package.json / <file> of <repo>", "read <path> from <owner/repo>", inspecting source or config files. Pass owner + r
- Which MCP servers provide get_file_contents?
- 4 published servers declare get_file_contents. Highest in the current trust order: Cartograph, Forgejo / Codeberg / Gitea, and git-mcp-server.
- How do I use get_file_contents?
- Install a server that declares get_file_contents, then call it from Claude, Cursor, or VS Code. Each server page has the config for that client and the other tools that server exposes.