# Sourcegraph MCP for AI Agents | FlyMy.AI

> Sourcegraph MCP for Claude, Codex and Cursor through FlyMy.AI. Sourcegraph code search: search, file content, repos, commits, symbols. 6 actions, your own...

Page: https://flymy.ai/mcp/sourcegraph/

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.

[Connect Sourcegraph](https://flymy.ai/mcp/sourcegraph/#connect) [What it can do](https://flymy.ai/mcp/sourcegraph/#actions)

Your own API key, 6 actions, Developer 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.

| Action | What it does |
|---|---|
| `sourcegraph_commits` | List commits / blame history - GraphQL repository.commit.ancestors. |
| `sourcegraph_find_symbols` | Find symbols (functions, classes, etc.) in a repository - GraphQL repository.commit.symbols. |
| `sourcegraph_get_file_content` | Get the content of a single file - GraphQL repository.commit.blob. |
| `sourcegraph_graphql` | Run any Sourcegraph GraphQL query or mutation - full API coverage. |
| `sourcegraph_repository` | Get repository info - GraphQL repository(). |
| `sourcegraph_search` | Search 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](https://app.flymy.ai/mcp-configs#sourcegraph) 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 ->](https://sourcegraph.com/user/settings/tokens)
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.

[See usage pricing →](https://flymy.ai/pricing/)

## More Developer tools MCPs

Code, CI, hosting, monitoring and security.

### Sentry

Sentry issues/errors, projects, releases, DSNs + Seer AI root-cause

16 actions / sign in

Link: https://flymy.ai/mcp/sentry/

### Apify

Apify web scraping: run actors, datasets, key-value stores, tasks

11 actions / your API key

Link: https://flymy.ai/mcp/apify/

### GitLab

GitLab: repos, merge requests, issues, pipelines

757 actions / sign in

Link: https://flymy.ai/mcp/gitlab/

### Fly.io

Fly.io: apps, machines, volumes, secrets, public IPs, custom domains

34 actions / your API key

Link: https://flymy.ai/mcp/flyio/

### Vercel

Vercel: projects, deployments, domains, DNS, env vars, aliases

35 actions / your API key

Link: https://flymy.ai/mcp/vercel/

### 1Password

Password manager and digital vault for secure credential storage and team collaboration

11 actions / your API key

Link: https://docs.flymy.ai/mcp/apps/1password

## Go to the source

[Sourcegraph in the docs →](https://docs.flymy.ai/mcp/sourcegraph), [Sourcegraph connection settings →](https://app.flymy.ai/mcp-configs#sourcegraph), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

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.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
