MCP / Developer tools

Sourcegraph MCP

Sourcegraph code search: search, file content, repos, commits, symbols. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

Your own API key6 actionsDeveloper tools
Ask your agent
In the repository I select, find up to 10 Sourcegraph code matches for authenticate and show file paths and line previews.

Paste it into an assistant connected to FlyMy.AI. The agent picks the actions.

What Sourcegraph MCP can do

6 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

ActionWhat it does
sourcegraph_commitsList commits / blame history - GraphQL repository.commit.ancestors.
sourcegraph_find_symbolsFind symbols (functions, classes, etc.) in a repository - GraphQL repository.commit.symbols.
sourcegraph_get_file_contentGet the content of a single file - GraphQL repository.commit.blob.
sourcegraph_graphqlRun any Sourcegraph GraphQL query or mutation - full API coverage.
sourcegraph_repositoryGet repository info - GraphQL repository().
sourcegraph_searchSearch code across all repositories - GraphQL search().

Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

“In the repository I select, find up to 10 Sourcegraph code matches for authenticate and show file paths and line previews.”uses sourcegraph_search
“Read this repository file at the branch I select through Sourcegraph and explain its purpose in five bullets.”uses sourcegraph_get_file_content
“Search only this repository test folder for retry and show up to 10 matching file paths and line previews.”uses sourcegraph_search

Connect Sourcegraph in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

  1. 01

    Add FlyMy.AI

    Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.

  2. 02

    Add your Sourcegraph access token

    Paste it into the Sourcegraph connection settings once; it stays with FlyMy.AI, never in a prompt or a chat.

    • Sourcegraph access token - Sourcegraph - Settings - Access tokens. Create or copy your token there. Create token ->
  3. 03

    Ask

    Paste a request from this page. Every run shows what it cost.

Claude Code
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp

Then run /mcp in Claude Code and sign in.

Codex
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop
https://mcp-agents.flymy.ai/mcp

Settings, Connectors, Add custom connector: paste this URL.

Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Sourcegraph account, under its plan and limits. No seats and no minimum.

Go to the source

From the FlyMy.AI platform catalog of 2026-10-31: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.