mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
update MCP README
This commit is contained in:
parent
a3e47d969f
commit
bbdd9e7903
1 changed files with 3 additions and 4 deletions
|
|
@ -1,12 +1,11 @@
|
|||
# Sourcebot MCP - Blazingly fast agentic code search for GitHub, GitLab, BitBucket, and more
|
||||
# Sourcebot MCP - Fetch code context from GitHub, GitLab, Bitbucket, and more
|
||||
|
||||
[](https://sourcebot.dev)
|
||||
[](https://github.com/sourcebot-dev/sourcebot)
|
||||
[](https://docs.sourcebot.dev/docs/more/mcp-server)
|
||||
[](https://www.npmjs.com/package/@sourcebot/mcp)
|
||||
|
||||
|
||||
The Sourcebot MCP server enables precise regular expression code search across repos hosted on [GitHub](https://docs.sourcebot.dev/docs/connections/github), [GitLab](https://docs.sourcebot.dev/docs/connections/gitlab), [BitBucket](https://docs.sourcebot.dev/docs/connections/bitbucket-cloud) and [more](#supported-code-hosts). This unlocks the capability for LLM agents to fetch code context for repositories that aren't checked out locally. Some use cases where precise search on a wider code context can help:
|
||||
The Sourcebot MCP server gives your LLM agents the ability to fetch code context across thousands of repos hosted on [GitHub](https://docs.sourcebot.dev/docs/connections/github), [GitLab](https://docs.sourcebot.dev/docs/connections/gitlab), [BitBucket](https://docs.sourcebot.dev/docs/connections/bitbucket-cloud) and [more](#supported-code-hosts). Ask your LLM a question, and the Sourcebot MCP server will fetch relevant context from its index and inject it into your chat session. Some use cases this unlocks include:
|
||||
|
||||
- Enriching responses to user requests:
|
||||
- _"What repositories are using internal library X?"_
|
||||
|
|
@ -27,7 +26,7 @@ The Sourcebot MCP server enables precise regular expression code search across r
|
|||
|
||||
1. Install Node.JS >= v18.0.0.
|
||||
|
||||
2. (optional) Spin up a Sourcebot instance by following [this guide](https://docs.sourcebot.dev/self-hosting/overview). The host url of your instance (e.g., `http://localhost:3000`) is passed to the MCP server via the `SOURCEBOT_HOST` url.
|
||||
2. (optional) Spin up a Sourcebot instance by following [this guide](https://docs.sourcebot.dev/self-hosting/overview). The host url of your instance (e.g., `http://localhost:3000`) is passed to the MCP server via the `SOURCEBOT_HOST` url. This allows you to control which repos Sourcebot MCP fetches context from (including private repos).
|
||||
|
||||
If a host is not provided, then the server will fallback to using the demo instance hosted at https://demo.sourcebot.dev. You can see the list of repositories indexed [here](https://demo.sourcebot.dev/~/repos). Add additional repositories by [opening a PR](https://github.com/sourcebot-dev/sourcebot/blob/main/demo-site-config.json).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue