You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To configure Sourcebot (index your own repos, connect your LLMs, etc), check out our [docs](https://docs.sourcebot.dev/docs/configuration/config-file).
109
109
110
110
> [!NOTE]
111
-
> Sourcebot collects <ahref="https://demo.sourcebot.dev/~/search?query=captureEvent%5C(%20repo%3Asourcebot">anonymous usage data</a> by default to help us improve the product. No sensitive data is collected, but if you'd like to disable this you can do so by setting the `SOURCEBOT_TELEMETRY_DISABLED` environment
111
+
> Sourcebot collects <ahref="https://app.sourcebot.dev/~/search?query=captureEvent%5C(%20repo%3Asourcebot">anonymous usage data</a> by default to help us improve the product. No sensitive data is collected, but if you'd like to disable this you can do so by setting the `SOURCEBOT_TELEMETRY_DISABLED` environment
112
112
> variable to `true`. Please refer to our [telemetry docs](https://docs.sourcebot.dev/docs/overview#telemetry) for more information.
Copy file name to clipboardExpand all lines: packages/mcp/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
28
28
29
29
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).
30
30
31
-
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).
31
+
If a host is not provided, then the server will fallback to using the demo instance hosted at https://app.sourcebot.dev. You can see the list of repositories indexed [here](https://app.sourcebot.dev/~/repos). Add additional repositories by [opening a PR](https://github.com/sourcebot-dev/sourcebot/blob/main/demo-site-config.json).
32
32
33
33
3. Install `@sourcebot/mcp` into your MCP client:
34
34
@@ -47,7 +47,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
47
47
"sourcebot": {
48
48
"command": "npx",
49
49
"args": ["-y", "@sourcebot/mcp@latest" ],
50
-
// Optional - if not specified, https://demo.sourcebot.dev is used
50
+
// Optional - if not specified, https://app.sourcebot.dev is used
51
51
"env": {
52
52
"SOURCEBOT_HOST": "http://localhost:3000"
53
53
}
@@ -72,7 +72,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
72
72
"sourcebot": {
73
73
"command": "npx",
74
74
"args": ["-y", "@sourcebot/mcp@latest" ],
75
-
// Optional - if not specified, https://demo.sourcebot.dev is used
75
+
// Optional - if not specified, https://app.sourcebot.dev is used
76
76
"env": {
77
77
"SOURCEBOT_HOST": "http://localhost:3000"
78
78
}
@@ -96,7 +96,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
96
96
"type": "stdio",
97
97
"command": "npx",
98
98
"args": ["-y", "@sourcebot/mcp@latest"],
99
-
// Optional - if not specified, https://demo.sourcebot.dev is used
99
+
// Optional - if not specified, https://app.sourcebot.dev is used
100
100
"env": {
101
101
"SOURCEBOT_HOST": "http://localhost:3000"
102
102
}
@@ -116,7 +116,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
116
116
117
117
```sh
118
118
# SOURCEBOT_HOST env var is optional - if not specified,
119
-
# https://demo.sourcebot.dev is used.
119
+
# https://app.sourcebot.dev is used.
120
120
claude mcp add sourcebot -e SOURCEBOT_HOST=http://localhost:3000 -- npx -y @sourcebot/mcp@latest
121
121
```
122
122
</details>
@@ -134,7 +134,7 @@ The Sourcebot MCP server gives your LLM agents the ability to fetch code context
134
134
"sourcebot": {
135
135
"command": "npx",
136
136
"args": ["-y", "@sourcebot/mcp@latest"],
137
-
// Optional - if not specified, https://demo.sourcebot.dev is used
137
+
// Optional - if not specified, https://app.sourcebot.dev is used
0 commit comments