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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
- Added an optional `webUrl` field to the GitLab connection config, used to build links to repositories in the GitLab web UI when the API host differs from the browsable host. [#1457](https://github.com/sourcebot-dev/sourcebot/pull/1457)
12
12
-[EE] Added Idira SSO support through OpenID Connect. [#1459](https://github.com/sourcebot-dev/sourcebot/pull/1459)
13
+
- Added an optional `webUrl` field to the GitLab connection config, used to build links to repositories in the GitLab web UI when the API host differs from the browsable host. [#1458](https://github.com/sourcebot-dev/sourcebot/pull/1458)
13
14
14
15
### Fixed
15
16
- Prevented focus rings in workspace connector dialogs from being clipped. [#1457](https://github.com/sourcebot-dev/sourcebot/pull/1457)
Copy file name to clipboardExpand all lines: docs/docs/features/mcp-server.mdx
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,10 @@ You can read more about the options in the [authorization](#authorization) secti
27
27
If [anonymous access](https://docs.sourcebot.dev/docs/configuration/auth/access-settings#anonymous-access) is enabled on your Sourcebot instance, no OAuth token or API key is required. You can connect directly to the MCP endpoint without any authorization.
28
28
</Note>
29
29
30
+
<Note>
31
+
The examples below add the MCP server and connect it to Sourcebot's public deployment at [app.sourcebot.dev](https://app.sourcebot.dev). Replace the URL with your own Sourcebot deployment as needed.
@@ -38,18 +42,18 @@ You can read more about the options in the [authorization](#authorization) secti
38
42
<LicenseKeyRequiredfeature="OAuth" />
39
43
40
44
```sh
41
-
claude mcp add --transport http sourcebot https://sb.example.com/api/mcp
45
+
claude mcp add --transport http sourcebot https://app.sourcebot.dev/api/mcp
42
46
```
43
47
44
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. Claude Code will automatically handle the OAuth 2.0 authorization flow the first time you connect.
48
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. Claude Code will automatically handle the OAuth 2.0 authorization flow the first time you connect.
45
49
</Tab>
46
50
<Tabtitle="API Key">
47
51
```sh
48
-
claude mcp add --transport http sourcebot https://sb.example.com/api/mcp\
52
+
claude mcp add --transport http sourcebot https://app.sourcebot.dev/api/mcp\
49
53
--header "Authorization: Bearer <key>"
50
54
```
51
55
52
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
56
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
53
57
</Tab>
54
58
</Tabs>
55
59
</Accordion>
@@ -70,21 +74,21 @@ You can read more about the options in the [authorization](#authorization) secti
70
74
"mcpServers": {
71
75
"sourcebot": {
72
76
"type": "http",
73
-
"url": "https://sb.example.com/api/mcp"
77
+
"url": "https://app.sourcebot.dev/api/mcp"
74
78
}
75
79
}
76
80
}
77
81
```
78
82
79
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. Cursor will automatically handle the OAuth 2.0 authorization flow the first time you connect.
83
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. Cursor will automatically handle the OAuth 2.0 authorization flow the first time you connect.
80
84
</Tab>
81
85
<Tabtitle="API Key">
82
86
```json
83
87
{
84
88
"mcpServers": {
85
89
"sourcebot": {
86
90
"type": "http",
87
-
"url": "https://sb.example.com/api/mcp",
91
+
"url": "https://app.sourcebot.dev/api/mcp",
88
92
"headers": {
89
93
"Authorization": "Bearer <key>"
90
94
}
@@ -93,7 +97,7 @@ You can read more about the options in the [authorization](#authorization) secti
93
97
}
94
98
```
95
99
96
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
100
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
97
101
</Tab>
98
102
</Tabs>
99
103
</Accordion>
@@ -112,21 +116,21 @@ You can read more about the options in the [authorization](#authorization) secti
112
116
"servers": {
113
117
"sourcebot": {
114
118
"type": "http",
115
-
"url": "https://sb.example.com/api/mcp"
119
+
"url": "https://app.sourcebot.dev/api/mcp"
116
120
}
117
121
}
118
122
}
119
123
```
120
124
121
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. VS Code will automatically handle the OAuth 2.0 authorization flow the first time you connect.
125
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. VS Code will automatically handle the OAuth 2.0 authorization flow the first time you connect.
122
126
</Tab>
123
127
<Tabtitle="API Key">
124
128
```json
125
129
{
126
130
"servers": {
127
131
"sourcebot": {
128
132
"type": "http",
129
-
"url": "https://sb.example.com/api/mcp",
133
+
"url": "https://app.sourcebot.dev/api/mcp",
130
134
"headers": {
131
135
"Authorization": "Bearer <key>"
132
136
}
@@ -135,7 +139,7 @@ You can read more about the options in the [authorization](#authorization) secti
135
139
}
136
140
```
137
141
138
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
142
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
139
143
</Tab>
140
144
</Tabs>
141
145
</Accordion>
@@ -151,10 +155,10 @@ You can read more about the options in the [authorization](#authorization) secti
151
155
152
156
```toml
153
157
[mcp_servers.sourcebot]
154
-
url = "https://sb.example.com/api/mcp"
158
+
url = "https://app.sourcebot.dev/api/mcp"
155
159
```
156
160
157
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. Then run the following to authenticate:
161
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. Then run the following to authenticate:
158
162
159
163
```sh
160
164
codex mcp login sourcebot
@@ -163,11 +167,11 @@ You can read more about the options in the [authorization](#authorization) secti
163
167
<Tabtitle="API Key">
164
168
```toml
165
169
[mcp_servers.sourcebot]
166
-
url = "https://sb.example.com/api/mcp"
170
+
url = "https://app.sourcebot.dev/api/mcp"
167
171
bearer_token_env_var = "SOURCEBOT_API_KEY"
168
172
```
169
173
170
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, then set your API key as an environment variable:
174
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, then set your API key as an environment variable:
171
175
172
176
```sh
173
177
export SOURCEBOT_API_KEY=<key>
@@ -193,13 +197,13 @@ You can read more about the options in the [authorization](#authorization) secti
193
197
"mcp": {
194
198
"sourcebot": {
195
199
"type": "remote",
196
-
"url": "https://sb.example.com/api/mcp"
200
+
"url": "https://app.sourcebot.dev/api/mcp"
197
201
}
198
202
}
199
203
}
200
204
```
201
205
202
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. OpenCode will automatically handle the OAuth 2.0 authorization flow the first time you connect. You can also manually trigger it with:
206
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. OpenCode will automatically handle the OAuth 2.0 authorization flow the first time you connect. You can also manually trigger it with:
203
207
204
208
```sh
205
209
opencode mcp auth sourcebot
@@ -212,7 +216,7 @@ You can read more about the options in the [authorization](#authorization) secti
212
216
"mcp": {
213
217
"sourcebot": {
214
218
"type": "remote",
215
-
"url": "https://sb.example.com/api/mcp",
219
+
"url": "https://app.sourcebot.dev/api/mcp",
216
220
"oauth": false,
217
221
"headers": {
218
222
"Authorization": "Bearer <key>"
@@ -222,7 +226,7 @@ You can read more about the options in the [authorization](#authorization) secti
222
226
}
223
227
```
224
228
225
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
229
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
226
230
</Tab>
227
231
</Tabs>
228
232
</Accordion>
@@ -242,20 +246,20 @@ You can read more about the options in the [authorization](#authorization) secti
242
246
{
243
247
"mcpServers": {
244
248
"sourcebot": {
245
-
"serverUrl": "https://sb.example.com/api/mcp"
249
+
"serverUrl": "https://app.sourcebot.dev/api/mcp"
246
250
}
247
251
}
248
252
}
249
253
```
250
254
251
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted. Windsurf will automatically handle the OAuth 2.0 authorization flow the first time you connect.
255
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted. Windsurf will automatically handle the OAuth 2.0 authorization flow the first time you connect.
252
256
</Tab>
253
257
<Tabtitle="API Key">
254
258
```json
255
259
{
256
260
"mcpServers": {
257
261
"sourcebot": {
258
-
"serverUrl": "https://sb.example.com/api/mcp",
262
+
"serverUrl": "https://app.sourcebot.dev/api/mcp",
259
263
"headers": {
260
264
"Authorization": "Bearer <key>"
261
265
}
@@ -264,7 +268,7 @@ You can read more about the options in the [authorization](#authorization) secti
264
268
}
265
269
```
266
270
267
-
Replace `https://sb.example.com` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
271
+
Replace `https://app.sourcebot.dev` with wherever your Sourcebot instance is hosted, and `<key>` with an API key generated in **Settings → API Keys**.
0 commit comments