File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -155,30 +155,6 @@ defer client.Close()
155
155
// use the client
156
156
```
157
157
158
- ### Connect to Hypermode Graph
159
-
160
- You can use either ` Open ` or ` NewClient ` to connect to a Hypermode Graph.
161
- Hypermode automatically handles load balancing in multi-node clusters.
162
-
163
- Using ` Open ` with a connection string:
164
-
165
- ``` go
166
- client , err := dgo.Open (" dgraph://<graph-workspace>.hypermode.host?sslmode=verify-ca&bearertoken=<bearer-token>" )
167
- // handle error
168
- defer client.Close ()
169
- ```
170
-
171
- Using ` NewClient ` :
172
-
173
- ``` go
174
- client , err := dgo.NewClient (" <graph-workspace>.hypermode.host:443" ,
175
- dgo.WithBearerToken (" <bearer-token>" ),
176
- dgo.WithSystemCertPool (),
177
- )
178
- // handle error
179
- defer client.Close ()
180
- ```
181
-
182
158
### Set schema
183
159
184
160
To set the schema, use the ` SetSchema ` function.
@@ -372,27 +348,8 @@ assistants:
372
348
To add the MCP server to your coding assistant, add the following to your
373
349
configuration file:
374
350
375
- When using Hypermode Graphs, the MCP configuration is available on the graph
376
- details screen in the console.
377
-
378
351
<CodeGroup >
379
352
380
- ``` json Hypermode
381
- {
382
- "mcpServers" : {
383
- "hypermode-graph" : {
384
- "command" : " npx" ,
385
- "args" : [
386
- " mcp-remote" ,
387
- " https://<graph-workspace>.hypermode.host/mcp/sse" ,
388
- " --header" ,
389
- " Authorization: Bearer <bearer-token>"
390
- ]
391
- }
392
- }
393
- }
394
- ```
395
-
396
353
``` json local
397
354
{
398
355
"mcpServers" : {
You can’t perform that action at this time.
0 commit comments