Integrations·Tools & Utilities
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
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
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
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 detailed information about a specific commit in a repository.
SOURCEGRAPH_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
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
Tool to list repositories on the sourcegraph instance. use when you need to paginate through all available repositories.
SOURCEGRAPH_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
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
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
Your OpenClaw agent asks for Sourcegraph when a task needs it.
02
Authorize Sourcegraph once (API key). Credentials are encrypted at rest and scoped to what you allow.
03
It reads and writes to Sourcegraph autonomously, inside your guardrails, with full audit and revocable access.
FAQ
Q.01
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
Sourcegraph connects with an API key you provide once; it is encrypted at rest and never shipped inside the agent's pod.
Q.03
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
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
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
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.
More Tools & Utilities integrations
Browse all 1,000+ integrations →Get an agent-ready environment, the managed MCP layer with 1,000+ integrations, and direct access to our engineers. Onboarding within days.