MCPVault

fetch_content

MCP tool from Sourcegraph MCP by akbad

Retrieve file contents or explore directory structures from repositories.

How to use it

fetch_content is exposed by the Sourcegraph MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the fetch_content tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Sourcegraph MCP

$pip install git+https://github.com/akbad/sourcegraph-mcp.git
FULL SOURCEGRAPH MCP LISTING