Skip to content

Commit 71525d6

Browse files
authored
Apply suggestions from PCX review
1 parent 5b8c461 commit 71525d6

File tree

1 file changed

+52
-49
lines changed

1 file changed

+52
-49
lines changed

src/content/docs/cloudflare-one/insights/dex/dex-mcp-server.mdx

Lines changed: 52 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,52 +7,54 @@ sidebar:
77

88
The MCP server [(Model Context Protocol)](cloudflare.com/learning/ai/what-is-model-context-protocol-mcp/) for Digital Experience Monitoring (DEX) is an AI tool that allows customers to ask a question like, "Show me the connectivity and performance metrics for the device used by carly‌@acme.com", and receive an answer that contains data from the DEX API.
99

10-
Any Cloudflare One customer using a Free, PayGo, or ENT account can access the DEX MCP Server. This feature is available to everyone.
10+
Any Cloudflare One customer using a Free, PayGo, or Enterprise account can access the DEX MCP Server. This feature is available to everyone.
1111

1212
There are two primary options for connecting to the DEX MCP server.
1313

1414
## Cloudflare AI Playground
1515

16-
Customers can test the DEX MCP server in less than 1 minute by visiting the website for Cloudflare's AI Playground.
16+
Customers can test the DEX MCP server in less than one minute by visiting the website for Cloudflare's AI Playground.
1717

18-
1. Copy the URL for the DEX MCP server: `https://dex.mcp.cloudflare.com/sse`
18+
1. Copy the URL for the DEX MCP server: `https://dex.mcp.cloudflare.com/sse`.
1919
2. Open [playground.ai.cloudflare.com](https://playground.ai.cloudflare.com) in a browser.
20-
3. Find the section in the left side bar titled MCP Servers.
21-
4. Paste the URL for the DEX MCP server into the URL input box and click Connect.
20+
3. Find the section in the left sidebar titled **MCP Servers**.
21+
4. Paste the URL for the DEX MCP server into the URL input box and select **Connect**.
2222
5. Authenticate your Cloudflare account, and then start asking questions about your DEX data.
2323

2424
Today, Cloudflare's AI Playground is a great way to quickly try out a new MCP Server.
2525

26-
There is one important caveat. End users will need to ask specific and explicit questions to get a response. For example, you need to provide the instruction “Set XYZ as the active account". Then, you can ask a specific question: “Fetch the DEX test results for the user bob@‌acme.com over the past 24 hours”.
26+
:::note
27+
You need to ask specific and explicit questions to get a response. For example, first you need to provide the following instruction: "Set XYZ as the active account". Then, you can ask a specific question: "Fetch the DEX test results for the user bob@‌acme.com over the past 24 hours".
28+
:::
2729

2830
## AI Assistant
2931

30-
Customers will get a more flexible and robust prompt experience by configuring the DEX MCP server with their preferred AI assistant (Claude, Gemini, ChatGPT, etc.).
32+
Customers will get a more flexible and robust prompt experience by configuring the DEX MCP server with their preferred AI assistant (for example, Claude, Gemini, or ChatGPT).
3133

3234
If you get stuck during the configuration process, you can ask your AI assistant for help with configuring an MCP server via URL.
3335

3436
### Claude
3537

36-
You will need a Claude Pro account (or higher subscription) to configure an MCP server.
37-
38-
1. Download the [Claude desktop client](https://claude.ai/download)
39-
2. Open the Claude desktop client, and login or set up an account.
40-
3. Expand the left side bar menu, and select **Claude Code**.
41-
4. Within the Desktop App menu, select **Developer** and you'll see the **Local MCP servers** page.
42-
5. Click **Edit Config** and open claude_desktop_config.json in a text editor of your choice.
43-
6. Copy the JSON configuration for the DEX MCP server and paste it into **claude_desktop_config.json**. Save the file.
44-
45-
```bash
46-
{
47-
"globalShortcut": "",
48-
"mcpServers": {
49-
"cloudflare-dex-analysis": {
50-
"command": "npx",
51-
"args": ["mcp-remote", "https://dex.mcp.cloudflare.com/sse"]
52-
}
53-
}
54-
}
55-
```
38+
You need a Claude Pro account (or higher subscription) to configure an MCP server.
39+
40+
1. Download the [Claude desktop client](https://claude.ai/download).
41+
2. Open the Claude desktop client, and log in or set up an account.
42+
3. Expand the left sidebar menu, and select **Claude Code**.
43+
4. Under **Desktop app**, select **Developer** to show the **Local MCP servers** page.
44+
5. Select **Edit Config** and open the `claude_desktop_config.json` file in a text editor of your choice.
45+
6. Copy the JSON configuration for the DEX MCP server and paste it into `claude_desktop_config.json`. Save the file.
46+
47+
```json
48+
{
49+
"globalShortcut": "",
50+
"mcpServers": {
51+
"cloudflare-dex-analysis": {
52+
"command": "npx",
53+
"args": ["mcp-remote", "https://dex.mcp.cloudflare.com/sse"]
54+
}
55+
}
56+
}
57+
```
5658

5759
7. Fully close Claude by using the task manager to stop any background processes related to Claude.
5860
8. Open Claude, and your DEX MCP server configuration should appear on the **Local MCP servers** page.
@@ -66,42 +68,43 @@ All tiers of Google AI Free, Pro, and Ultra offer an MCP server integration via
6668
You will need to use a CLI of your choice and npm or homebrew to install and access the Gemini CLI.
6769

6870
1. Visit the GitHub page for the [Gemini CLI](https://github.com/google-gemini/gemini-cli) and follow the installation instructions.
69-
2. Navigate to the **settings.json** file for your Gemini CLI install and open it in a text editor of your choice.
71+
2. Navigate to the `settings.json` file for your Gemini CLI install and open it in a text editor of your choice.
7072

71-
File path for the settings.json file for different operating systems:
73+
File path for the `settings.json` file in different operating systems:
7274

73-
- Windows: %USERPROFILE%\.gemini\settings.json
74-
- Mac and Linux: ~/.gemini/settings.json
75+
- Windows: `%USERPROFILE%\.gemini\settings.json`
76+
- Mac and Linux: `~/.gemini/settings.json`
7577

7678
3. Copy the JSON configuration for the DEX MCP server and paste it into **settings.json**. Save the file.
7779

78-
```bash
79-
{
80-
"globalShortcut": "",
81-
"mcpServers": {
82-
"cloudflare-dex-analysis": {
83-
"command": "npx",
84-
"args": ["mcp-remote", "https://dex.mcp.cloudflare.com/sse"]
85-
}
86-
}
87-
}
88-
```
80+
```json
81+
{
82+
"globalShortcut": "",
83+
"mcpServers": {
84+
"cloudflare-dex-analysis": {
85+
"command": "npx",
86+
"args": ["mcp-remote", "https://dex.mcp.cloudflare.com/sse"]
87+
}
88+
}
89+
}
90+
```
8991

9092
4. Run Gemini in your CLI of choice.
91-
5. If everything is working as expected, you will see a message in the Gemini CLI that says "Using: 1 MCP server (ctrl+t to view)".
93+
5. If everything is working as expected, the Gemini CLI will show the following message:<br/>
94+
`Using: 1 MCP server (ctrl+t to view)`
9295
6. Authenticate the email associated with your Cloudflare account in the Gemini CLI.
9396
7. You can start asking the Gemini CLI questions about DEX. As a simple test, you can ask "Are you connected to the DEX MCP server".
9497

9598
### ChatGPT
9699

97-
You will need a ChatGPT Pro or Business account to configure an MCP server. ChatGPT Free and Plus do not support MCP servers.
100+
You need a ChatGPT Pro or Business account to configure an MCP server. ChatGPT Free and Plus do not support MCP servers.
98101

99102
1. Download the [ChatGPT desktop app](https://chatgpt.com/features/desktop).
100-
2. Open the ChatGPT desktop app, and login or set up an account.
103+
2. Open the ChatGPT desktop app, and log in or set up an account.
101104
3. Open the **Settings** menu and select **Connectors**.
102105
4. Select the option to create a new Connector.
103-
5. Provide a Name (like "DEX MCP"), Description (optional), and MCP Server URL for the Connector. The DEX MCP Server URL is: `https://dex.mcp.cloudflare.com/sse`
104-
6. Create the new Connector
105-
7. Before you ask ChatGPT a question about DEX, select the plus "+" button next to the ChatGPT prompt box.
106-
8. Select **Use Connectors**, then select **Add Sources** and select the DEX MCP as a source.
106+
5. Provide a **Name** (like `DEX MCP`), **Description** (optional), and **MCP Server URL** for the Connector. The DEX MCP Server URL is: `https://dex.mcp.cloudflare.com/sse`.
107+
6. Create the new Connector.
108+
7. Before you ask ChatGPT a question about DEX, select the **+** (plus) button next to the ChatGPT prompt box.
109+
8. Select **Use Connectors** > **Add Sources**, then select the DEX MCP as a source.
107110
9. You can start asking ChatGPT questions about DEX. As a simple test, you can ask "Are you connected to the DEX MCP server".

0 commit comments

Comments
 (0)