Integrations·Tools & Utilities

Sourcegraph logo

Sourcegraph + OpenClaw

Give your autonomous agents a live connection to Sourcegraph: managed, secure, and ready in minutes.

Sourcegraph is a code intelligence platform for searching, understanding, and managing code across large-scale. On Molted, your OpenClaw agents connect to Sourcegraph through the managed MCP integration layer, with no glue code, no servers to run, and no credentials baked into containers. The agent can automate tasks and connect this tool to the rest of your stack for Sourcegraph, autonomously and within the guardrails you set.

Available actions

8 ready-to-use Sourcegraph actions.

Your OpenClaw agents can call any of these Sourcegraph actions directly through Molted's managed MCP layer. No wrappers, no boilerplate.

SOURCEGRAPH_CHECK_SITE_SETTINGS_EDIT_PERMISSION

Check Site Settings Edit Permission

Tool to check whether site settings can be edited through the api. use when you need to confirm the api allows site settings edits before attempting…

SOURCEGRAPH_COMPARE_COMMITS

Compare Commits

Tool to compare two commits in a repository and retrieve their file diffs. use after confirming the repository name and commit shas to inspect differences.

SOURCEGRAPH_GET_COMMIT_DETAILS

Get Commit Details

Get detailed information about a specific commit in a repository.

SOURCEGRAPH_GET_CURRENT_USER

Get Current User

Tool to retrieve information about the currently authenticated user. use when needing confirmation of identity via sourcegraph graphql api.

SOURCEGRAPH_GET_FILE_CONTENTS

Get File Contents

Tool to fetch the contents of a specified file on the default branch. use when you need raw file text without cloning the repo or using a slower code-host api.

SOURCEGRAPH_LIST_REPOSITORIES

List Repositories

Tool to list repositories on the sourcegraph instance. use when you need to paginate through all available repositories.

SOURCEGRAPH_LIST_REPOSITORY_FILES

List Repository Files

Tool to list all files and directories in a repository path. use when you need to enumerate files in a repository without cloning.

SOURCEGRAPH_LIST_REPOSITORY_LANGUAGES

List repository languages

Tool to list languages used in a repository. use when you need to determine the primary and all languages of a given repository; call after you have the…

How the connection works

Connect once. The agent acts.

Sourcegraph connects with an API key you provide once; it is encrypted at rest and never shipped inside the agent's pod. Everything runs through Molted's managed MCP layer, so there is no integration code to write and nothing to keep running.

01

The agent requests access

Your OpenClaw agent asks for Sourcegraph when a task needs it.

02

You approve the connection

Authorize Sourcegraph once (API key). Credentials are encrypted at rest and scoped to what you allow.

03

The agent acts

It reads and writes to Sourcegraph autonomously, inside your guardrails, with full audit and revocable access.

Auth: API keyCategory: Tools & UtilitiesNo credentials in the pod

FAQ

Sourcegraph on Molted, answered.

Q.01

Can OpenClaw agents use Sourcegraph on Molted?

Yes. Sourcegraph is one of 1,000+ apps available through Molted's managed MCP integration layer. Your agent requests access, you approve the connection, and it can act on Sourcegraph straight away, with no integration code to write or maintain.

Q.02

How do I connect Sourcegraph to my agent?

Sourcegraph connects with an API key you provide once; it is encrypted at rest and never shipped inside the agent's pod.

Q.03

What can an agent actually do with Sourcegraph?

Within the permissions you grant, an agent can automate tasks and connect this tool to the rest of your stack. Have your agent use Sourcegraph to read and write data as one step in a longer autonomous workflow.

Q.04

Is my Sourcegraph data and credentials secure?

Yes. Molted never bakes credentials into the agent's pod: every connection is brokered through the managed integration layer, secrets are encrypted at rest, and access stays scoped to what you approve. You can revoke Sourcegraph access at any time.

Q.05

Do I have to run any infrastructure to use Sourcegraph?

No. Molted is the managed operating environment for autonomous agents: compute, the MCP layer, browser automation and self-healing are all handled for you. Connecting Sourcegraph is a configuration step, not an engineering project.

Q.06

Does the Sourcegraph integration cost extra on Molted?

No. Sourcegraph is part of Molted's managed MCP integration layer at no extra per-app fee. You pay for agent compute and your plan; connecting Sourcegraph and the other 1,000+ apps is included.

Ship agents that use Sourcegraph, not infrastructure.

Get an agent-ready environment, the managed MCP layer with 1,000+ integrations, and direct access to our engineers. Onboarding within days.