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: apps/radar/README.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,23 @@
1
-
# Model Context Protocol (MCP) Server + Cloudflare Radar
1
+
# Cloudflare Radar MCP Server 📡
2
2
3
-
This is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that supports remote MCP connections, with Cloudflare OAuth built-in.
3
+
This is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that supports remote MCP
4
+
connections, with Cloudflare OAuth built-in.
4
5
5
-
It features tools powered by the [Cloudflare Radar API](https://developers.cloudflare.com/radar/).
6
+
It integrates tools powered by the [Cloudflare Radar API](https://developers.cloudflare.com/radar/) to provide global
7
+
Internet traffic insights, trends and other utilities.
6
8
7
-
## Tools
9
+
## 🔨 Available Tools
8
10
9
11
Currently available tools:
10
12
11
-
-`list_autonomous_systems`: Lists autonomous systems (filterable by location and sortable by population size)
12
-
-`get_as_details`: Retrieves details of an autonomous system by ASN
13
-
-`get_ip_details`: Provides information about a specific IP address
14
-
-`get_traffic_anomalies`: Lists traffic anomalies (filterable by AS, location, start date, and end date)
15
-
-`scan_url`: Scan a URL using [URL Scanner](https://developers.cloudflare.com/radar/investigate/url-scanner/)
|**HTTP Requests**|`get_http_requests_data`| Fetches HTTP request data (timeseries, summaries, and grouped timeseries across dimensions like `deviceType`, `botClass`) |
16
+
|**Autonomous Systems**|`list_autonomous_systems`| Lists ASes; filter by location and sort by population size |
17
+
||`get_as_details`| Retrieves detailed info for a specific ASN |
18
+
|**IP Addresses**|`get_ip_details`| Provides details about a specific IP address |
19
+
|**Traffic Anomalies**|`get_traffic_anomalies`| Lists traffic anomalies; filter by AS, location, start date, and end date |
20
+
|**URL Scanner**|`scan_url`| Scans a URL via [Cloudflare’s URL Scanner](https://developers.cloudflare.com/radar/investigate/url-scanner/)|
16
21
17
22
This MCP server is still a work in progress, and we plan to add more tools in the future.
18
23
@@ -59,17 +64,17 @@ This will require you to create another OAuth App on Cloudflare:
59
64
60
65
1. Create a `.dev.vars` file in your project root with:
"Specifies the data format: 'summary' for aggregated results by dimension, 'timeseries' for a time-based view of HTTP requests, or 'timeseriesGroups' to group timeseries data by dimensions."
116
+
)
117
+
118
+
exportconstHttpDimensionParam=z
119
+
.enum([
120
+
'deviceType',
121
+
'httpProtocol',
122
+
'httpVersion',
123
+
'botClass',
124
+
'ipVersion',
125
+
'tlsVersion',
126
+
'os',
127
+
'postQuantum',
128
+
])
129
+
.optional()
130
+
.describe(
131
+
"Dimension used to group HTTP data. Allowed only when the format is 'summary' or 'timeseriesGroups'."
0 commit comments