Caplets Catalog
official
spiritledsoftware/caplets

Sourcegraph

Search and inspect code across Sourcegraph using its MCP endpoint for repository-aware coding workflows.

caplets install spiritledsoftware/caplets sourcegraph

Inspect before installing

  • Authentication requiredThis Caplet needs credentials or an auth flow before use.
CAPLET.md

Frontmatter

Field Value
name Sourcegraph
description Search and inspect code across Sourcegraph using its MCP endpoint for repository-aware coding workflows.
tags sourcegraph, code-search, mcp
mcpServer.url https://sourcegraph.com/.api/mcp
mcpServer.auth.type oauth2

Sourcegraph

Use this Caplet when the agent needs broad code search, repository navigation, or cross-repository context from Sourcegraph.

Good Fits

  • Find examples of an API, class, or migration pattern across indexed repositories.
  • Trace references before changing shared interfaces.
  • Compare implementations across services or packages.
  • Gather code-search evidence for debugging, review, or planning.

Setup

This Caplet targets Sourcegraph Cloud at https://sourcegraph.com/.api/mcp and uses OAuth.

Self-managed Sourcegraph users should change the URL to https://<sourcegraph-host>/.api/mcp. OAuth/DCR support or access-token headers depend on the instance setup, so configure authentication to match your deployment.