Connectors · Developer & infrastructure
Sourcegraph MCP server for AI agents.
actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Sourcegraph and the rest of your systems. It gives your agent 423 Sourcegraph actions (177 reads, 169 writes and 77 that wait for a confirmation) and holds the Sourcegraph credential itself, so the agent never does. It paces Sourcegraph's limits and records every call.
100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.
claude mcp add --transport http actionlake https://connect.actionlake.com/mcpdo { action: "sourcegraph.users.users", intent: "check which Sourcegraph account is connected"}# List users · read · 1 upstream call- 423actionsin one signed file
- 177readlook, never change
- 169writecreate and update
- 77wait for a yesdestructive, confirmed first
Set up
Connect Sourcegraph in three steps.
- 01
Add actionlake to Claude.
Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.
https://connect.actionlake.com/mcp - 02
Connect Sourcegraph.
API key. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead. actionlake stores what you paste write-only, sealed under your tenant's key.
access_tokenSourcegraph access token (User settings > Access tokens; give it the `user:all` scope, or…auth_schemeYour Sourcegraph auth schemehostWhere your Sourcegraph lives: your host
account { op: "connections.requirements", service: "sourcegraph" } # free: exactly what to paste, and what is found for you - 03
Make the first call. Check before a write.
Ask in plain words; Claude picks the action. Before anything changes,
checkvalidates the call and prices it, for free.do { action: "sourcegraph.users.users" }# list users · read · 1 upstream callcheck { action: "sourcegraph.users.create_user", input: { … } }# free: inputs, permissions, cost and confirmations, nothing sent
Sourcegraph at a glance
- Sign-in
- API key. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead.
- You provide
access_token- Setup fields
auth_schemehost- Limits we pace to
- 600 calls a minute, per connection
- API covered
- Sourcegraph 7.x: versioned Sourcegraph API v1 (OpenAPI 3.1) + GraphQL debug API, at your Sourcegraph instance's API base URL, which you enter when connecting
- Built from
- Sourcegraph's documentation, read 23 October 2026sourcegraph.comGitHubsourcegraph.com
- Service file
- Version 1.0.0, signed (Ed25519)
- Cached reads
- 171 of 177 reads, for up to 5 minutes; a write clears what it affects
- Shared entities
- 4, so ask can line Sourcegraph up with your other systems
- Data
- Processed and stored in Sydney, Australia. No US region yet
Capabilities
What an AI agent can do in Sourcegraph.
423 actions in 38 areas. Every one carries its effect, so a key can allow the reads and hold the rest.
- 177readlook, never change
- 169writecreate and update
- 77destructivewait for a confirmation
Batch changes
4211 read · 22 write · 9 destructive
List batch changes user credential github apps · Apply batch change · List available bulk operations · List batch changes
Site
4022 read · 17 write · 1 destructive
List site alerts · List background jobs · List gitservers · List notebook exports
Repositories
3119 read · 10 write · 2 destructive
List repositories · Get repository · List branches · List commits
Code intelligence
2713 read · 10 write · 4 destructive
List code intelligence configuration policies · Create code intelligence configuration policy · List indexer keys · List precise indexes
Insights
2710 read · 14 write · 3 destructive
Add insight view to dashboard · Create insights dashboard · Create inventory stats insight · Create line chart search insight
Users
246 read · 11 write · 7 destructive
List users · Get current user · Create user · Get user
Code hosts
2111 read · 8 write · 2 destructive
Add external service · List bitbucket cloud repositories · List bitbucket cloud workspaces · List bitbucket server repositories
Repo permissions
145 read · 2 write · 7 destructive
List authorized user repositories · List bitbucket project permission jobs · List permissions sync jobs · Schedule repository permissions sync
30 more areas · 197 actions
- Feature flags 13
- Code review 12
- Executors 11
- Search contexts 11
- Prompts 10
- API entitlements 9
- Code monitors 9
- Organizations 9
- Entitlements 8
- Oauth clients 8
- Search 8
- Code ownership 7
- Github apps 7
- API deepsearch 6
- Model providers 6
- Packages 6
- Roles 6
- Saved searches 6
- Settings 6
- Webhooks 6
- API searchjobs 5
- API users 5
- Outbound webhooks 5
- API explicitrepopermissions 4
- Slack 4
- Namespaces 3
- Access requests 2
- Access tokens 2
- Notifications 2
- API repositories 1
Top actions
The Sourcegraph API, shaped for agents.
The ids your agent types, what each does, and the one name it shares with other systems. 33 of Sourcegraph's 33 action names are shared with at least one other connector, so an agent learns them once.
| Action | What it does | Effect | Same name in |
|---|---|---|---|
sourcegraph.users.usersList users | List all users. | read | identity.user.list474 connectors |
sourcegraph.organizations.organizationsList organizations | List all organizations. | read | identity.group.list262 connectors |
sourcegraph.users.current_userGet current user | The current user. | read | identity.current_user.get307 connectors |
sourcegraph.users.create_userCreate user | Creates a new user account. | write | identity.user.create262 connectors |
sourcegraph.organizations.create_organizationCreate organization | Creates an organization. | write | identity.group.create205 connectors |
sourcegraph.users.delete_userDelete user | Deletes a user account. | destructive | identity.user.delete253 connectors |
sourcegraph.repositories.repositoriesList repositories | List all repositories. | read | devops.repository.list28 connectors |
sourcegraph.roles.rolesList roles | Roles returns all the roles in the database that matches the arguments. | read | identity.role.list184 connectors |
sourcegraph.roles.create_roleCreate role | Creates a role. | write | identity.role.create105 connectors |
sourcegraph.roles.permissionsList permissions | This returns all permissions in a paginated format. | read | identity.permission.list33 connectors |
sourcegraph.repositories.repositoryGet repository | Looks up a repository by either name or cloneURL. | read | devops.repository.get26 connectors |
sourcegraph.repositories.branches_listList branches | List a repository's branches, optionally filtered by name. | read | devops.branch.list12 connectors |
Try it
Prompts to paste into Claude.
Each one names the Sourcegraph actions it will call, so you know what it reads and what it changes before you send it.
- Readread
List our Sourcegraph repositories with their visibility and default branch.
calls
sourcegraph.repositories.repositories - Writewrite
Create user in Sourcegraph. Show me exactly what you will send before you save it.
calls
sourcegraph.users.create_user
Governance for Sourcegraph
Destructive actions wait for a yes.
77 Sourcegraph actions are destructive. The first 10:
- Delete user
sourcegraph.users.delete_user - Delete organization
sourcegraph.organizations.delete_organization - Delete role
sourcegraph.roles.delete_role - Delete feature flag
sourcegraph.feature_flags.delete_feature_flag - Delete webhook
sourcegraph.webhooks.delete_webhook - Delete saved search
sourcegraph.saved_searches.delete_saved_search - Set roles
sourcegraph.roles.set_roles - Delete users
sourcegraph.users.delete_users - Delete prompt
sourcegraph.prompts.delete_prompt - Set permissions
sourcegraph.roles.set_permissions
A destructive action runs only with confirm: true. Under the human policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.
Delete user?
intent: the user asked me to delete user
account { op: "keys.create", name: "sourcegraph-agent", allowed_actions: ["sourcegraph.*"], cap_calls: 2000, confirm_policy: "human_for_writes", approval_rules: [ { match: "sourcegraph.users.delete_user", approver: "[email protected]" }, { match: "sourcegraph.organizations.delete_organization", approver: "[email protected]" }, { match: "sourcegraph.roles.delete_role", approver: "[email protected]" } ]}Cost
What Sourcegraph costs on actionlake.
Every Sourcegraph action is one upstream call, the only thing actionlake bills. Searching, check, cost, account and any call Sourcegraph refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
- 1upstream call per actionall 423 Sourcegraph actions
- 423actions pageeach page of a long list is one call
- 171reads can be cacheda cache hit costs nothing
- 100,000calls a month, freepaid plans from US$49 a month for 250,000
Action index
Every Sourcegraph action.
423 actions by area: the id your agent calls, what it does, and its effect.
Batch changes42
sourcegraph.batch_changes.apply_batch_changeApply batch changewritesourcegraph.batch_changes.available_bulk_operationsList available bulk operationsreadsourcegraph.batch_changes.batch_changesList batch changesreadsourcegraph.batch_changes.batch_changes_user_credential_github_appsList batch changes user credential github appsreadsourcegraph.batch_changes.batch_changeGet batch changereadsourcegraph.batch_changes.batch_changes_code_hostsList batch changes code hostsread- and 36 more in this area
Site40
sourcegraph.site.alerts_listList site alertsreadsourcegraph.site.background_jobsList background jobsreadsourcegraph.site.gitserversList gitserversreadsourcegraph.site.notebook_exportsList notebook exportsreadsourcegraph.site.client_configurationGet client configurationreadsourcegraph.site.configuration_getGet site configurationread- and 34 more in this area
Repositories31
sourcegraph.repositories.branches_listList branchesreadsourcegraph.repositories.commits_listList commitsreadsourcegraph.repositories.repositoriesList repositoriesreadsourcegraph.repositories.repositoryGet repositoryreadsourcegraph.repositories.add_phabricator_repoAdd phabricator repowritesourcegraph.repositories.add_repo_metadataAdd repo metadatawrite- and 25 more in this area
Code intelligence27
sourcegraph.code_intelligence.code_intelligence_configuration_policiesList code intelligence configuration policiesreadsourcegraph.code_intelligence.create_code_intelligence_configuration_policyCreate code intelligence configuration policywritesourcegraph.code_intelligence.indexer_keysList indexer keysreadsourcegraph.code_intelligence.precise_indexesList precise indexesreadsourcegraph.code_intelligence.bump_derivative_graph_keyBump derivative graph keywritesourcegraph.code_intelligence.code_intel_summaryGet code intel summaryread- and 21 more in this area
Insights27
sourcegraph.insights.add_insight_view_to_dashboardAdd insight view to dashboardwritesourcegraph.insights.create_insights_dashboardCreate insights dashboardwritesourcegraph.insights.create_inventory_stats_insightCreate inventory stats insightwritesourcegraph.insights.create_line_chart_search_insightCreate line chart search insightwritesourcegraph.insights.create_pie_chart_search_insightCreate pie chart search insightwritesourcegraph.insights.delete_insight_viewDelete insight viewdestructive- and 21 more in this area
Users24
sourcegraph.users.create_userCreate userwritesourcegraph.users.current_userGet current userreadsourcegraph.users.userGet userreadsourcegraph.users.usersList usersreadsourcegraph.users.access_tokens_listList a user's access tokensreadsourcegraph.users.add_external_accountAdd external accountwrite- and 18 more in this area
Code hosts21
sourcegraph.code_hosts.add_external_serviceAdd external servicewritesourcegraph.code_hosts.bitbucket_cloud_repositoriesList bitbucket cloud repositoriesreadsourcegraph.code_hosts.bitbucket_cloud_workspacesList bitbucket cloud workspacesreadsourcegraph.code_hosts.bitbucket_server_repositoriesList bitbucket server repositoriesreadsourcegraph.code_hosts.bitbucket_server_repository_query_previewGet bitbucket server repository query previewreadsourcegraph.code_hosts.cancel_external_service_syncCancel external service syncdestructive- and 15 more in this area
Repo permissions14
sourcegraph.repo_permissions.authorized_user_repositoriesList authorized user repositoriesreadsourcegraph.repo_permissions.bitbucket_project_permission_jobsList bitbucket project permission jobsreadsourcegraph.repo_permissions.permissions_sync_jobsList permissions sync jobsreadsourcegraph.repo_permissions.schedule_repository_permissions_syncSchedule repository permissions syncwritesourcegraph.repo_permissions.add_repository_permission_for_userAdd repository permission for userdestructivesourcegraph.repo_permissions.cancel_permissions_sync_jobCancel permissions sync jobdestructive- and 8 more in this area
Feature flags13
sourcegraph.feature_flags.create_feature_flagCreate feature flagwritesourcegraph.feature_flags.feature_flagGet feature flagreadsourcegraph.feature_flags.feature_flagsList feature flagsreadsourcegraph.feature_flags.update_feature_flagUpdate feature flagwritesourcegraph.feature_flags.create_feature_flag_overrideCreate feature flag overridewritesourcegraph.feature_flags.delete_feature_flagDelete feature flagdestructive- and 7 more in this area
Code review12
sourcegraph.code_review.add_change_request_review_threadAdd change request review threadwritesourcegraph.code_review.change_requestsList change requestsreadsourcegraph.code_review.connect_review_semgrepConnect review semgrepwritesourcegraph.code_review.create_change_request_reportCreate change request reportwritesourcegraph.code_review.change_requestGet change requestreadsourcegraph.code_review.change_request_by_repositoryGet change request by repositoryread- and 6 more in this area
Executors11
sourcegraph.executors.create_executor_secretCreate executor secretwritesourcegraph.executors.docker_registry_credentialsList docker registry credentialsreadsourcegraph.executors.executor_secretsList executor secretsreadsourcegraph.executors.executorsList executorsreadsourcegraph.executors.are_executors_configuredGet are executors configuredreadsourcegraph.executors.delete_docker_registry_credentialDelete docker registry credentialdestructive- and 5 more in this area
Search contexts11
sourcegraph.search_contexts.create_search_contextCreate search contextwritesourcegraph.search_contexts.create_search_context_starCreate search context starwritesourcegraph.search_contexts.search_contextsList search contextsreadsourcegraph.search_contexts.search_contexts_by_idsList search contexts by idsreadsourcegraph.search_contexts.default_search_contextGet default search contextreadsourcegraph.search_contexts.delete_search_contextDelete search contextdestructive- and 5 more in this area
Prompts10
sourcegraph.prompts.create_promptCreate promptwritesourcegraph.prompts.create_prompt_tagCreate prompt tagwritesourcegraph.prompts.prompt_tagsList prompt tagsreadsourcegraph.prompts.promptsList promptsreadsourcegraph.prompts.change_prompt_visibilityChange prompt visibilitywritesourcegraph.prompts.delete_promptDelete promptdestructive- and 4 more in this area
API entitlements9
sourcegraph.api_entitlements.batch_create_grantsBatch create grants (entitlements API)writesourcegraph.api_entitlements.create_entitlementCreate entitlement (entitlements API)writesourcegraph.api_entitlements.list_entitlementsList entitlements (entitlements API)readsourcegraph.api_entitlements.list_grantsList grants (entitlements API)readsourcegraph.api_entitlements.batch_delete_grantsBatch delete grants (entitlements API)destructivesourcegraph.api_entitlements.delete_entitlementDelete entitlement (entitlements API)destructive- and 3 more in this area
Code monitors9
sourcegraph.code_monitors.create_code_monitorCreate code monitorwritesourcegraph.code_monitors.monitorsList monitorsreadsourcegraph.code_monitors.trigger_test_email_actionTrigger test email actionwritesourcegraph.code_monitors.trigger_test_slack_webhook_actionTrigger test slack webhook actionwritesourcegraph.code_monitors.delete_code_monitorDelete code monitordestructivesourcegraph.code_monitors.reset_trigger_query_timestampsReset trigger query timestampswrite- and 3 more in this area
Organizations9
sourcegraph.organizations.create_organizationCreate organizationwritesourcegraph.organizations.organizationGet organizationreadsourcegraph.organizations.organizationsList organizationsreadsourcegraph.organizations.update_organizationUpdate organizationwritesourcegraph.organizations.add_user_to_organizationAdd user to organizationwritesourcegraph.organizations.delete_organizationDelete organizationdestructive- and 3 more in this area
Entitlements8
sourcegraph.entitlements.create_entitlementCreate entitlementwritesourcegraph.entitlements.create_entitlement_grantsCreate entitlement grantswritesourcegraph.entitlements.entitlementGet entitlementreadsourcegraph.entitlements.entitlementsList entitlementsreadsourcegraph.entitlements.delete_entitlementDelete entitlementdestructivesourcegraph.entitlements.delete_entitlement_grantsDelete entitlement grantsdestructive- and 2 more in this area
Oauth clients8
sourcegraph.oauth_clients.create_idp_clientCreate IdP clientwritesourcegraph.oauth_clients.idp_clientsList idp clientsreadsourcegraph.oauth_clients.idp_scopesList idp scopesreadsourcegraph.oauth_clients.update_idp_clientUpdate IdP clientwritesourcegraph.oauth_clients.create_m2m_credentialCreate M2M credentialdestructivesourcegraph.oauth_clients.delete_idp_clientDelete IdP clientdestructive- and 2 more in this area
Search8
sourcegraph.search.computeList computereadsourcegraph.search.indexed_search_instancesList indexed search instancesreadsourcegraph.search.searchSearch codereadsourcegraph.search.search_query_aggregateSearch query aggregatereadsourcegraph.search.deep_search_quota_usageGet deep search quota usagereadsourcegraph.search.parse_search_queryGet parse search queryread- and 2 more in this area
Code ownership7
sourcegraph.code_ownership.add_codeowners_fileAdd codeowners filewritesourcegraph.code_ownership.codeowners_ingested_filesList codeowners ingested filesreadsourcegraph.code_ownership.instance_ownership_statsGet instance ownership statsreadsourcegraph.code_ownership.own_signal_configurationsList own signal configurationsreadsourcegraph.code_ownership.delete_codeowners_filesDelete codeowners filesdestructivesourcegraph.code_ownership.update_codeowners_fileUpdate codeowners filewrite- and 1 more in this area
Github apps7
sourcegraph.github_apps.add_github_app_auth_providerAdd github app auth providerwritesourcegraph.github_apps.create_github_appCreate github appwritesourcegraph.github_apps.github_appsList github appsreadsourcegraph.github_apps.refresh_github_appRefresh github appwritesourcegraph.github_apps.delete_github_appDelete github appdestructivesourcegraph.github_apps.github_appGet github appread- and 1 more in this area
API deepsearch6
sourcegraph.api_deepsearch.add_conversation_questionAdd conversation question (deepsearch API)writesourcegraph.api_deepsearch.create_conversationCreate conversation (deepsearch API)writesourcegraph.api_deepsearch.get_conversationGet conversation (deepsearch API)readsourcegraph.api_deepsearch.list_conversation_summariesList conversation summaries (deepsearch API)readsourcegraph.api_deepsearch.cancel_conversationCancel conversation (deepsearch API)destructivesourcegraph.api_deepsearch.delete_conversationDelete conversation (deepsearch API)destructive
Model providers6
sourcegraph.model_providers.create_inference_providerCreate inference providerwritesourcegraph.model_providers.inferenceGet inferencereadsourcegraph.model_providers.update_inference_providerUpdate inference providerwritesourcegraph.model_providers.validate_inference_providerValidate inference providerwritesourcegraph.model_providers.delete_inference_providerDelete inference providerdestructivesourcegraph.model_providers.update_inference_routing_configurationUpdate inference routing configurationwrite
Packages6
sourcegraph.packages.add_package_repo_filterAdd package repo filterwritesourcegraph.packages.package_repo_filtersList package repo filtersreadsourcegraph.packages.package_repo_referencesList package repo referencesreadsourcegraph.packages.package_repo_references_matching_filterGet package repo references matching filterreadsourcegraph.packages.delete_package_repo_filterDelete package repo filterdestructivesourcegraph.packages.update_package_repo_filterUpdate package repo filterwrite
Roles6
sourcegraph.roles.create_roleCreate rolewritesourcegraph.roles.delete_roleDelete roledestructivesourcegraph.roles.permissionsList permissionsreadsourcegraph.roles.rolesList rolesreadsourcegraph.roles.set_permissionsSet permissionsdestructivesourcegraph.roles.set_rolesSet rolesdestructive
Saved searches6
sourcegraph.saved_searches.create_saved_searchCreate saved searchwritesourcegraph.saved_searches.delete_saved_searchDelete saved searchdestructivesourcegraph.saved_searches.saved_searchesList saved searchesreadsourcegraph.saved_searches.update_saved_searchUpdate saved searchwritesourcegraph.saved_searches.change_saved_search_visibilityChange saved search visibilitywritesourcegraph.saved_searches.transfer_saved_search_ownershipTransfer saved search ownershipdestructive
Settings6
sourcegraph.settings.editEdit settings at a key pathwritesourcegraph.settings.instance_settings_configurationGet instance settings configurationreadsourcegraph.settings.overwriteOverwrite settingswritesourcegraph.settings.set_instance_settingsSet instance settingswritesourcegraph.settings.settings_subjectGet settings subjectreadsourcegraph.settings.viewer_settingsGet viewer settingsread
Webhooks6
sourcegraph.webhooks.create_webhookCreate webhookwritesourcegraph.webhooks.delete_webhookDelete webhookdestructivesourcegraph.webhooks.update_webhookUpdate webhookwritesourcegraph.webhooks.webhooksList webhooksreadsourcegraph.webhooks.webhook_log_retention_in_millisecondsGet webhook log retention in millisecondsreadsourcegraph.webhooks.webhook_logsList webhook logsread
API searchjobs5
sourcegraph.api_searchjobs.create_search_jobCreate search job (searchjobs API)writesourcegraph.api_searchjobs.delete_search_jobDelete search job (searchjobs API)destructivesourcegraph.api_searchjobs.get_search_jobGet search job (searchjobs API)readsourcegraph.api_searchjobs.list_search_jobsList search jobs (searchjobs API)readsourcegraph.api_searchjobs.cancel_search_jobCancel search job (searchjobs API)destructive
API users5
sourcegraph.api_users.batch_undelete_usersBatch undelete users (users API)writesourcegraph.api_users.get_userGet user (users API)readsourcegraph.api_users.list_usersList users (users API)readsourcegraph.api_users.update_userUpdate user (users API)writesourcegraph.api_users.batch_delete_usersBatch delete users (users API)destructive
Outbound webhooks5
sourcegraph.outbound_webhooks.create_outbound_webhookCreate outbound webhookwritesourcegraph.outbound_webhooks.outbound_webhook_event_typesList outbound webhook event typesreadsourcegraph.outbound_webhooks.outbound_webhooksList outbound webhooksreadsourcegraph.outbound_webhooks.update_outbound_webhookUpdate outbound webhookwritesourcegraph.outbound_webhooks.delete_outbound_webhookDelete outbound webhookdestructive
API explicitrepopermissions4
sourcegraph.api_explicitrepopermissions.create_explicit_repo_permissionCreate explicit repo permission (explicitrepopermissions API)writesourcegraph.api_explicitrepopermissions.delete_explicit_repo_permissionDelete explicit repo permission (explicitrepopermissions API)destructivesourcegraph.api_explicitrepopermissions.get_explicit_repo_permissionGet explicit repo permission (explicitrepopermissions API)readsourcegraph.api_explicitrepopermissions.list_explicit_repo_permissionsList explicit repo permissions (explicitrepopermissions API)read
Slack4
sourcegraph.slack.connect_slack_workspaceConnect slack workspacewritesourcegraph.slack.disconnect_slack_workspaceDisconnect slack workspacedestructivesourcegraph.slack.set_slack_allow_deep_searchSet slack allow deep searchwritesourcegraph.slack.slack_configurationsList slack configurationsread
Namespaces3
sourcegraph.namespaces.namespaceGet namespacereadsourcegraph.namespaces.namespace_by_nameGet namespace by namereadsourcegraph.namespaces.nodeGet noderead
Access requests2
sourcegraph.access_requests.access_requestsList access requestsreadsourcegraph.access_requests.set_access_request_statusSet access request statuswrite
Access tokens2
sourcegraph.access_tokens.create_access_tokenCreate access tokendestructivesourcegraph.access_tokens.delete_access_tokenDelete access tokendestructive
Notifications2
sourcegraph.notifications.delete_notificationDelete notificationdestructivesourcegraph.notifications.dismiss_notificationDismiss notificationwrite
API repositories1
sourcegraph.api_repositories.get_repositoryGet repository (repositories API)read
This index shows a sample of each area. All 423 actions, with their inputs and prices, are in the catalogue, which a free sandbox key can search.
Questions
The Sourcegraph MCP server, answered.
Is there a Sourcegraph MCP server for Claude?
Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 423 Sourcegraph actions across batch changes, site, repositories and code intelligence, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Sourcegraph.
What do I need to connect Sourcegraph?
Sourcegraph access token (User settings > Access tokens; give it the `user:all` scope, or…. Plus your auth scheme and your host. The free call account { op: "connections.requirements", service: "sourcegraph" } lists exactly what to paste.
Can an AI agent delete or change things in Sourcegraph?
Only if its key allows it, and only with an explicit confirmation. 77 Sourcegraph actions are destructive, including delete user, delete organization and delete role. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.
Will an AI agent use up my Sourcegraph API limit?
actionlake paces every call to the limits in the Sourcegraph service file: 600 calls a minute per connection. Repeated reads are answered from cache (171 Sourcegraph actions can be), which never reaches Sourcegraph.
What does a Sourcegraph action cost?
One upstream call, the only unit actionlake bills. A list that pages bills one call per page (423 Sourcegraph actions page). Cache hits, searches, dry runs and calls Sourcegraph refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.
Which Sourcegraph API does it cover?
The Sourcegraph 7.x: versioned Sourcegraph API v1 (OpenAPI 3.1) + GraphQL debug API at your Sourcegraph instance's API base URL, which you enter when connecting. It is built from Sourcegraph's documentation as read on 23 October 2026. 423 actions in 38 areas, each one in the signed service file (version 1.0.0).
Does actionlake keep my Sourcegraph data, and where?
actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to 5 minutes, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Sourcegraph credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.
Which AI clients can use it?
Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.
Give your agent Sourcegraph today.
Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.