NewsOperate As is live. Send your first client one link

Integration

Sourcegraph

Code search across repositories. Your client pastes their Sourcegraph key once, and your agent or your code works with their access.

Developer tools

About Sourcegraph

Sourcegraph searches code across repositories.

With your client's Sourcegraph connected, your agent can search their code.

Sourcegraph

Sourcegraph · Developer tools

API key

Code search across repositories

The client pastes their access token from Sourcegraph's settings. We store it encrypted.

Tested against Sourcegraph's live API.

Building with Sourcegraph? The docs have setup steps and code for every tool.

Open the Sourcegraph docs

Tools

Your agent calls any endpoint of Sourcegraph's API with the request tool, with the client's access attached.

Base URL for request

https://sourcegraph.com/.api

  • request

    HTTPS ANY /v1/clients/{clientId}/sourcegraph/{path}

    Any endpoint of Sourcegraph's own API, with the client's access attached.

    servicestringrequired
    This service: sourcegraph
    methodstringrequired
    GET, POST, PUT, PATCH or DELETE
    pathstringrequired
    The path under https://sourcegraph.com/.api
    queryobjectoptional
    Query parameters
    bodyobjectoptional
    A JSON body

Over MCP every tool also takes client_id, from list_clients. Over HTTPS send it as clientId to https://api.operate.as/v1.

What the client approves

  • Use the Sourcegraph key you paste, with only the access you gave that key

Get started

Send your next client one link

Add a client, select the services, copy the link. You'll get an email the moment their access is ready. Start free, no card required. Paid plans are one flat monthly price, and a busy month never takes your agents offline.