Sourcegraph MCP integration
Fetches raw file contents and commit diffs without cloning, enumerates repositories and their languages, and confirms the connected identity.
8actions available
Three actions you can hand over today
Every action runs live through MCP. Nothing to build, nothing to maintain.
List repositories
Lyro lists all repositories available on the Sourcegraph instance. Agents discover codebases and project structure without GitHub navigation.
Get commit details
Lyro retrieves detailed information about a specific commit. Agents trace code changes to root causes in real time.
Get file contents
Lyro fetches file contents from a repository to inspect code. Agents review implementation details without cloning repos.
How businesses use Sourcegraph + Lyro
Each card is one request a support team gets, and the Sourcegraph actions Lyro runs to close it.
Read a file without cloning the repository
Lyro fetches the raw text of a file on the default branch and can enumerate the files and directories under a path first, which is faster than going through the code host's own API.
Get File ContentsList Repository FilesExplain what changed between two commits
Lyro compares two commit SHAs in a repository and returns the file diffs, then pulls the detail on a specific commit so the answer includes who made the change and when.
Compare CommitsGet Commit DetailsSurvey what is actually in the codebase
Lyro pages through the repositories on the instance and lists the languages used in any one of them, which is how you find out whether a service still has Python in it.
List RepositoriesList Repository LanguagesConfirm the connection's identity and reach
Before anything else, Lyro checks which authenticated user the connection acts as and whether the API permits site settings edits at all, so a permissions answer is not a guess.
Get Current UserCheck Site Settings Edit Permission
How it works
Get started in 3 steps
Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Sourcegraph actions it has and picks the ones a request needs.
- 01
Connect Sourcegraph
Authorize the Sourcegraph account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.
- 02
Tell your agent what you need
Describe the job the way you would hand it to a teammate. Lyro maps it to the Sourcegraph actions that close it and chains as many as the request needs.
- 03
Watch it work
The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.
Get started free
Everything else about Sourcegraph
Setup, permissions, and the limits of what Lyro can do inside Sourcegraph.
Not with this toolkit. It exposes file and directory listing, file contents, commit details, and diffs, but no search action, so Lyro navigates to a file or a commit rather than querying for a pattern across repositories. A repository name or path is the starting point.
Every action available in Sourcegraph
All 8 actions your agent can call on Sourcegraph, straight from the live MCP connection.
Check site settings edit permission
Check whether site settings can be edited through the API.
Compare commits
Compare two commits in a repository and retrieve their file diffs.
Get commit details
Get detailed information about a specific commit in a repository.
Get current user
Retrieve information about the currently authenticated user.
Get file contents
Fetch the contents of a specified file on the default branch.
List repositories
List repositories on the Sourcegraph instance.
List repository files
List all files and directories in a repository path.
List repository languages
List languages used in a repository.
The tools Sourcegraph sits next to
Same connection, same setup. Pick the next one your team already uses.
Appdrag
Calls Cloud Backend functions on prod, preprod, or dev with the verb they expect, and runs Visual SQL reads, updates, and deletes on the Cloud DB.
Cloudflare browser rendering
Cloudflare Browser Rendering lets you programmatically control headless browsers running on Cloudflare’s global network.
Doppler secretops
Pulls config audit trails, creates projects and branch configs, locks what must not change, and rolls a bad config back to an earlier version.
Labs64 netlicensing
Reads live license records and the product catalogue so entitlement questions get answered from the licensing system, not from memory.
Railway
Pulls the runtime logs behind a failing deploy, reports environment status, changes build and deploy settings, and audits tokens and integrations.
Triggercmd
Lists the machines and commands on a TriggerCMD account, then fires a named command or panel button on the computer you specify.

Ready to connect Sourcegraph?
Authorize the account and your agent has all 8 actions from the first conversation.


