Skip to content

Commit 7500061

Browse files
authored
Merge pull request #98 from DHTMLX/next
Complete MCP server guide
2 parents a77b1b4 + 854be89 commit 7500061

1 file changed

Lines changed: 42 additions & 15 deletions

File tree

docs/guides/ai.md

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Below are examples for commonly used tools.
5454

5555
### Claude Code
5656

57+
:::info
58+
Learn how to connect Claude Code with MCP in the [official documentation](https://code.claude.com/docs/en/mcp).
59+
:::
60+
5761
The quickest way is to add the MCP server URL through the CLI:
5862

5963
~~~jsx
@@ -75,6 +79,10 @@ Or if you prefer manual configuration, add this to your `mcp.json`:
7579

7680
### Cursor
7781

82+
:::info
83+
For detailed instructions, see the [official documentation](https://cursor.com/en-US/docs/mcp).
84+
:::
85+
7886
Follow the steps below:
7987

8088
1. Open Settings (`Cmd+Shift+J` on Mac, `Ctrl+Shift+J` on Windows/Linux)
@@ -92,11 +100,19 @@ Follow the steps below:
92100
}
93101
~~~
94102

95-
Now you can ask things like "Implement row grouping with expandable sections in DHTMLX Grid" right in your chat.
96-
97103
### Gemini CLI
98104

99-
Find your config file at `~/.gemini/settings.json` and add:
105+
:::info
106+
The [official documentation](https://geminicli.com/docs/tools/mcp-server/) provides a complete guide to configuring and using MCP servers with the Gemini CLI.
107+
:::
108+
109+
To connect via the CLI, use:
110+
111+
~~~jsx
112+
gemini mcp add --transport http dhtmlx-mcp https://docs.dhtmlx.com/mcp
113+
~~~
114+
115+
Alternatively, you can find your config file at `~/.gemini/settings.json` and add:
100116

101117
~~~jsx
102118
{
@@ -112,42 +128,53 @@ Restart Gemini CLI after saving the file.
112128

113129
### Antigravity (Google)
114130

131+
:::info
132+
Learn more about connecting MCP servers in the [official documentation](https://antigravity.google/docs/mcp).
133+
:::
134+
115135
These are the steps to complete:
116136

117137
1. Open the command palette
118138
2. Type "mcp add"
119139
3. Select "HTTP"
120140
4. Provide the following values:
121-
- name:
122-
141+
- Name:
123142
~~~jsx
124143
dhtmlx-mcp
125144
~~~
126-
127145
- URL:
128-
129146
~~~jsx
130147
https://docs.dhtmlx.com/mcp
131148
~~~
132149

133150
### ChatGPT
134151

135-
To configure, follow the provided instructions:
152+
:::info
153+
For more information, consult the [official documentation](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).
154+
:::
155+
156+
Follow these steps:
136157

137158
1. Go to **Settings****Apps & Connectors**
138159
2. Click **Advanced settings**
139160
3. Enable **Developer mode**
140-
4. Return to the **Apps & Connectors** screen and click "Create".
161+
4. Return to the **Apps & Connectors** screen and click "Create"
141162
5. Configure the connector:
142-
- Name: `dhtmlx-mcp`
143-
- URL: `https://docs.dhtmlx.com/mcp`
144-
- Authentication: `No authentication`
163+
- Name:
164+
~~~jsx
165+
dhtmlx-mcp
166+
~~~
167+
- URL:
168+
~~~jsx
169+
https://docs.dhtmlx.com/mcp
170+
~~~
171+
- Authentication: `No authentication`
145172
6. Click **Create**
146173

147174
Once added, ChatGPT can retrieve documentation from the MCP server during conversations.
148175

149-
:::info
150-
Note that for intensive coding workflows, other MCP-aware tools may be more efficient.
176+
:::warning
177+
For intensive coding workflows, other MCP-aware tools may be more efficient.
151178
:::
152179

153180
### Other tools
@@ -188,7 +215,7 @@ I want to create a grid with the possibility to sort, resize and edit column cel
188215
I have a chart with the bar type, how can I also add a line chart above it?
189216
~~~
190217
~~~
191-
I want to create two grids with the possibility to drag item rows from one grid to another, but not vice versa."
218+
I want to create two grids with the possibility to drag item rows from one grid to another, but not vice versa.
192219
~~~
193220

194221
More specific prompts result in more relevant snippets and fewer follow-up questions.

0 commit comments

Comments
 (0)