Skip to content

Commit 3fe91d7

Browse files
authored
Update v25-preview.mdx (#202)
1 parent 6e0a4ab commit 3fe91d7

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

dgraph/v25-preview.mdx

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -155,30 +155,6 @@ defer client.Close()
155155
// use the client
156156
```
157157

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-
182158
### Set schema
183159

184160
To set the schema, use the `SetSchema` function.
@@ -372,27 +348,8 @@ assistants:
372348
To add the MCP server to your coding assistant, add the following to your
373349
configuration file:
374350

375-
When using Hypermode Graphs, the MCP configuration is available on the graph
376-
details screen in the console.
377-
378351
<CodeGroup>
379352

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-
396353
```json local
397354
{
398355
"mcpServers": {

0 commit comments

Comments
 (0)